-
Notifications
You must be signed in to change notification settings - Fork 15
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: permissions sidebar margins and cleanup sidebar stuff a bit #3421
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.
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.
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.
c6aead3
594296e
to
c6aead3
Compare
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.
Re-approving
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.
Awesome work @bassgeta 🎉
Clicking on the user pill no longer makes the row to jump
Screen.Recording.2024-10-25.at.10.45.16.mov
All good to merge 👍
Looks like there is a merge conflict after the notifications merge, happy to re-review once it is rebased! |
c6aead3
to
206a05e
Compare
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.
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.
re-approving
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.
Awesome @bassgeta! Let's merge this one 🚀
Fix: Realign master with changes from #3421
Description
The entire solution was that the
UserPopover
was wrapped in adiv
and that increased the height.But as I was perusing the code I saw a lot of remnants regarding fetching the action in the form, since we used to reuse the form for that, and I cleaned some of it up.
The
ActionSidebarContent
never rendered iftransactionId
was defined, since we showed a loader or theCompletedAction
component.Figma link
![image](https://private-user-images.githubusercontent.com/23449297/378752666-d281318d-fe97-4fed-a529-fd30c30100d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTc2ODIsIm5iZiI6MTczOTI1NzM4MiwicGF0aCI6Ii8yMzQ0OTI5Ny8zNzg3NTI2NjYtZDI4MTMxOGQtZmU5Ny00ZmVkLWE1MjktZmQzMGMzMDEwMGQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA3MDMwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzMWNhNDVlZjg2NTYwMzg4ZTNiZWYwNGNjMWUwZGMxMDI5NzFkZWUxZjI0YzcyZDNiYWMzNmNlNGQ5MzlhNjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vJa0gDcR7CHVQjOwJn18mg0nHlIsyWOG3l3lYRHFzDc)
Testing
Permissions
and assure that the margins and alignment now matches FigmaStaking
as the decision method still works correctly (so that the first modal with the amount and fees opens)Diffs
Changes 🏗
PermissionsSidebar
now receives the actions as a property since it doesn't ever refetch/poll itDeletions ⚰️
ActionSidebarContent
doesn't useisMotion
andtransactionId
anymore, also removed the rendering of the sidebarResolves #2959