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

feature to rearrange the order of items/pairs #18

Open
azorpax opened this issue Nov 5, 2022 · 3 comments
Open

feature to rearrange the order of items/pairs #18

azorpax opened this issue Nov 5, 2022 · 3 comments

Comments

@azorpax
Copy link
Contributor

azorpax commented Nov 5, 2022

Currently, we cannot rearrange the order of the pairs. The workaround I can think of is by deleting and re-adding the pairs in the order you want.

This request will give the user a way to rearrange the pairs in a convenient way.
But, I am not sure, how it could be done.
if drag n drop is possible then maybe that's the answer.
If not, maybe adding buttons to indicate Up/Down? but how would it look in UI?

Any thoughts?

@alipirpiran
Copy link
Owner

I'm not sure drag and drop is available.
I think it can be done by adding a button (rearrenge), when user click on it, up and down button appear on the items. And the text rearrenge button change to "Done".
Also to save current order of items, it should be add to the schema.
Maybe adding a priority property for each coin or ...
But unfortunately i dont have enough time now to implement this feture. In the future i can do it.

@azorpax
Copy link
Contributor Author

azorpax commented Nov 5, 2022

I just saw a drag-and-drop feature in an extension (Time++). so it's possible.
Still, I agree that we need the button "Rearrange" to activate the drag-and-drop of the items.

When Rearrange is active we can :

  • all the other buttons (link, switch, delete) can be hidden or disabled.
  • also the add section will be hidden or disabled
  • new button for "Done", which will save the order.

@alipirpiran
Copy link
Owner

Exactly 👌🏽

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

No branches or pull requests

2 participants