-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixes #7105: Fixed column header on Kanban boards #7263
Fixes #7105: Fixed column header on Kanban boards #7263
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.
PR Summary
This pull request addresses issue #7105 by fixing the column header on Kanban boards, improving visual consistency and usability.
- Added
position: fixed
toStyledHeaderContainer
inRecordBoardColumnHeader.tsx
to keep headers visible while scrolling - Set a consistent height of 40px for the header container
- Added background color from theme to header container for improved visibility
- Increased bottom margin from
theme.spacing(2)
totheme.spacing(6)
for better spacing below the header - Added top padding using
theme.spacing(2)
for better content alignment within the header
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
@dilshad-knk Thank you for the PR! However, I believe this may not be the right approach. The hover button in the header isn't functioning as expected, and scrolling still affects the tabs above the headers (specifically the view/filter tab). Take your time with this. A more elegant solution might be to find a way to exclude those tabs/components from the That said, I'm not sure if the hint I gave would work, so feel free to reach out if you have any questions or need further clarification! Also have a look at how its implemented for tables! 2024-09-26.14-24-27.mp4 |
justify-content: space-between; | ||
position: fixed; |
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.
I think this could be why the hover buttons are not working as expected!
@dilshad-knk are you still working on it? |
Hi @dilshad-knk, thanks for raising this PR. A few feedbacks: CleanShot.2024-10-09.at.11.35.51.mp4The column header bar should be sticky, not fixed (It should not goes under the view bar when trying to scroll top for instance) CleanShot.2024-10-09.at.11.38.45.mp4Box shadows should not be visible when the card passes behind the column header. (The column header should take the full column width) The view bar border bottom should be visible (Figma image above) The header bar extends beyond the container on the left side. Figma |
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.
LGTM
@charlesBochet |
Thank you @dilshad-knk and @lucasbordeau |
/award 300 |
Awarding dilshad-knk: 300 points 🕹️ Well done! Check out your new contribution on oss.gg/dilshad-knk |
Thanks @dilshad-knk for your contribution! |
Issue Reference: Fixes #7105
Description:
This pull request introduces adjustments to the styling of the RecordBoardColumnHeader component. The modifications enhance the layout and visual consistency of the Kanban board headers.
Changes Made:
Margin Adjustment:
Increased the bottom margin from theme.spacing(2) to theme.spacing(6) for better spacing below the header.
Header Container Enhancements:
Added a background color sourced from the theme (theme.background.primary) to the header container for improved visibility and aesthetics.
Set a fixed height of 40px for the header to ensure a consistent size across different screens.
Applied a fixed position to the header container to keep it visible at the top during scrolling.
Added padding at the top using theme.spacing(2) for better alignment of content within the header.
Before :
368248677-c6649976-62f2-4b20-b4d3-9684c091776c.mp4
Now :
now.webm