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

Staking page update #679

Merged
merged 12 commits into from
Nov 8, 2021
Merged

Staking page update #679

merged 12 commits into from
Nov 8, 2021

Conversation

Sirmorrison
Copy link
Contributor

@Sirmorrison Sirmorrison commented Oct 27, 2021

fix #660
fix #674
Fix #648

  • This PR implements the new staking page mock up UI.
  • Redirects to ticket details page
  • group overview, wallet page (including its sub pages), transaction (transaction details) page into sub packages in order to implement the redirect to tx details page functionality.
    *** Further clean up of the overview, wallet, transaction packages will commence in subsequent PRs.
  • code clean up

@Sirmorrison Sirmorrison changed the title Staking page Staking page update Oct 27, 2021
@Sirmorrison Sirmorrison marked this pull request as ready for review November 3, 2021 19:29
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. Touching the backdrop should close the modal

Screenshot 2021-11-04 at 5 14 21 PM

  1. the got it text on the info dialogs should be by the right

Screenshot 2021-11-04 at 5 14 46 PM

  1. going to the all tickets page, switching wallets using the dropdown filter and then clicking on a ticket opens the ticket details page, but clicking the back arrow resets the filter to the default wallet on the dropdown, it should remain as the wallet you selected

Screenshot 2021-11-04 at 5 15 37 PM

  1. Ideally the only thing that should have changed to stake was the button label on the modal to stake tickets, and the reason for that was because the users were not really purchasing tickets, and it was agreed to used the word stake there

ui/page/staking/overview.go Outdated Show resolved Hide resolved
ui/page/staking/overview.go Show resolved Hide resolved
ui/page/staking/overview.go Show resolved Hide resolved
@Sirmorrison
Copy link
Contributor Author

going to the all tickets page, switching wallets using the dropdown filter and then clicking on a ticket opens the ticket details page, but clicking the back arrow resets the filter to the default wallet on the dropdown, it should remain as the wallet you selected

This is not related to this PR. Hence will be resolved from another 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.

There should be a recent activity card on the staking page
Screenshot 2021-11-08 at 6 56 33 PM

@Sirmorrison
Copy link
Contributor Author

There should be a recent activity card on the staking page Screenshot 2021-11-08 at 6 56 33 PM

This was removed during the initial page clean up as it was seen as being redundant by @C-ollins. As it is a direct replica of the view all ticket page.

- set stake button min width
- rename all instance of tickets to staking on overview page
- add No live stake label to live stake section
- hide see all btn when no live stake
- set see all btn size to mockup design
- add see all btn to stake record section
- hde see all btn when not stake record
- update staking modal to ui
- add ticket increment and decrement funtionality.
- comment out ticket review modal
- use clickableList for vsp selector modal
- minimize vsp modal on background click.
- fix wallet total account balance
- automatically set last selected vsp host on resume
- clean up code
- Add content alignment to info modal
- Add loader icon to ticket purchase modal
- Hide cancel button when loader icon is displayed.
- Remove password editor error when there is a change event.
- remove purchase overview modal file
- update list view to mockup ui
- clean up code
- group overview, transaction, wallet(subpages also) into package
- Minimise purchase modal when backdrop is clicked.
- Fix info modal button alignment.
@dreacot
Copy link
Collaborator

dreacot commented Nov 8, 2021

There should be a recent activity card on the staking page Screenshot 2021-11-08 at 6 56 33 PM

This was removed during the initial page clean up as it was seen as being redundant by @C-ollins. As it is a direct replica of the view all ticket page.

okay

@dreacot dreacot merged commit 90592b0 into planetdecred:master Nov 8, 2021
song50119 pushed a commit to song50119/godcr that referenced this pull request Apr 24, 2022
* rename tickets package to staking

* rename ticket icons
- set stake button min width
- rename all instance of tickets to staking on overview page
- add No live stake label to live stake section
- hide see all btn when no live stake
- set see all btn size to mockup design
- add see all btn to stake record section
- hde see all btn when not stake record

* implement spend from unmixed account

* Clean up modal layout
- update staking modal to ui
- add ticket increment and decrement funtionality.
- comment out ticket review modal

* fix vsp selector bug when new vsp is selected
- use clickableList for vsp selector modal
- minimize vsp modal on background click.
- fix wallet total account balance
- automatically set last selected vsp host on resume
- clean up code

* Add success notification modal
- Add content alignment to info modal
- Add loader icon to ticket purchase modal
- Hide cancel button when loader icon is displayed.
- Remove password editor error when there is a change event.
- remove purchase overview modal file

* use ticket list view on ticket overview page

* Add tooltips to ticket list view
- update list view to mockup ui
- clean up code

* Add staking redirect to tx details page functionality
- group overview, transaction, wallet(subpages also) into package

* fix lint

* remove commented code

* revert rename changes
- Minimise purchase modal when backdrop is clicked.
- Fix info modal button alignment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants