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

[TB] New design system remembers previous visits #361

Closed
aaronreed708 opened this issue May 5, 2023 · 1 comment
Closed

[TB] New design system remembers previous visits #361

aaronreed708 opened this issue May 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working theme builder app Theme Builder application

Comments

@aaronreed708
Copy link
Contributor

Problem/Concern

If I've worked with a couple of different design systems like Sample and My Design and then create a new design system, it begins the experience at the last place I was with a previous design system rather than at the introduction for Atoms.

Proposed Solution

Create a new design system should always start the user at the beginning, especially since it is very likely that their previous visits were to pieces of the UI that will not be unavailable due to the design system not having a default color palette.

@aaronreed708 aaronreed708 added bug Something isn't working theme builder app Theme Builder application labels May 5, 2023
@aaronreed708 aaronreed708 added this to the FINOS GAAD Hackathon milestone May 5, 2023
@brycecurtis brycecurtis self-assigned this May 5, 2023
@brycecurtis
Copy link
Contributor

The solution was to create a Preferences component that is used to store to LocalStorage for each design system. When a design system is deleted, it's preference values are deleted from LocalStorage too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working theme builder app Theme Builder application
Projects
None yet
Development

No branches or pull requests

2 participants