Skip to content

Conversation

rossedfort
Copy link
Contributor

Description & motivation 💭

fix some small visual bugs with configurable table

  • properly display batch actions when there are no columns pinned
  • hide resize handle when batch actions are disabled and there are no pinned columns

Screenshots (if applicable) 📸

before

Screen Shot 2023-04-20 at 3 45 14 PM

Screen Shot 2023-04-20 at 3 45 38 PM

after

Screen Shot 2023-04-20 at 3 44 52 PM

Screen Shot 2023-04-20 at 3 45 56 PM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Run oss locally and visually verify changes

Checklists

N/a

Draft Checklist

Merge Checklist

Issue(s) closed

N/a

Docs

N/a

Any docs updates needed?

@vercel
Copy link

vercel bot commented Apr 20, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
holocene ⬜️ Ignored (Inspect) Apr 20, 2023 9:49pm

@rossedfort rossedfort requested a review from laurakwhit April 20, 2023 21:53
@apply z-10 bg-primary w-0 border-r-[3px] border-primary cursor-col-resize;
}
.resizer.no-columns-pinned:not(.batch-actions-enabled) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would say just hide the resizer when batch actions are enabled too

Suggested change
.resizer.no-columns-pinned:not(.batch-actions-enabled) {
.resizer.no-columns-pinned{

but I think the hover state is maybe a bit of a blocker for now. What do you think?

Screenshot 2023-04-20 at 4 12 01 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm yeah I think just leaving the divider/resizer is OK for now, but I agree that it'd be nicer to hide it an fix the hover state in this case.

@rossedfort rossedfort merged commit 952e772 into main Apr 21, 2023
@rossedfort rossedfort deleted the configurable-table-batch-actions-css-fix branch April 21, 2023 14:54
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.

2 participants