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

Add account switcher to system tray context menu #1659

Open
wants to merge 6 commits into
base: canary
Choose a base branch
from

Conversation

0xqiba
Copy link

@0xqiba 0xqiba commented Sep 8, 2023

This change adds an Accounts submenu to the system tray menu for switching between accounts without having to bring up the main Frame window. It also now shows the keyboard shortcut, if enabled, next to the Summon/Dismiss menu item.

As part of this change, I removed some multiple display handling code (switchScreen in systemTray.ts). In my testing, it didn't seem to have any effect, but please let me know if I'm mistaken.

Happy to iterate on any feedback you may have. Thanks!

mholtzman and others added 6 commits August 31, 2023 13:11
* start migrating types to use zod for parsing and defaults

* finish basic state loading, add some tests

* use current base state when state is corrupted

* fix tests

* fix gas for tests

* update legacy migrations to be more resilient

* add test migration files

* update migration 38

* update tests

* continue updating schemas

* add dapp schema

* add more types

* initial working version

* fix some tests

* finish tokens schema

* finish updating migrations

* add settings for panel and selected

* update most of state not to persist

* allow chain metadata with no native currency rate data

* update types to support migration from v0.4.4

* fix typo

* add last migration test

* fix test

* dont persist signers

* update test

* fix test

* final changes

* update version

* remove no check and add any to legacy migrations

* skip test

* cleanup
* allow context menu to update itself using injected properties
* update account list when accounts change
* remove old code referencing main.shortcuts.altSlash
@floating
Copy link
Owner

Thanks @0xqiba will give this a look!

@mholtzman mholtzman force-pushed the canary branch 2 times, most recently from e042db7 to 066b9a9 Compare March 12, 2024 16:28
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.

None yet

3 participants