decentraland / decentraland/godot-explorer
Mobile Hub: Add possition field in API and allow frontend value setting
- Dominant language
- Rust
- Stars
- 18
- Forks
- 19
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 43
Description
### Summary
Update the **Featured** API response for the Discover so elements have `position` value and the payload is already sorted according to that value for the client to consume.
This requires backend changes to return ordered carousel elements (with an integer position field), and frontend tooling in **Mobile Hub** to allow admins to edit carousel positions via a web interface.
---
## Backend Requirements (API)
- [ ] Modify the carousel API response to include a new field: `position`
- [ ] `position` must be an **integer** (1, 2, 3, ...)
- [ ] The API response **must return items already sorted by `position` ascending
- [ ] Prevent duplicate positions
---
## Frontend Requirements (Mobile Hub)
UI support in [Mobile Hub ](https://decentraland.org/mobile-hub)to to set `possition `value:
### Admin Capabilities
- [ ] View current featured carousel items
- [ ] Edit `position` value or each Featured item
- [ ] Save updated ordering (persist to backend)
---
Contributor guide
Assessment
This issue has not been assessed yet.