It would be nice to have a feature where from the list options you can sort the cards alphabetically or numerically. Even if you move a card from one list to another, it sorts it either when a new card is created or if a card gets moved into that list.
What's the use case? Cards have a quiet "short" lifecycle. They are moving from one column to the next and eventually get closed - How does your workflow work that it might be useful to sort cards by title? Do you have any naming convention?
I can see a use case for lists with long term item (like a todo list, a shopping list or a note book), but i would like to know how you are working 馃檪.
So for management we like to keep track of what jobs are still open, and some jobs have less of a priority. If we put them onto different lists but still maintain some kind of hierarchy instead of having to search through them it would be easier to find. Using Due Dates in the card title like "2020-07-09" would allow us to sort them based on date precedence. For different lists, the Sales Order number would give us another sorting option "SO00125" for example.
Have you thought about using tags and filter for then?
I can do a filter by Date, but there is one problem with that as well. It doesn't keep those settings. As soon as I leave the board, it clears the filter. Having the option to keep certain filters would be helpful.
Still sorting would be helpful because if you have 15 items in one list and they are due at different times, you won't see them listed based on precedence. You would still have to manually move the up or down to get them displayed chronologically. Maybe a Sort option for chronological order that can be saved?
I think the chronological sort would be a great feature to Deck.
I am free this week to work on it, provided some guidance because I've never contributed to Nextcloud projects.
For general development setup checkout our docs in https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html or have a look at https://github.com/juliushaertl/nextcloud-docker-dev for a docker based setup. You basically need a running installation of the server repo and then clone the deck app into the apps folder. The deck app requires some build steps that are described in the README. Feel free to reach out with any further questions.
Regarding the feature, I see that this might be useful. However there would be some open questions that should be clarified before actually starting an implementation to make sure that this becomes something mergable:
cc @nextcloud/designers
Sorting by creation date would be very helpful. I use deck to organize my lab experiments (they have an implicit order). I see that newly created cards got to the bottom of that list, however when I drag and drop it would stay in the dropped location. The problem I have with this is that I often have to look at the cards that are in Done list, without sorting it's difficult to understand which experiments followed which. Either their should be an option to move a card between lists so that they automatically go to the bottom of the move target list or the lists should have sorting option.
@juliushaertl
How would dragging cards behave? We usually set the order to how the cards are being dragged, but with custom sorting, we cannot really know where to put the card then. It could of course always end up at the end of the stack in that case.
The Sorting should over-ride dragging and dropping, once the user drops the card it should then be forced into the sorted settings.
Should the sorting be stored on a per board or per user/per board level?
This probably should be a setting controlled by the owner of the board. I can see where both cases are useful. In my line of work, me being the admin I don't want others to change sorting because some boards will be shown on a public monitor for workers.
UI wise I would put it next to the filter view, but we should probably hide it in the new 3-dots menu to not clutter the default interface with yet another button in the top bar. Otherwise we could also put this right within the filter menu.
I don't think at the top is good either, but either in the board details or the filter.
What sorting option should be available: Custom order, creation date, modification date i assume, anything else?
Those are good and probably an alphabetical order / reverse alphabetical as well.
Most helpful comment
For general development setup checkout our docs in https://docs.nextcloud.com/server/latest/developer_manual/getting_started/devenv.html or have a look at https://github.com/juliushaertl/nextcloud-docker-dev for a docker based setup. You basically need a running installation of the server repo and then clone the deck app into the apps folder. The deck app requires some build steps that are described in the README. Feel free to reach out with any further questions.
Regarding the feature, I see that this might be useful. However there would be some open questions that should be clarified before actually starting an implementation to make sure that this becomes something mergable: