Skip to content

Conversation

@teogrosu
Copy link
Contributor

@teogrosu teogrosu commented Mar 28, 2025

Updating the smart-table, table and heading components to allow adding an optional column that contains checkboxes to select things in the table. We should also be able to pass an isSelectableCheck function so that we can filter which rows can be selectable.
** changes to onRowClick behaviour - the onRowClick fn should only be called when clicking anywhere in the row besides the checkbox cell - we usually want to open up a details panel when clicking on the row and this makes sure that selecting a row won't also open up that panel.

Using the new props in the activity log table (new Neyes functionality) - without passing isSelectableCheck:
image

Using isSelectableCheck so only the changes in the table that have a status of 'pending your approval' can be selected:
image

Check out this PR https://github.com/Ebury/eburyonline/pull/2440 for the full implementation.

@vercel
Copy link

vercel bot commented Mar 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chameleon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 1:08pm

@teogrosu teogrosu marked this pull request as ready for review April 1, 2025 07:19
@teogrosu teogrosu requested review from a team and raulwwq0 as code owners April 1, 2025 07:19
Copy link
Contributor

@pavlos-pavlopoulos-ebury pavlos-pavlopoulos-ebury left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@AfrazHussain AfrazHussain left a comment

Choose a reason for hiding this comment

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

lgtm.

@teogrosu teogrosu merged commit 3def8d4 into master Apr 3, 2025
4 checks passed
@teogrosu teogrosu deleted the NBL-480 branch April 3, 2025 13:15
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.

4 participants