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

feat: add active and disabled object tables to settings #1885

Merged

Conversation

thaisguigon
Copy link
Contributor

Closes #1799, Closes #1800

@CLAassistant
Copy link

CLAassistant commented Oct 5, 2023

CLA assistant check
All committers have signed the CLA.

@thaisguigon thaisguigon marked this pull request as ready for review October 5, 2023 15:38
return (
<StyledTableCell
className={className}
isNumberCell={
Copy link
Member

Choose a reason for hiding this comment

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

I feel that isNumberCell should be a prop of the Cell and decided by the caller. We might want to display numbers aligned to the left if they are string.
What if in the same column we have strings containing a mix of numeric and non numeric values:
sldkfj
1
2
sdflk

not a big challenge though, I'm fine with the current implementation, we can see later once we use it

Copy link
Member

Choose a reason for hiding this comment

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

maybe an alignment = 'right' | 'left' as a prop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@charlesBochet charlesBochet merged commit 18e210b into main Oct 5, 2023
@charlesBochet charlesBochet deleted the feat/add-active-and-disabled-objects-tables-to-settings branch October 5, 2023 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants