···2929import UI.Alfred.State as Alfred
3030import UI.Alien as Alien
3131import UI.Audio.State as Audio
3232-import UI.Authentication as Authentication
3333-import UI.Authentication.ContextMenu as Authentication
3432import UI.Authentication.State as Authentication
3533import UI.Backdrop as Backdrop
3634import UI.Common.State as Common
···235233 -- Authentication
236234 -----------------------------------------
237235 AuthenticationBootFailure a ->
238238- Authentication.authenticationBootFailure a
236236+ Authentication.bootFailure a
239237240238 MissingSecretKey a ->
241239 Authentication.missingSecretKey a
···397395 User.saveEnclosedUserData
398396399397 -----------------------------------------
400400- -- 🦉 Adjunct
398398+ -- ⚗️ Adjunct
401399 -----------------------------------------
402400 KeyboardMsg a ->
403401 Adjunct.keyboardInput a
···412410 Other.setIsOnline a
413411414412 -----------------------------------------
415415- -- Children (TODO)
413413+ -- 🦉 Nested
416414 -----------------------------------------
417417- AuthenticationMsg sub ->
418418- \model ->
419419- Return3.wieldNested
420420- Reply.translate
421421- { mapCmd = AuthenticationMsg
422422- , mapModel = \child -> { model | authentication = child }
423423- , update = Authentication.update
424424- }
425425- { model = model.authentication
426426- , msg = sub
427427- }
415415+ AuthenticationMsg a ->
416416+ Authentication.update a
428417418418+ -----------------------------------------
419419+ -- Children (TODO)
420420+ -----------------------------------------
429421 QueueMsg sub ->
430422 \model ->
431423 Return3.wieldNested
+1-1
src/Applications/UI/Adjunct.elm
···55import Return
66import Return.Ext as Return
77import UI.Alfred.State as Alfred
88-import UI.Authentication as Authentication
88+import UI.Authentication.Types as Authentication
99import UI.Interface.State exposing (hideOverlay)
1010import UI.Reply as Reply exposing (Reply)
1111import UI.Types as UI exposing (..)
+1-1
src/Applications/UI/Alien.elm
···44import Common exposing (Switch(..))
55import Json.Decode
66import Notifications
77-import UI.Authentication as Authentication
77+import UI.Authentication.Types as Authentication
88import UI.Sources as Sources
99import UI.Tracks as Tracks
1010import UI.Types exposing (..)
···77import Return
88import Return.Ext as Return
99import Time
1010-import UI.Authentication as Authentication
1010+import UI.Authentication.Types as Authentication
1111import UI.Common.State as Common
1212import UI.Ports as Ports
1313import UI.Sources.State as Sources
+1-1
src/Applications/UI/Reply/Translate.elm
···3030import Tracks
3131import Tracks.Encoding as Tracks
3232import UI.Audio.State as Audio
3333-import UI.Authentication as Authentication
3433import UI.Authentication.ContextMenu as Authentication
3434+import UI.Authentication.Types as Authentication
3535import UI.Backdrop as Backdrop
3636import UI.Common.State exposing (showNotification, showNotificationWithModel)
3737import UI.Demo as Demo
···2424import Tracks
2525import Tracks.Encoding as Tracks
2626import UI.Alfred.View as Alfred
2727-import UI.Authentication as Authentication
2727+import UI.Authentication.Common as Authentication
2828import UI.Authentication.ContextMenu as Authentication
2929+import UI.Authentication.Types as Authentication
3030+import UI.Authentication.View as Authentication
2931import UI.Backdrop as Backdrop
3032import UI.Console
3133import UI.ContextMenu
···137139 content opts (defaultScreen model)
138140139141 ( False, _ ) ->
140140- model.authentication
141141- |> Lazy.lazy Authentication.view
142142- |> Html.map AuthenticationMsg
143143- |> List.singleton
144144- |> content opts
142142+ content opts [ Authentication.view model ]
145143 ]
146144147145
+8
src/Library/Lens/Ext.elm
···11+module Lens.Ext exposing (..)
22+33+import Monocle.Lens as Lens exposing (Lens)
44+55+66+adjust : Lens a b -> a -> (b -> b) -> a
77+adjust lens a fn =
88+ Lens.modify lens fn a