glitchedgitz / grroxy-issues

To manage issues in grroxy.
https://grroxy.com/
MIT License
3 stars 0 forks source link

project index #27

Open noraj opened 8 months ago

noraj commented 8 months ago

on the list command, it seems that the projects are sorted by update date (why not, it's not a bad idea)

image

But what I'm not sure to understand is the index, the index doesn't seem to be an ID linked to the project but rather a temporary display index. So the ID for a project will change from one execution to another. It means that in the future is there is a resume command, we won't be able to rely on the index. Since the name is not unique it can't be 100% reliable too, meaning the only unique key will be the location path, which is not handy. so I believe a unique and permanent index should be linked to a project instead. So it will become a identifier (absolute) rather than an index number (relative to the sorting).

glitchedgitz commented 8 months ago

I agree, this will be also useful for projects having same names.