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

Fix configuration of theme while locked #4826

Closed
Tracked by #4655
markmhendrickson opened this issue Jan 19, 2024 · 6 comments · Fixed by #4655
Closed
Tracked by #4655

Fix configuration of theme while locked #4826

markmhendrickson opened this issue Jan 19, 2024 · 6 comments · Fixed by #4655
Assignees
Labels
bug Functionality broken bug-p4 Non-critical functionality broken for few users, or there are clear workarounds

Comments

@markmhendrickson
Copy link
Collaborator

Screen.Recording.2024-01-18.at.16.15.53.mov
@markmhendrickson markmhendrickson added bug Functionality broken bug-p4 Non-critical functionality broken for few users, or there are clear workarounds area: wallet lock labels Jan 19, 2024
@markmhendrickson markmhendrickson added this to the Fix urgent bugs milestone Jan 19, 2024
@kyranjamie kyranjamie self-assigned this Feb 2, 2024
@pete-watters
Copy link
Contributor

This is the same issue as #4783 .

I can look into it if you want?

@pete-watters
Copy link
Contributor

@kyranjamie - what are your thoughts on making the Settings Menu dialogs not routable?

  • change theme
  • change network
  • sign out

I believe this will simplify things and help fix this bug and #4783.

We can fire an analytics page view inside of the dialogs.

The account selector is using an un-routed dialog now.

@kyranjamie
Copy link
Collaborator

Agree. Think we should do this, and remove the /* background routing code.

Think we should still route modals when we can, but not for global ones.

@pete-watters
Copy link
Contributor

OK. I can fix the settings ones now in #4370 which will solve this bug.

Then we can attempt to move the /* routing seperately

@pete-watters
Copy link
Contributor

pete-watters commented Feb 8, 2024

I'll just fix this as part of #4370.

It's very similar to #4783 and relates to problems with our routing from the settings menu.

I needed to rework the settings menu anyway to use the new DropDown component. It's not much more effort to implement #4313 , at least partially.

In the new design, I can make use of the radix dropdown sub-menu to replace the modals for Theme and Change network

Screenshot 2024-02-08 at 06 20 02

Then I will just have to implement a fix to the modal for Sign Out

@pete-watters
Copy link
Contributor

I added this new menu:

  • I used the existing menu items we already have
  • I need to add the new icons

Using the new radix dropdown and the submenus aren't working too well. I've decided that for now I will keep using modals for sub-menu items but not have them routable.

That way we can still fix this issue and #4783 but we don't need to also tackle issues with the submenu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality broken bug-p4 Non-critical functionality broken for few users, or there are clear workarounds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants