-
Notifications
You must be signed in to change notification settings - Fork 7
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
UI redo dec 24 #439
base: main
Are you sure you want to change the base?
UI redo dec 24 #439
Conversation
…t, and re-add logo to footer
✅ Deploy Preview for upset2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Some minor changes, overall looks great.
In general and in the future, I would suggest pushing the lint fixes in a separate PR that has no or little new content added. With the linting (for /app) in here, it became very time consuming to differentiate new code/changes that weren't only linting fixes.
// Sets the footer height atom if provided as an argument | ||
const setFooterHeight = useSetRecoilState(footerHeightAtom); | ||
// Footer height needs to be doubled to work right... idk why that is! | ||
useEffect(() => { if (footerHeight) setFooterHeight(2 * footerHeight); }, [footerHeight]); |
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.
If you were to mult by 1 and simply double the variable value, would it work? Curious to see what could be causing this type of behavior
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.
Wdym by this? How is multiplying by 1 and doubling any different from multiplying by 2?
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.
It's not any different, I am just curious if there is some strange order of operations that necessitates the footerHeight being doubled.
Absolutely, I did not process that that'd be an issue. Will do in the future. |
Does this PR close any open issues?
Closes #427
Closes #422
Closes #421
Closes #403
Give a longer description of what this PR addresses and why it's needed
Makes a large number of changes to the Upset UI:
Provide pictures/videos of the behavior before and after these changes (optional)
(not included as the changes are comprehensively covered above and probably won't fit in a gif)
Have you added or updated relevant tests?