free-site-builder icon indicating copy to clipboard operation
free-site-builder copied to clipboard

[✅ASSIGNED] Sidebar Items Order

Open app-generator opened this issue 2 years ago • 1 comments

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!

image

app-generator avatar Aug 01 '23 15:08 app-generator

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,
  • common
  • footers

Please take a look. TY!

app-generator avatar Aug 04 '23 05:08 app-generator