Add base addressbook to GUI #102
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Vergara_Tech/zenith#102
Loading…
Reference in a new issue
No description provided.
Delete branch "rvv041"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The docker image needs to be removed from this branch before merging.
@ -185,6 +190,8 @@ buildUI wenv model = widgetTree
, txIdOverlay `nodeVisible` isJust (model ^. showId)
, msgOverlay `nodeVisible` isJust (model ^. msg)
, modalOverlay `nodeVisible` isJust (model ^. modalMsg)
, adrbookOverlay `nodeVisible` model ^. showAdrBook
Any new windows should be lower priority than
msgOverlay
, so the message window displays above. Also, the wallet sync notification usesmodalOverlay
and needs to be the top widget to make sure that no activities are performed during sync.@ -753,0 +778,4 @@
]
]
notImplemented = NotImplemented
This is unnecessary, the event can be used directly
@ -1062,1 +1091,4 @@
ShowTxId tx -> [Model $ model & showId ?~ tx & modalMsg .~ Nothing]
ShowAdrBook -> [Model $ model & showAdrBook .~ True & menuPopup .~ False]
CloseAdrBook -> [Model $ model & showAdrBook .~ False]
NotImplemented -> [Model $ model & msg ?~ "Function not implemented..." & menuPopup .~ False & modalMsg .~ Nothing]
Using
model & msg ?~ ...
uses themsgOverlay
dialog box that is lower in thewidgetTree
priority.@ -1329,3 +1360,1 @@
if not (null accList)
then Just (head accList)
else Nothing)
(SaveAddress (if not (null accList)
Too many parenthesis, use
$
instead.@ -1359,3 +1392,3 @@
[]
0
(Just $
(Just (
Too many parenthesis, use
$
instead.@ -93,0 +95,4 @@
getZenithPath :: IO String
getZenithPath = do
d <- getHomeDirectory
let homeDirectory = d
This line is redundant, use
homeDirectory <- getHomeDirectory
directly.@ -1343,3 +1436,3 @@
False
Nothing
hD
""
@reneve Your new fields in the state should be after the
hD
variable, not before