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

Reorder sheet (and list) rows #33

Open
Vaskivo opened this issue Feb 18, 2021 · 1 comment
Open

Reorder sheet (and list) rows #33

Vaskivo opened this issue Feb 18, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Vaskivo
Copy link
Contributor

Vaskivo commented Feb 18, 2021

In my usage of Depot, I use the ordering of the rows in sheets and lists.

For this use-case, it would be desireable to add the capability to reorder the rows.

This could be achieved by:

  • (simplest) "move up" and "move down" button in the row, near the "delete row" one.
  • (probably more difficult) Some drag&drop support.

At the moment, the only way I can reorder the rows is by opening the file as a text file and editing it.

A nice extra would be to have in the Depot Specification something specifying that the order of elements in the file match the order that they are presented in the extension. This would formalize the contract.

@kkukshtel
Copy link
Collaborator

This is a great idea! I think in scope for now is definitely some sort of move up/down arrow near the "X" for removing a line. An issue right now in "enforcing" order in the VSCode extension context is that when the data travels to the extension host and back during the serialization process, the data seems to get arbitrarily rearranged. I tried to do some order enforcement stuff before but could never really get it to work properly, with Code's side of things being a bit of a black box.

Regardless, getting some movement arrows in would be great!

@kkukshtel kkukshtel added the enhancement New feature or request label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants