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

refactor: cleanup post context #6089

Merged
merged 1 commit into from
Apr 15, 2022
Merged

refactor: cleanup post context #6089

merged 1 commit into from
Apr 15, 2022

Conversation

Jack-Works
Copy link
Member

Description

Closes # (NO_ISSUE)

Type of change

  • Documentation
  • Code refactoring (Restructuring existing code w/o changing its observable behavior)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (a fix or feature that would make something no longer possible to do/require old user must upgrade their Mask Network to this new version)

Previews

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
    • I have removed all in development console.logs
    • I have removed all commented code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have read Internationalization Guide and moved text fields to the i18n JSON file.

If this PR depends on external APIs:

  • I have configured those APIs with CORS headers to let extension requests get passed.
    • chrome extension: chrome-extension://[id]
    • firefox extension: moz-extension://[id]
  • I have delegated all web requests to the background service via the internal RPC bridge.

@github-actions
Copy link
Contributor

@github-actions github-actions bot temporarily deployed to pull request April 15, 2022 08:17 Inactive
@Jack-Works Jack-Works merged commit b6d2bce into develop Apr 15, 2022
@Jack-Works Jack-Works deleted the cleanup-post-context branch April 15, 2022 08:22
yanzhihong23 added a commit that referenced this pull request Apr 18, 2022
* develop:
  refactor: move backup code to backup-format package (#5922)
  fix: incorrect text (#6096)
  chore: change iOS idb fix
  chore: improve code style (#6090)
  refactor: cleanup code and add deprecations
  refactor: cleanup code
  feat: add transaction dialog in saving plugin (#6076)
  refactor: cleanup code
  refactor: cleanup post context (#6089)
  feat: add ECKeyIdentifier.publicKeyAsHex close GH-6082 (#6085)
  refactor: avoid prop drilling (#6083)
  chore: setup i18n in background (#6086)
  chore: improve eslint (#6084)
  fix: sprint2 ui issues  (#6042)
  refactor: rename createSubscriptionFromValueRef
  chore: update plugin template
  fix: incorrect plugin name (#6077)
nuanyang233 pushed a commit that referenced this pull request Apr 18, 2022
guanbinrui added a commit that referenced this pull request Apr 20, 2022
* feat: upgrade mask wallet setting page

* feat: popup bottom navigator

* feat: new header for popup

* fix: adjust header for ssr

* fix: build error

* fix: prettier

* refactor: split smart and dumb component

* fix: bugfix

* fix: icon

* fix: bugfix

* fix: bugfix

* feat: new persona page

* fix: bugfix

* fix: bugfix

* fix: bugfix

* fix: network icon

* fix: bugfix

* fix: bugfix for header

* fix: build error

* feat: popup nextid (#6028)

* feat: compo steps init

* fix: ui

* fix: fix

* fix: kill unused code

* feat: slient sign

* fix: fix

* fix: fix

* feat: connect wallet page

* fix: typo

* fix: typo

* fix: comment

* refactor: temp

* refactor: refact steps compo

* fix: fix

Co-authored-by: nuanyang233 <nuanyang233@gmail.com>

* feat: connect wallet with persona

* feat: connect popup wallet (#6081)

* feat: impl the connect page

* refactor: replace mm logo

* fix: bugfix

* fix: bugfix

* fix: reply to commnts

* fix: typo

* fix: typo again

* chore: improve eslint (#6084)

* chore: improve eslint

* revert: file

* fix: eslintrc

* chore: setup i18n in background (#6086)

* fix: revert remove i18n key

* fix: remove wallet sign

* fix: temp

* feat: popup connect wallet (#6088)

* fix: personalSign

* refactor: replace NetworkType with ChainId

* fix: popup connect wallet

* fix: bugfix

* feat: popup custom snackbar

* fix: eslint

* fix: fix

* fix: delete unused code

* fix: ui

* refactor: move verify wallet to persona

* fix: navigate replace

* fix: ui issues

* fix: refresh proofs when bound

* chore: ui style

* fix: persona max length

* fix: persona max length

* chore: reply review

* fix: i18n init twice in wrong context

* feat: add loading at connected wallets page

* fix: reply to coments

* fix: locales

* fix: disable open new window when sign on popup

* fix: pos

* fix: replace

* fix: steps btn loading

* fix: navigate back when wallet sign success

* refactor: replace useState to useAsyncFn

* fix: adjust connect wallet step

* fix: err state

* fix: go back when wallet signed

* fix: bugfix

* fix:  wallet name

* feat: add ECKeyIdentifier.publicKeyAsHex close GH-6082 (#6085)

* refactor: cleanup post context (#6089)

* refactor: cleanup code

* feat: add transaction dialog in saving plugin (#6076)

* feat: add transaction dialog in saving plugin

* fix: bugfix

* fix: reset state when transaction has been confirmed

* refactor: cleanup code

* refactor: cleanup code and add deprecations

* chore: improve code style (#6090)

* chore: change iOS idb fix

* fix: incorrect text (#6096)

* refactor: move backup code to backup-format package (#5922)

* refactor: move backup code to backup-format package

* wip

* feat: impl generate backup

* refactor: rename file

* store

* refactor: impl addUnconfirmedBackup

* refactor: impl getUnconfirmedBackup

* refactor: impl restoreUnconfirmedBackup

* refactor: impl all wrapper

* refactor: impl post restore

* refactor: impl wallet and plugin restore

* refactor: move unused file

* chore: misc

* chore: misc

* chore: misc

* fix: bugs

* fix: type error

* chore: remove one alias

* chore: remove unused string

* fix: lockfile

* fix: type error

* fix: two bugs

* fix: lucky drop schema (#6093)

* chore: lucky drop schema

* chore: lucky drop schema

* chore: reply code review

* fix: incorrect contracts query on dashboard (#6095)

* refactor: move some functions

* refactor: move detachProfileWithNextID

* refactor: move queryPersonaByPrivateKey

* refactor: move resolveUnknownLegacyIdentity

* refactor: move relation methods

* refactor: move attach/detach profile

* refactor: move mobile_restoreFromMnemonicWords

* refactor: move downloadBackup

* refactor: move createPersonaByMnemonic

* refactor: move openDashboard

* refactor: rename WelcomeService to BackupService

* fix: bugfix

* chore: reply review

* fix: reply

* chore: improve network icon at select wallet page

* fix: sign request with verify wallet

* fix: bugfix

* fix: bugfix

* fix: code review (#6105)

* fix: hash router

* fix: select wallet

* fix: sign with non-default wallet

* chore: i18n

* fix: lint error

Co-authored-by: BillyS <Billy@mask.io>
Co-authored-by: guanbinrui <52657989+guanbinrui@users.noreply.github.com>
Co-authored-by: septs <github@septs.pw>
Co-authored-by: Jack Works <jackworks@protonmail.com>
Co-authored-by: Hancheng Zhou <z308114274@gmail.com>
Co-authored-by: guanbinrui <guanbinrui@dimension.im>
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.

1 participant