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

Table: Reorder rows manually #54025

Open
bjhomer opened this issue Aug 29, 2023 · 1 comment
Open

Table: Reorder rows manually #54025

bjhomer opened this issue Aug 29, 2023 · 1 comment
Labels
[Block] Table Affects the Table Block [Type] Enhancement A suggestion for improvement.

Comments

@bjhomer
Copy link

bjhomer commented Aug 29, 2023

What problem does this address?

It's currently difficult to reorder rows in a table. For example, I was building a table that listed the development status of a bunch of API endpoints. At first, I just had them sorted by the URL, like this:

URL Status
https://example.org/account Done
https://example.org/create-order In Progress
https://example.org/delete-account Done
https://example.org/view-order Waiting

Then I decided that I wanted to group them into sections, like this:

URL Status
Account
https://example.org/account Done
https://example.org/delete-account Done
Orders
https://example.org/create-order In Progress
https://example.org/view-order Waiting

There's not an easy way to reorder existing rows in a table, though. I have to insert blank rows, then copy and paste the contents of each cell one by one. That's inefficient.

What is your proposed solution?

I'd love if, when a cell is focused, there were a control that let me reorder the rows. It could be a floating control to the left of the table with Up/Down arrows. Even better would be a drag handle that let me drag the row into the desired position.

@spencerfinnell
Copy link

spencerfinnell commented Aug 29, 2023

Previously/related: #6923

@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Block] Table Affects the Table Block labels Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Table Affects the Table Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants