free-site-builder
free-site-builder copied to clipboard
[✅ASSIGNED] Sidebar Items Order
STATUS: ASSIGNED to @umarali
Context
In the latest version, the components JSON consumed by the server is generated and the order cannot be forced to be arranged using a specific order (defaults always alphabetically).
The fix should force having in the UI always the following order (from TOP to the BOTTOM)
- Grid
- Navigation
- Common
- The rest of the categories
- Footer (at the end)
@umarali please take a look.
TY!
Hello @umarali
Ty for your work. I just tested and have not seen any effect in the UI.
I think is better to have this fix in the builder. using a simple logic:
- Extract and insert the top components:
grid,navigation,common - The rest of the components (the order that comes from the backend)
- Footer
We can assume always that we have at least 4 categories:
grid,navigation,commonfooters
Please take a look. TY!