Skip to content

FIX: Simplify Language Selector [DRAFT] - #2310

Merged
NeoPlays merged 3 commits into
stereum-dev:mainfrom
NeoPlays:bug_fixes
Sep 1, 2026
Merged

NeoPlays merged 3 commits into
stereum-dev:mainfrom
NeoPlays:bug_fixes

Conversation

@NeoPlays

@NeoPlays NeoPlays commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

Three commits on bug_fixes, ahead of main:

  • FIX: Molecule test - replaces a fixed pause with a real readiness wait in the update-stereum verify play
  • CHORE: bump version - launcher 2.5.1 to 2.5.2
  • FIX: Simplify Language Selector - rewrites the language picker, fixes two broken locale labels, and makes Help and Settings reachable while disconnected

867e308 - FIX: Molecule test (predates this session)

controls/roles/update-stereum/molecule/full/verify.yml

  • Replaced the fixed pause: seconds: 60 after the update reboot with a real wait: wait_for_connection (15s delay, 600s timeout), followed by a docker inspect retry loop (60 attempts, 10s apart) that polls until the beacon container reports a non-v2.0.0 Lighthouse image.
  • Reindented the task list to standard YAML list indentation.

This removes the race where verification could run before the post-reboot update script had finished.


e78cab2 - CHORE: bump version

launcher/package.json plus lockfile: 2.5.1 to 2.5.2.


75fe8b4 - FIX: Simplify Language Selector (this session)

Language picker: language-page/components/MenuBody.vue

Rewritten. Previously a vertical Swiper coverflow carousel: 27 languages rotating in 3D, roughly 3 readable at a time, no search, sorted by localeCompare on the native name so scripts interleaved arbitrarily.

Now a two-column grid in a bordered, scrollable panel:

  • Search box matching native name, English name, or locale code
  • Sorted by English name
  • Each tile shows the native name plus its English name
  • Dropped Swiper and about 80 lines of !important overrides
  • Removed a dead handleScroll template reference and the unused thumbs refs
  • Fixed a double click-sound

Styling aligned to the app palette:

  • Tiles #33393E with #4d7575 hover (matching the existing LanguageBtn)
  • text-gray-200 and text-gray-400 instead of opacity-70
  • Selected state #447a75
  • Local scrollbar override deleted so the global #85cac4 rule from main.css applies
  • List pulled back to row-end-11 so it stops above the Next button instead of running underneath it

store/languages.js

  • Added englishName to every entry.
  • Fixed two locale labels: Portuguese was po and Japanese was jp, but i18n.js registers pt and ja, so picking either silently did nothing.

Help and Settings while disconnected

The header holding those buttons only exists in BaseLayout, and the login screen uses InstallationLayout, so neither was reachable. Routing to /setting manually did not work either: its base layout starts a 2s service poll, which sets stereumStatus = false and drops ReconnectModal over the page.

Fixed by:

  • Adding Help and Settings buttons to ServerHeader on the login route
  • Hosting SupportModal in InstallationLayout
  • Adding StandaloneLayout.vue, a header/body/footer shell with no node tabs, no polling and no reconnect modal, plus a "Back to login" button
  • SettingScreen chooses between the two layouts via a new settingsStandalone flag on the nodeHeader store, set by SingleMenu from route.path === "/login" at click time

@NeoPlays
NeoPlays merged commit c50f205 into stereum-dev:main Sep 1, 2026
5 checks passed
@NeoPlays
NeoPlays deleted the bug_fixes branch September 10, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant