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

Add support for highlighting border between columns when dragging #825

Merged
merged 5 commits into from
Jul 13, 2023

Conversation

marthacryan
Copy link
Contributor

@marthacryan marthacryan commented Jul 11, 2023

This PR implements the following behavior: when the user is dragging a column header across the page to reorder, the UI highlights the border between columns that it would be placed in to emphasize to the user where the column is being dropped.

image

Note: Deleted the mito_frontend.* files because they're now in the gitignore.

@vercel
Copy link

vercel bot commented Jul 11, 2023

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

Name Status Preview Comments Updated (UTC)
monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2023 7:57pm

Copy link
Member

@aarondr77 aarondr77 left a comment

Choose a reason for hiding this comment

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

Nice job with the spec + implementation. This makes reordering columns a much more pleasant experience.

This is working really well when the grid has only a few columns, but when the data gets larger, it becomes a big laggy. I left a couple of refactor ideas that might be helpful, but happy to brainstorm more on this!

@naterush naterush merged commit 1616975 into mito-ds:dev Jul 13, 2023
18 checks passed
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.

3 participants