-
Notifications
You must be signed in to change notification settings - Fork 14
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: Activity table fixes and table refactoring #3757
base: master
Are you sure you want to change the base?
Conversation
Refactor: Table component
Fix: Add flex for activity table status column
Fix: Styling updates to ensure min height for recent activity table
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.
Very nice, all 3 cases I tested, mobile, desktop, and single action in the list, work as described.
Nicely done!
Screencast.from.2024-11-25.21-30-59.mp4
Screencast.from.2024-11-25.21-31-41.mp4
Screencast.from.2024-11-25.21-33-09.mp4
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.
Great job on this @mmioana These tables are a pain to deal with so nice job handling them here!
The only issue I noticed is here on the Crypto to fiat page:
Otherwise everything else is great.
Expandable rows without pills shifting:
Screen.Recording.2024-11-26.at.10.02.29.mov
All activity:
Empty activity table goes up to max height:
Fix: Update FiatTransfersTable paddings
Hey @rdig @iamsamgibbs thanks for your reviews 🙏 |
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.
Definitely a step in the right direction with the table, it was about time we took everythin out into separate components.
Love that we have 2 different layouts now, it was quite confusing before :')
Overall, super happy with the foundations laid in this PR, let's hope we can get to refactoring that beast into something manageable in the future 🤞
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.
Almost at the finish line @mmioana ! All the test cases you mentioned are looking good on my end but I just noticed one wee problem. The error state for the table seems to be slightly off:
Manage permissions form
Master | Your branch |
---|---|
Advanced payments form
Master | Your branch |
---|---|
Fix: Tables error state after review
Thanks so much for finding this issue @rumzledz 🙌 I pushed a fix, so could you guys @iamsamgibbs @bassgeta @rumzledz please re-check? 🙏 |
Fix: Remove tokens table border
@rumzledz found an issue with duplicated borders for table shown on the http://localhost:9091/planex/incoming page when expanding a token, but now it should be fixed |
Description
This PR aims to refactor (a tiny bit) the
Table
component and addresses the following issuesFigma link
metadata
andstatus pill
- is moving upon expanding a rowTabs closed (note the position of the pill, title and metadata):
With one tab open (again, note the position of the pill, title and metadata):
16px
between the expandable iconTesting
TODO: Please test the above mentioned issues have been resolved, as well as the
Table
component refactoring didn't introduce bugs.Screen.Recording.2024-11-22.at.16.01.32.mov
16px
Step 6. Now go to http://localhost:9091/planex/activity
Step 7. Check the table pagination is displayed inside the table
Step 8. Run
node scripts/create-colony-url.js
and complete creating a colonyStep 9. Create a
Mint tokens
actionStep 10. Go to the newly created colony
Dashboard
pageStep 11. Check the height of the
Recent activity
table - it should occupy the whole available page heightFurther testing
Please check the tables from
http://localhost:9091/planex/balances
http://localhost:9091/planex/incoming
http://localhost:9091/account/crypto-to-fiat
Also please try creating an
Advanced payment
orManage tokens
action and check the tables there for bothmobile
anddesktop
Any further testing ideas are highly welcomed 🙌 and thanks a lot for reaching this far in the testing 🥇
Diffs
Changes 🏗
Table
component has been split up into more manageable partial componentsResolves #2695
Resolves #3550
Resolves #3668