Currently, the module list in the settings sidebar follows a fixed order defined in the source code (crates/wayle-settings/src/pages/modules/mod.rs). This order happens to be alphabetical by internal module name (English), which means it looks well-ordered for English users but appears arbitrary in other languages.
For example, in French the list looks like: Batterie, Bluetooth, Cava, Horloge, Processeur, Personnalisé, Tableau de bord, Espaces de travail Hyprland, …
With 26 modules in the list, finding a specific one by scanning visually becomes difficult when the order doesn't match the user's language.
Would it make sense to sort the module entries alphabetically by their translated display name at runtime? The change would be minimal — sorting the Vec<NavItem> by label in build_nav_section (crates/wayle-settings/src/app/helpers.rs) after the entries are built.
This would also make the order consistent regardless of future module additions (no need to manually maintain alphabetical order in the source).
Currently, the module list in the settings sidebar follows a fixed order defined in the source code (
crates/wayle-settings/src/pages/modules/mod.rs). This order happens to be alphabetical by internal module name (English), which means it looks well-ordered for English users but appears arbitrary in other languages.For example, in French the list looks like: Batterie, Bluetooth, Cava, Horloge, Processeur, Personnalisé, Tableau de bord, Espaces de travail Hyprland, …
With 26 modules in the list, finding a specific one by scanning visually becomes difficult when the order doesn't match the user's language.
Would it make sense to sort the module entries alphabetically by their translated display name at runtime? The change would be minimal — sorting the
Vec<NavItem>by label inbuild_nav_section(crates/wayle-settings/src/app/helpers.rs) after the entries are built.This would also make the order consistent regardless of future module additions (no need to manually maintain alphabetical order in the source).