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

Group pages and modals into packages #512

Merged
merged 14 commits into from
Jul 13, 2021

Conversation

oshorefueled
Copy link
Contributor

This PRs groups pages and modals into their own packages. It also adds a load package which would replace the common struct shared among pages, modals and a number of other godcr components.

@oshorefueled oshorefueled force-pushed the group_modals branch 3 times, most recently from f7cf6b6 to 96e215d Compare July 6, 2021 08:54
@oshorefueled oshorefueled marked this pull request as ready for review July 6, 2021 08:55
ui/create_restore_page.go Outdated Show resolved Hide resolved
ui/main_page.go Outdated Show resolved Hide resolved
ui/main_page.go Outdated Show resolved Hide resolved
ui/main_page.go Outdated Show resolved Hide resolved
ui/markdown.go Outdated Show resolved Hide resolved
ui/page/page.go Outdated Show resolved Hide resolved
ui/page/transactions_page.go Outdated Show resolved Hide resolved
ui/page/verify_message_page.go Outdated Show resolved Hide resolved
ui/send_page.go Outdated Show resolved Hide resolved
ui/window.go Outdated Show resolved Hide resolved
ui/page/verify_message_page.go Outdated Show resolved Hide resolved
ui/page/page.go Outdated Show resolved Hide resolved
ui/page/license_page.go Outdated Show resolved Hide resolved
ui/page/wallet_page.go Outdated Show resolved Hide resolved
ui/privacy_page.go Outdated Show resolved Hide resolved
ui/window.go Outdated Show resolved Hide resolved
* create modal and page packages and move modals and pages into
  them respectively.
* add a load package. Load replaces the common type and holds data
  that is shared among ui components in the ui package.
- add comments to the load package and utils file
- move help page to page package
- move sign message page to page package
- move receive page to page package
- move security tools, validate and verify message pages
- move settings page to page package
- move the more page to page package
- move overview and transaction pages to page package
- add transactions page to case for sending wallet notifications
- go fmt load.go
- move seed backup page to the page package
- replace parameters in window methods from interface type to Modal and Page types
- append PageID as a Suffix to page constants
- restore html code which were removed from modal template file during rebase
- remove unused structs
- rebase on master branch
- change wallet page ID constant to WalletPageID
@beansgum beansgum merged commit c31798a into planetdecred:master Jul 13, 2021
song50119 pushed a commit to song50119/godcr that referenced this pull request Apr 24, 2022
* move create password modal to modal package

* move modals to modal package

* add load package

* create modal and page packages and move modals and pages into
  them respectively.
* add a load package. Load replaces the common type and holds data
  that is shared among ui components in the ui package.

* cleanup errors on main page

* move pages from ui to page package

- add comments to the load package and utils file
- move help page to page package
- move sign message page to page package
- move receive page to page package
- move security tools, validate and verify message pages
- move settings page to page package
- move the more page to page package
- move overview and transaction pages to page package

* fix wrong call on theme in statistics page

- add transactions page to case for sending wallet notifications
- go fmt load.go

* resolve crash when internet connection is off

* resolve go lint issues

* move account details, restore wallet, wallet page to page package

- move seed backup page to the page package

* add interface file to the load package

- replace parameters in window methods from interface type to Modal and Page types

* delete unused modals in the ui package

* move license page to the page package

* uncomment code related to pages that have been moved

- append PageID as a Suffix to page constants
- restore html code which were removed from modal template file during rebase
- remove unused structs

* re-arrange package imports

- rebase on master branch
- change wallet page ID constant to WalletPageID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants