server
server copied to clipboard
Reorganize the list of "Apps"
Is your feature request related to a problem? Please describe. On the side, the applications are displayed in the order of creation. I wish I could change this order.
Describe the solution you'd like In Apps, choose an order number for each "Apps"
Additional context
For example, I would like to be able to put "EVOserv" at the top of the list, but for that it would have been necessary to create it first!
Now, for that I will have to delete all the Apps "above", and re-create them, which implies a change of token for this one!
Thx
Yeah, seems like a good feature. You could also rename the first application, then you don't have to remove all applications.
Thanks for your feedback :) Renaming does not solve the problem of the "token" which is linked to an application. Renaming everything is the same as deleting, it will be necessary to change the tokens in the all applications, so that they correspond again.
I like the suggestion of EVOTk.
Can I hop on the train to ask optional sorting by alphabet?
+1 for this. Currently using gotify to manage 7 apps. Would like to rearrange my application list
Bump to an old thread, it can be done via the database. Just reorder the IDs of the applications.
Helllo, the list could be ordered with the sort() function.
Example : console.clear(); let fruits: string[] = ['Apple', 'Orange', 'Banana']; console.log("Before sort : " + fruits); fruits.sort(); console.log("After sort : " + fruits);
[LOG]: "Before sort : Apple,Orange,Banana" [LOG]: "After sort : Apple,Banana,Orange"
For Gotify, the dislay of the list is define in server\ui\src\layout\Navigation.tsx
I tried to setup develpment environment but I failed, I can't test and create a pull request
The sort is OK with : const apps = appStore.getItems().slice().sort((a,b) => a.name.localeCompare(b.name));
Tests OK :
Applications created in this order :
- Apple
- Orange
- Banana
Items are sorted on screen :