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

feat: support switch plugin on or off #3667

Merged
merged 5 commits into from
Jul 20, 2021
Merged

Conversation

Jack-Works
Copy link
Member

  • refactor: move database tasks to background tasks

I picked this commit in because it fixes a circular module graph in the dev mode.

There are some edge cases in this PR. If I append a red packet to the post, then I close the RedPacket plugin, the metadata still in the post but it will not be rendered (like it is gone). This is confusing but I think it is an acceptable edge case.

I mark the Wallet plugin as alwaysOn therefore it cannot be closed on the management page.

Another problem is, should we mark the ExternalPlugin plugin as internal? (an internal plugin will not be displayed on the management page)

@Jack-Works Jack-Works requested a review from a team July 14, 2021 04:12
guanbinrui
guanbinrui previously approved these changes Jul 14, 2021
…eCleanup/CleanProfileAndAvatar.ts

Co-authored-by: guanbinrui <52657989+guanbinrui@users.noreply.github.com>
guanbinrui
guanbinrui previously approved these changes Jul 14, 2021
yanzhihong23
yanzhihong23 previously approved these changes Jul 19, 2021
@nuanyang233
Copy link
Collaborator

Plz resolve conflicts

@Jack-Works Jack-Works requested a review from guanbinrui July 20, 2021 05:51
@Jack-Works Jack-Works merged commit 8a1b810 into develop Jul 20, 2021
@Jack-Works Jack-Works deleted the feat/plugin-switch branch July 20, 2021 06:39
yanzhihong23 added a commit that referenced this pull request Jul 21, 2021
* develop: (97 commits)
  fix: unable to switch to network (#3716)
  fix: can't access property "querySelector", parentEle is null (#3714)
  feat: support switch plugin on or off (#3667)
  docs: add how to reg plugin (#3715)
  chore: remove `patch-package` blob file (#3707)
  chore: update rpc for matic (#3695)
  chore: remove unused code (#3704)
  fix: some token not present in the tx history list
  fix: not show token list in swap (#3697)
  fix: force react not to react dom node
  fix: deselect token if keyword changed
  chore: remove unused code
  chore: bump version to 1.34.1
  fix: show token icon in transaction list and show balance in token list (#3684)
  fix: list all assets
  fix: currency symbol
  fix: no sent transactions
  fix: peopleList performance problem (#3642)
  fix: claim status (#3694)
  fix(Wallet): do not open the WalletStatusDialog after switching network (#3681)
  ...
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.

[Demand] Switch plugins on and off
4 participants