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 RecordTableHeaderCell #6383

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

ehconitin
Copy link
Contributor

@ehconitin ehconitin commented Jul 23, 2024

Fixes #6365

@Bonapara

Fixed! the issue (#6365) where the background-color style was not set, causing the bug. Now, the background color is properly applied.

2024-07-23.22-31-58.mp4

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

Refactored RecordTableHeaderCheckboxColumn.tsx to use styled components, addressing the background color issue and improving maintainability.

  • Introduced StyledColumnHeaderCell in packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx for consistent styling.
  • Removed useTheme hook as it's redundant with styled components.
  • Ensured visual consistency across themes and screen sizes by encapsulating styles within styled components.
  • Verified that the background color is now correctly applied, resolving issue Fix RecordTableHeaderCell #6365.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against d792db3

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @ehconitin

@charlesBochet charlesBochet merged commit 895910e into twentyhq:main Jul 24, 2024
6 of 7 checks passed
lucasbordeau pushed a commit to AdityaPimpalkar/twenty that referenced this pull request Jul 24, 2024
@Bonapara

Fixed! the issue (twentyhq#6365) where the `background-color` style was not set,
causing the bug. Now, the background color is properly applied.



https://github.com/user-attachments/assets/668bd3cc-77ea-42a9-84d4-071fca497e07
@lucasbordeau
Copy link
Contributor

Fixes #6365

@ehconitin ehconitin deleted the fixed-issue-6365 branch August 6, 2024 06:14
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.

Fix RecordTableHeaderCell
3 participants