Replies: 3 comments
-
Please don't rush this. The corresponding UI changes won't be ready for some time. First step is to get the display order values to the client. It would probably be easiest to include that in the existing payload for The next step would be to get the updated order back to the client. Should that be part of This API could need to be expanded in the future to support folders. How would that affect the design? The existing UI allows for gaps and duplicates. Is that desirable? If the user is allowed to enter display order values, what sort of validation is required? |
Beta Was this translation helpful? Give feedback.
-
I may have sounded a bit jumpy, but I'm going to do some research before actually implementing this. 😇
The client already displays the achievements in the right order (in the Achievement Sets dialog and in the overlay) because data is passed to Making the
Making Creating a new request to get a list of IDs and the desired order would be cleaner (just one request and no modification comments), but would require more work. Maybe something for v2?
Sorry, I didn't get what exactly is your concern here. Anyways, the DisplayOrder field is already used currently, then we wouldn't change anything in the DB.
What I envisage after a first thought:
By the way, I've just tested on the website: if I enter a negative value it defaults to |
Beta Was this translation helpful? Give feedback.
-
there are standard ways to do such tasks in a clean way with a suitable, standardized json api. which we do not have yet. |
Beta Was this translation helpful? Give feedback.
-
This issue is just a RAWeb-related entry for this request: RetroAchievements/RAIntegration#771
I plan to do it soon (add a new request in
dorequest.php
).Beta Was this translation helpful? Give feedback.
All reactions