-
Notifications
You must be signed in to change notification settings - Fork 480
feat(style-editor): Improve empty state for style editor #34471
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
base: main
Are you sure you want to change the base?
feat(style-editor): Improve empty state for style editor #34471
Conversation
…palette ### Changes Made - Replaced the placeholder message in the style editor palette with a new component. - Added HTML, SCSS, and TypeScript files for the new empty state component to enhance user experience when no styles are available. - Updated the language properties to include a message for the empty state. ### Motivation This update improves the user interface by providing a more informative and visually appealing empty state when no styles are present, guiding users on how to start styling their
### Changes Made - Introduced a new empty state component for the style editor palette to enhance user experience when no styles are available. - Added corresponding HTML, SCSS, and TypeScript files for the new component. - Updated the component imports to ensure proper functionality. ### Motivation This update provides a visually appealing and informative empty state, guiding users on how to start styling when no styles are present.
...te/components/dot-uve-style-editor-empty-state/dot-uve-style-editor-empty-state.component.ts
Show resolved
Hide resolved
|
Semgrep found 1
Risk: Affected versions of @angular/compiler and @angular/core are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Angular's template compiler fails to classify the Fix: Upgrade this library to at least version 20.3.16 at core/core-web/yarn.lock:512. Reference(s): GHSA-jrmj-c5cx-3cw6, CVE-2026-22610 If this is a critical or high severity finding, please also link this issue in the #security channel in Slack. |
...te/components/dot-uve-style-editor-empty-state/dot-uve-style-editor-empty-state.component.ts
Show resolved
Hide resolved
.../components/dot-uve-style-editor-empty-state/dot-uve-style-editor-empty-state.component.scss
Show resolved
Hide resolved
### Changes Made - Added a new effect to reset the active contentlet when the page is unlocked, preventing editing conflicts. - Updated the component's TypeScript file to include logic for handling the active contentlet state based on the page's lock status. - Enhanced unit tests to verify the new behavior of resetting the active contentlet under specified conditions. ### Motivation This update improves the user experience by ensuring that when a page is unlocked, any active contentlet selection is cleared, reducing the risk of editing conflicts.
2026-02-02.12-20-37.mov
Changes Made
This PR fixes: #34470