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

Fix advanced settings animation #7497

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

thomtrp
Copy link
Contributor

@thomtrp thomtrp commented Oct 8, 2024

As title

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request addresses the advanced settings animation in the settings navigation drawer, focusing on layout improvements and animation refinement. Key changes include:

  • Modified SettingsNavigationDrawerItems.tsx to enhance visual consistency and spacing
  • Adjusted StyledIconContainer height from 90% to 75% for better proportions
  • Removed 'overflow' property from useExpandedHeightAnimation.tsx, simplifying animation logic
  • Streamlined NavigationDrawer.tsx by removing gap and overflow-y properties from StyledItemsContainer
  • Replaced NavigationDrawerSection with custom StyledNavigationDrawerSection for improved margin control

These changes aim to improve the overall user experience and visual appeal of the settings navigation drawer, particularly during animations and transitions.

3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings

@@ -6,15 +6,11 @@ const transitionValues = {
opactity: { duration: 0.2 },
Copy link
Contributor

Choose a reason for hiding this comment

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

syntax: 'opactity' is misspelled. Should be 'opacity'.

Comment on lines 25 to 27
opacity: 1,
height: isExpanded ? measuredHeight : 0,
...transitionValues,
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Removing 'overflow: hidden' may cause content to visibly overflow during animation.

@Weiko Weiko merged commit cbdd09b into main Oct 8, 2024
13 checks passed
@Weiko Weiko deleted the tt-fix-advanced-settings-animation branch October 8, 2024 15:14
harshit078 pushed a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
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.

3 participants