Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi: v2 staking design #1016

Merged
merged 10 commits into from
Jul 30, 2022
Merged

Conversation

Sirmorrison
Copy link
Contributor

@Sirmorrison Sirmorrison commented Jul 18, 2022

Resolves #981
Fix #1014
Fix #976
Fix #1005
Fix #1022
Fix #978

  • Fix wallet selector page display when app loads for the first time.
  • Fix backup modal notification display for wallet that don't have their seed phrase backed up.
  • Update the staking layout to the v2 layout design
  • Update stake shuffle and staking page to single wallet selector approach (needed to test the account selector)
  • Fix crash when staking page button is clicked twice
  • Fix ticket list refresh bug
  • Fix app crash when the settings button is clicked when a watch only wallet is selected.

image

image

@Sirmorrison Sirmorrison changed the title add v2 staking alance layout Multi: add v2 staking alance layout Jul 20, 2022
@Sirmorrison Sirmorrison changed the title Multi: add v2 staking alance layout Multi: v2 staking design Jul 20, 2022
@Sirmorrison Sirmorrison marked this pull request as ready for review July 25, 2022 06:04
@dreacot
Copy link
Collaborator

dreacot commented Jul 26, 2022

Description needs to be updated, because from what i'm seeing it looks like the work is incomplete, and that might have been intentional as follow up PRs are planned, but i'm not sure, can the description state the overall expectation of this PR(including what's purposely left out) and it we are expecting follow up PRs on this

@Sirmorrison
Copy link
Contributor Author

Description needs to be updated, because from what i'm seeing it looks like the work is incomplete, and that might have been intentional as follow up PRs are planned, but i'm not sure, can the description state the overall expectation of this PR(including what's purposely left out) and it we are expecting follow up PRs on this

The PR resolves everything mentioned above. The next PR is the tx details page, and that does not really have anything to do with this PR.

Copy link
Collaborator

@dreacot dreacot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Navigating to the staking page cause a overall lag of the app for a couple of seconds.

Screenshot from 2022-07-26 16-19-05

  1. All tickets are showing at once which isn't efficient and most likely the cause of the lag. the list should be paginated.

  2. clicking on the settings icon on the staking page causes a crash

  3. The statistic dialog is no same as that of the desing
    Screenshot from 2022-07-26 16-24-31
    Screenshot from 2022-07-26 16-25-28

Screenshot from 2022-07-26 16-26-54
5. there should be more right margin after the settings icon, and stake should be in bold

Screenshot from 2022-07-26 16-28-58
6. This section should be titledTickets and the icons don't seem to be on par with the provided figma design

  1. the hover on tickets doesn't have a proper padding
    Screenshot from 2022-07-26 16-30-25
    Screenshot from 2022-07-26 16-30-17

  2. The staking details page doesn't yet seem to be on par with the figma design

@Sirmorrison
Copy link
Contributor Author

2. All tickets are showing at once which isn't efficient and most likely the cause of the lag. the list should be paginated.

  • clicking on the settings icon on the staking page causes a crash attach log please
  • All tickets are showing at once which isn't efficient and most likely the cause of the lag. the list should be paginated. for this, we will need to open a new PR
    probably fix with the tx page. Fix UI lag on transactions page #939
  • The statistic dialog is no same as that of the desing there is a default godcr modal design which was used. Having to implement this design means changing the godcr modal design which wont be uniform. Was to bring it up on the design group.. Skipped my mind.
  • The staking details page doesn't yet seem to be on par with the figma design this is coming in a different PR as the design is a tx details design overhaul.

@dreacot
Copy link
Collaborator

dreacot commented Jul 26, 2022

clicking on the settings icon on the staking page causes a crash attach log please

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x120a09b]

goroutine 14 [running]:
github.com/planetdecred/godcr/ui/page/components.(*AccountSelector).Layout.func2({{{0x0, 0x0}, {0x114, 0xf41fc}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/components/account_selector.go:181 +0x3b
gioui.org/layout.Flex.Layout({0xfa, 0x3d, 0x0, 0x0}, {{{0x0, 0x0}, {0x134, 0xf41fc}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1({{{0x0, 0x0}, {0x134, 0xf41fc}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:89 +0x85
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x134, 0xf41fc}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1({{{0x134, 0x0}, {0x134, 0xf41fc}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:88 +0xe5
gioui.org/layout.Inset.Layout({0x1bd0120, 0x0, 0x0, 0x80000000}, {{{0x134, 0x0}, {0x134, 0xf41fc}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1({{{0x14c, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:86 +0x109
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout({{0xe6, 0xea, 0xed, 0xff}, {0x8, 0x8, 0x8, 0x8}, 0x40000000}, {{{0x14c, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x98
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2({{{0x14c, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0x1d6
gioui.org/layout.Stack.Layout({0xff}, {{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:47 +0x2aa
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:108 +0x238
gioui.org/layout.Inset.Layout({0x417c8a, 0x0, 0x41a154, 0x0}, {{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout({0xfffffffffffffffe, 0xffffffffffffffff, 0x0, {0x0, 0x0, 0x0, 0x0}, 0x0, {{0xe6, 0xea, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0xe5
github.com/planetdecred/godcr/ui/page/components.(*AccountSelector).Layout(0xc003526f00, {0x1dcc100, 0xc00043d3b0}, {{{0x14c, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/components/account_selector.go:170 +0x4a5
github.com/planetdecred/godcr/ui/page/staking.(*ticketBuyerModal).Layout.func2.1.1({{{0x14c, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/staking/stake_modal.go:126 +0x87
gioui.org/layout.Inset.Layout({0x5d0c, 0x0, 0x2899440, 0xc0}, {{{0x14c, 0x0}, {0x14c, 0xf4214}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/staking.(*ticketBuyerModal).Layout.func2.1({{{0x14c, 0x0}, {0x14c, 0xf422c}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/staking/stake_modal.go:125 +0xaf
gioui.org/layout.Flex.Layout({0x0, 0x0, 0x0, 0x0}, {{{0x14c, 0x0}, {0x14c, 0xf422c}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/staking.(*ticketBuyerModal).Layout.func2({{{0x14c, 0x0}, {0x14c, 0xf422c}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/staking/stake_modal.go:120 +0x255
gioui.org/layout.Inset.Layout({0x3df6, 0x0, 0x3df5, 0x0}, {{{0x14c, 0x0}, {0x14c, 0xf422c}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.(*Modal).Layout.func2.1.2.2({{{0x14c, 0x0}, {0x14c, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/modal.go:167 +0x85
gioui.org/layout.(*List).Layout(0xc0061bd800, {{{0x14c, 0x0}, {0x14c, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/list.go:117 +0x17c
github.com/planetdecred/godcr/ui/decredmaterial.(*Modal).Layout.func2.1.2({{{0x14c, 0x0}, {0x14c, 0x196}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/modal.go:166 +0x2bd
gioui.org/layout.Flex.Layout({0xf2, 0x3d, 0x0, 0x0}, {{{0x0, 0x0}, {0x14c, 0x1c4}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1({{{0x0, 0x0}, {0x14c, 0x1c4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:89 +0x85
gioui.org/layout.Direction.Layout(0x8, {{{0x0, 0x0}, {0x14c, 0x1c4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1({{{0x0, 0x0}, {0x14c, 0x1c4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:88 +0xe5
gioui.org/layout.Inset.Layout({0x0, 0x0, 0x0, 0x0}, {{{0x0, 0x0}, {0x14c, 0x1c4}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1({{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:86 +0x109
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout({{0x0, 0x0, 0x0, 0x0}, {0xe, 0xe, 0xe, 0xe}, 0x0}, {{{0x0, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x98
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2({{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0x1d6
gioui.org/layout.Stack.Layout({0x40}, {{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:47 +0x2aa
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:108 +0x238
gioui.org/layout.Inset.Layout({0x3fb47b13, 0xa, 0x2ed12a0, 0x0}, {{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x8, {{{0x0, 0x0}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout({0xffffffffffffffff, 0xffffffffffffffff, 0x1, {0xff, 0xff, 0xff, 0xff}, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0xe5
github.com/planetdecred/godcr/ui/decredmaterial.(*Modal).Layout.func2.1({{{0x0, 0x1f4}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/modal.go:130 +0x3ac
gioui.org/layout.Inset.Layout({0xf51688, 0x0, 0xfffffffe, 0xffffffff}, {{{0x0, 0x1f4}, {0x17c, 0x1f4}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.(*Modal).Layout.func2({{{0x0, 0x258}, {0x17c, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/modal.go:118 +0x2f4
gioui.org/layout.Stack.Layout({0x75}, {{{0x0, 0x0}, {0x320, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.(*Modal).Layout(0xc0072f8fa0, {{{0x0, 0x0}, {0x320, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/decredmaterial/modal.go:91 +0x2ad
github.com/planetdecred/godcr/ui/page/staking.(*ticketBuyerModal).Layout(0xc005225700, {{{0x0, 0x0}, {0x320, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/page/staking/stake_modal.go:158 +0x185
github.com/planetdecred/godcr/ui.(*Window).prepareToDisplayUI.func3({{{0x0, 0x0}, {0x320, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, 0xa3fb47b13, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/window.go:234 +0x58
gioui.org/layout.Stack.Layout({0x40}, {{{0x320, 0x258}, {0x320, 0x258}}, {0x3f800000, 0x3f800000}, {0x1d7bbe0, 0xc00001f8e8}, {0xc0b020fccc6fe14c, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/[email protected]/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui.(*Window).prepareToDisplayUI(0xc0000f5d60, {{0xc0b020fccc6fe14c, 0xa3fb47b13, 0x2ed12a0}, {0x3f800000, 0x3f800000}, {0x320, 0x258}, {0x0, 0x0, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/window.go:241 +0x42d
github.com/planetdecred/godcr/ui.(*Window).handleFrameEvent(0xc0000f5d60, {{0xc0b020fccc6fe14c, 0xa3fb47b13, 0x2ed12a0}, {0x3f800000, 0x3f800000}, {0x320, 0x258}, {0x0, 0x0, ...}, ...})
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/window.go:182 +0x227
github.com/planetdecred/godcr/ui.(*Window).HandleEvents(0xc0000f5d60)
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/ui/window.go:148 +0x156
main.main.func2()
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/main.go:80 +0x26
created by main.main
        /home/kennedy/Projects/src/github.com/planetdecred/godcr/main.go:79 +0x4d2
exit status 2

@Sirmorrison Sirmorrison force-pushed the staking_v2 branch 2 times, most recently from 98fded7 to 0ef219e Compare July 27, 2022 17:35
Copy link
Collaborator

@dreacot dreacot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clicking the settings icon isn't working, is that intentional?

@Sirmorrison
Copy link
Contributor Author

clicking the settings icon isn't working, is that intentional?

if you are using a watch only wallet, yes it wont work as its watch only. but other wallets works.

- clean up redundant files and lines of code
Update stake shuffle to use single wallet selector approach
Fix setting button margin bug
Fix app crash when settings button is clicked due to watch only wallet selection
Fix ticket list hover alignment bug
Add title to ticket list section
general code clean up
@dreacot
Copy link
Collaborator

dreacot commented Jul 28, 2022

clicking the settings icon isn't working, is that intentional?

if you are using a watch only wallet, yes it wont work as its watch only. but other wallets works.

alright, there's nothing indicating that, maybe we should use a toast?

@JustinBeBoy
Copy link
Contributor

clicking the settings icon isn't working, is that intentional?

if you are using a watch only wallet, yes it wont work as its watch only. but other wallets works.

alright, there's nothing indicating that, maybe we should use a toast?

or shouldn't show it

Copy link
Contributor

@JustinBeBoy JustinBeBoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. After confirm automatic Ticket Purchase the switcher not turn on then turn off without notice for user the reason.

  2. Should uppercase the first character
    image

@JustinBeBoy
Copy link
Contributor

We don't use description of ticket like mockup ?

image

@Sirmorrison
Copy link
Contributor Author

Sirmorrison commented Jul 28, 2022

We don't use description of ticket like mockup ?

image

I dont understand this comment please.

Can you share a screenshot of the UI that did not align?

- Fix default app container size as it wax too small on full screen.
- Adjust pading and localize and fix string variables typo
@dreacot
Copy link
Collaborator

dreacot commented Jul 29, 2022

LGTM @JustinBeBoy are you still having concerns?

@Sirmorrison Sirmorrison dismissed dreacot’s stale review July 30, 2022 07:43

already approved by @dreacot

@Sirmorrison Sirmorrison merged commit b45dca8 into planetdecred:master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants