-
Notifications
You must be signed in to change notification settings - Fork 78
feat(FR-1580): Implement custom theme preview mode feature #4653
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
feat(FR-1580): Implement custom theme preview mode feature #4653
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔴 | Statements | 4.43% | 517/11670 |
| 🔴 | Branches | 3.59% | 297/8268 |
| 🔴 | Functions | 2.58% | 92/3571 |
| 🔴 | Lines | 4.41% | 503/11415 |
Test suite run success
118 tests passing in 13 suites.
Report generated by 🧪jest coverage report action from 5b5dda8
fca5d13 to
7f543fb
Compare
23bb3ca to
983d66d
Compare
7f543fb to
31a4b01
Compare
983d66d to
ebff6b8
Compare
31a4b01 to
cdd7a2d
Compare
ebff6b8 to
d3de3b8
Compare
yomybaby
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
agatha197
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d3de3b8 to
1510583
Compare
cdd7a2d to
722c67a
Compare
722c67a to
90e9244
Compare
nowgnuesLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nowgnuesLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
90e9244 to
8dc01df
Compare
1510583 to
39ad54d
Compare
Merge activity
|
8dc01df to
c82c461
Compare
### Add Theme Preview Mode and Export Functionality Adds functionality for users to directly change the theme of the WebUI. Since the API for saving settings is not yet supported, currently only extraction to a JSON-formatted file is possible. Theme settings support a preview window; if the preview page is open, changing values in the origin window automatically applies them to the preview window. This PR enhances the theme customization experience by adding: 1. A theme preview mode that allows users to see their theme changes in a new window without affecting their current session 2. The ability to export custom theme configurations as JSON files 3. Warning alerts to inform users about theme preview mode and application process The implementation includes: - A new "Preview" button that opens a new window with the custom theme applied - An "Export JSON" button to download the current theme configuration - A warning alert explaining that theme changes require support team assistance to apply - A notification banner that appears when in preview mode - Session storage management to track preview mode state - Event listeners to automatically refresh preview windows when theme settings change [Screen Recording 2025-11-17 at 5.07.41 PM.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.com/user-attachments/thumbnails/610104d6-130d-4392-a7f1-f3c67d1cdc1b.mov" />](https://app.graphite.com/user-attachments/video/610104d6-130d-4392-a7f1-f3c67d1cdc1b.mov) **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
c82c461 to
5b5dda8
Compare

Add Theme Preview Mode and Export Functionality
Adds functionality for users to directly change the theme of the WebUI. Since the API for saving settings is not yet supported, currently only extraction to a JSON-formatted file is possible. Theme settings support a preview window; if the preview page is open, changing values in the origin window automatically applies them to the preview window.
This PR enhances the theme customization experience by adding:
The implementation includes:
Screen Recording 2025-11-17 at 5.07.41 PM.mov (uploaded via Graphite)
Checklist: