Skip to content

Scroll status lines that do not fit the display - #3995

Open
cassiofiorin wants to merge 1 commit into
meshcore-dev:devfrom
cassiofiorin:feat/small-display-ui
Open

cassiofiorin wants to merge 1 commit into
meshcore-dev:devfrom
cassiofiorin:feat/small-display-ui

Conversation

@cassiofiorin

Copy link
Copy Markdown

The repeater/room-server UI assumes a 128x64 display: the 128 px logo is drawn off-screen and the usual 21-character status lines are cut on 64x48 OLEDs (e.g. the M5Stack Unit C6L), hiding the node name and the radio settings.

  • draw the 128 px logo only when the display is wide enough, otherwise show a short "MeshCore" title
  • scroll (marquee) any line wider than the display instead of clipping it
  • shift the status lines up on displays shorter than 64 px
  • refresh faster (80 ms) while something is scrolling, 1 s otherwise

Displays 128x64 and wider render exactly as before.

The repeater/room-server UI assumes a 128x64 display: the 128 px logo is drawn
off-screen and the usual 21-character status lines are cut on 64x48 OLEDs (e.g.
the M5Stack Unit C6L), hiding the node name and the radio settings.

- draw the 128 px logo only when the display is wide enough, otherwise show a
  short "MeshCore" title
- scroll (marquee) any line wider than the display instead of clipping it
- shift the status lines up on displays shorter than 64 px
- refresh faster (80 ms) while something is scrolling, 1 s otherwise

Displays 128x64 and wider render exactly as before.
@cassiofiorin

Copy link
Copy Markdown
Author

Hi! The workflow runs on this PR are stuck in "action required" because this is
my first contribution — GitHub requires a maintainer to approve them, and the
first batch expired without approval.

I validated locally on the PR head:

  • pio test -e native (50/50) and -e native_kiss_modem (43/43) pass
  • Heltec_v3_repeater builds clean, so the shared UI path is unaffected

Could you approve the workflow runs (or re-run them) when you get a chance?
Happy to adjust anything you spot in review.

This branch has not been deployed

No deployments
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