-
Notifications
You must be signed in to change notification settings - Fork 50
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: Snow Falling Animation #3535
Conversation
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.
In my opinion we need to decrease number of the snows and change the color on the light theme to be more clear to see. (or we can change image for snow to something like it is on https://minutes.tools.sap/#/ )
Also when I'm enabling snow using button, everything looks good, and snow is falling from top, when I'm connecting the cluster or clicking on something which is causing rerender, when I have a bomb from left top corner.
Screen.Recording.2024-12-18.at.10.26.01.mov
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.
featureflag on STAGE should be also set on enable, and on prod disabled
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.
On first render SNOW is disabled, it should be enabled and set in localStorage to enable
const handleSnowButtonClick = () => { | ||
if (isSnowOpen) { | ||
setIsSnowOpen(false); | ||
localStorage.setItem(SNOW_STORAGE_KEY, JSON.stringify(false)); |
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.
Can't it be set as boolean?
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.
localStorage/sessionStorage only likes string variables: "Storage only supports storing and retrieving strings. If you want to save other data types, you have to convert them to strings. For plain objects and arrays, you can use JSON.stringify()." https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem
Description
Changes proposed in this pull request:
Related issue(s)
#3517
resolves #3517
Definition of done
backlog#4567