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

XIVY-14079 Fix theme without localstorage usage #74

Merged
merged 1 commit into from
May 8, 2024

Conversation

ivy-lli
Copy link
Member

@ivy-lli ivy-lli commented May 8, 2024

  • Add context unit tests
  • Disable readonly for table search field

storageKey = 'ivy-ui-theme',
storageKey,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the problem for https://1ivy.atlassian.net/browse/XIVY-14090
As soon as you once change the theme in the editor, the localstorage was filled with the 'ivy-ui-theme' property which holds the theme, after that the defaultTheme parameter is no longer respected (e.g. the in the eclipse integration -> theme URL parameter).

Now the localstorage is only used if this parameter is defined.

@ivy-lli ivy-lli requested a review from ivy-rew May 8, 2024 12:00
@ivy-lli ivy-lli force-pushed the theme-without-storage branch 3 times, most recently from f53e3e0 to fc0c739 Compare May 8, 2024 12:27
@ivy-lli ivy-lli changed the title Fix theme without localstorage usage XIVY-14079 Fix theme without localstorage usage May 8, 2024
- Add context unit tests
- Disable readonly for table search field
@ivy-lli ivy-lli merged commit 216aecd into master May 8, 2024
4 checks passed
@ivy-lli ivy-lli deleted the theme-without-storage branch May 8, 2024 13:00
ivy-lli added a commit that referenced this pull request May 8, 2024
 XIVY-14079 Fix theme without localstorage usage #74  > R11.3
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.

2 participants