Visitar URL original
DevTools | Settings options storage · Issue #46019 · angular/angular · GitHub
The Wayback Machine - https://web.archive.org/web/20220712012120/https://github.com/angular/angular/issues/46019
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

DevTools | Settings options storage #46019

Open
WarGreyGon opened this issue May 17, 2022 · 4 comments
Open

DevTools | Settings options storage #46019

WarGreyGon opened this issue May 17, 2022 · 4 comments
Labels
comp: devtools feature votes required
Milestone

Comments

@WarGreyGon
Copy link

@WarGreyGon WarGreyGon commented May 17, 2022 •

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

Currently, Google Chrome´s Angular DevTools settings are not saved anywhere loosing selections each time the browser reloads, e.g.

Dark mode enabled

image

Browser refresh (e.g. each time you make a change in your lovely Angular application)

image

Dark mode is disabled again

Proposed solution

Store user preferences in user device storage like other Google Chrome extensions (such as Redux DevTools) in C:\Users{user}\AppData\Local\Google\Chrome\User Data\Default\Extensions

Alternatives considered

NA

@ngbot ngbot bot added this to the needsTriage milestone May 17, 2022
@AleksanderBodurri AleksanderBodurri added the feature label May 18, 2022
@ngbot ngbot bot removed this from the needsTriage milestone May 18, 2022
@ngbot ngbot bot added this to the Backlog milestone May 18, 2022
@AleksanderBodurri
Copy link
Member

@AleksanderBodurri AleksanderBodurri commented May 18, 2022 •

@WarGreyGon Angular DevTools is currently using prefers-color-scheme to programmatically toggle between light mode and dark mode. It's surprising to me that the styles would be reset to light mode (Chrome DevTools looks like its in dark mode in the second picture). Is Angular DevTools not respecting the color scheme configured in your OS or user agent?

In any case, the feature requested here is different than the current behaviour so we can label this as a feature request for the community to vote on 😄

@WarGreyGon
Copy link
Author

@WarGreyGon WarGreyGon commented May 18, 2022

@AleksanderBodurri I must qualify my issue description. I am facing this issue in Ghost Browser.

As you mentioned, Google Chrome browser behavior is exactly as you described, where theme is set based on my OS preferences. However this value (In my case Dark Theme as my OS) cannot be overwritten, e.g.

  • Open Angular DevTools
  • Dark Theme is set by defaul
  • Switch to Light theme and refresh browser
  • Dark theme is back

Could my proposal solve my issue in both browsers? 🤔

@angular-robot
Copy link

@angular-robot angular-robot bot commented May 18, 2022

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

@angular-robot
Copy link

@angular-robot angular-robot bot commented Jun 27, 2022

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: devtools feature votes required
Projects
None yet
Development

No branches or pull requests

3 participants