BaldissaraMatheus / Tasks.md

A self-hosted, Markdown file based task management board
https://hub.docker.com/r/baldissaramatheus/tasks.md
MIT License
859 stars 34 forks source link

Lanes (or tasks) get resorted in new sessions #22

Closed kernelkaribou closed 1 year ago

kernelkaribou commented 1 year ago

Issue

Lanes do not maintain their order across "sessions". Given there is no login I assume there is some session/cache related data that maintains the order of the page on refreshes. However open the tasks in a new browser, private tab, etc and you have the lanes sorted by what looks to be Alphabetically.

Initial sorting image

Private Tab or different browser image

This is also true for tasks in a lane even if filtering manually

image

New 'Session' image

Seems that for a project there needs to be some form of persistence of organization. Maybe some kind of local file in the project folder that is read for ordering and potentially future settings, maybe a .json file? I generally have lanes like your example, Todo, Doing, Completed and in different sessions (laptop vs desktop, etc) It will be Completed, Doing, Todo.

Steps to Reproduce

Create lanes or tasks and organize non alphabetically, load the tasks page in a private tab, new browser or machine and it will be sorted alphabetically.

Other

Thanks again for this project. A couple little quirks and features and I think that this would be a valuable service.

BaldissaraMatheus commented 1 year ago

Just merged this feature into the main branch, now sort information is persisted in the backend