diff options
author | stuebinm | 2024-10-29 01:43:01 +0100 |
---|---|---|
committer | stuebinm | 2024-10-29 01:43:01 +0100 |
commit | 31135ab11ba1133f723200003bf21d47f5a4d03e (patch) | |
tree | 59e203c2c0d0a2d7cdf3250fdbffee462f18b6e4 /server/HtmlOrphans.hs | |
parent | 768db4942bf40d0ca14a45f94ff406154dda5b03 (diff) |
universum's microlens exports are deprecated
unfortunately, there seems to be no better way than hiding them
manually, so this code will still break once they remove them.
Diffstat (limited to 'server/HtmlOrphans.hs')
-rw-r--r-- | server/HtmlOrphans.hs | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/server/HtmlOrphans.hs b/server/HtmlOrphans.hs index a8a355c..783c7c6 100644 --- a/server/HtmlOrphans.hs +++ b/server/HtmlOrphans.hs @@ -12,27 +12,29 @@ -- linter results as html module HtmlOrphans () where -import Universum - -import CheckDir (DirResult (..), MissingAsset (MissingAsset), - MissingDep (..), maximumLintLevel) -import CheckMap (MapResult (..)) -import Data.List.Extra (escapeJSON) -import qualified Data.Map as M -import qualified Data.Text as T -import Handlers (AdminOverview (..)) -import Lucid (HtmlT, ToHtml) -import Lucid.Base (ToHtml (toHtml)) -import Lucid.Html5 (a_, body_, button_, class_, code_, disabled_, - div_, em_, h1_, h2_, h3_, h4_, head_, href_, - html_, id_, li_, link_, main_, onclick_, p_, - rel_, script_, span_, src_, title_, type_, - ul_) -import Server (JobStatus (..), - Org (Org, orgBacklinkPrefix, orgContactMail, orgHowtoLink, orgSlug), - RemoteRef (RemoteRef, reponame, reporef, repourl), - prettySha, unState) -import Types (Hint (Hint), Level (..)) +import Universum hiding (view) + +import CheckDir (DirResult (..), + MissingAsset (MissingAsset), + MissingDep (..), maximumLintLevel) +import CheckMap (MapResult (..)) +import Data.List.Extra (escapeJSON) +import qualified Data.Map as M +import qualified Data.Text as T +import Handlers (AdminOverview (..)) +import Lens.Micro.Platform (view) +import Lucid (HtmlT, ToHtml) +import Lucid.Base (ToHtml (toHtml)) +import Lucid.Html5 (a_, body_, button_, class_, code_, + disabled_, div_, em_, h1_, h2_, h3_, h4_, + head_, href_, html_, id_, li_, link_, + main_, onclick_, p_, rel_, script_, span_, + src_, title_, type_, ul_) +import Server (JobStatus (..), + Org (Org, orgBacklinkPrefix, orgContactMail, orgHowtoLink, orgSlug), + RemoteRef (RemoteRef, reponame, reporef, repourl), + prettySha, unState) +import Types (Hint (Hint), Level (..)) import Fmt |