Skip to content

Conversation

@Jared-Is-Coding
Copy link
Collaborator

  • Allow double press to dim the display
  • Delay other screen interactions until the screen is no longer dimmed
  • Also sets the default double press action to opening the menu
  • Add single press settings
  • Add long press settings
  • Add button press handler
  • Add dimmed screen gesture handler
  • Dynamically generated the menu contents to reclaim 16 widgets
  • Add secondary stat switcher
  • Remove duplicate widgets in secondary stats to reclaim some widgets
  • Update handlers for secondary stat
  • Bump version

@Jared-Is-Coding Jared-Is-Coding added the enhancement New feature or request label Sep 16, 2025
@Jared-Is-Coding Jared-Is-Coding force-pushed the feature/stats-button-handlers branch from f18b037 to 5e923f2 Compare September 16, 2025 12:45
@Jared-Is-Coding Jared-Is-Coding added the maintenance This needed doing label Sep 16, 2025
@techfoundrynz
Copy link
Owner

Can we split out the menu button stuff to another PR? It would be nice to be a separate commit as I'll essentially be undoing it when migrating to LVGL editor.

stat_display_options.primary_stat = (stat_display_options.primary_stat + 1) % 4;
}
else {
stat_display_options.primary_stat = (stat_display_options.primary_stat + 3) % 4;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the scroll left/right gone now? The thing I like about it being a carousel type control is that it's more discoverable and provides better feedback to the gesture. If switching it programmatically is desired, we could always just scroll it in code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you're referring to here. I've never been able to switch the primary stat on any of my remotes. The secondary one, however, did scroll before but that used a lot of widgets. This was just pulling them into a single widget instead and reclaiming some widgets for use. Could you clarify?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, I meant to comment on the secondary stat. I wouldn't worry about trying to reduce the number of components so much. There's other ways around it :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, I meant to comment on the secondary stat. I wouldn't worry about trying to reduce the number of components so much. There's other ways around it :)

Gotcha. I'm all ears... this seemed like the only way at the time, without moving the settings menu to code instead.

@techfoundrynz
Copy link
Owner

techfoundrynz commented Sep 16, 2025

The settings page indicators now overflow. Might be time to shrink the size on them

Edit
Done

@techfoundrynz
Copy link
Owner

Is it possible to ellipsis overflow on the select controls for the long text in the settings page?

@techfoundrynz
Copy link
Owner

techfoundrynz commented Sep 16, 2025

The update button isn't applicable to all pages of the about screen. Can we leave that in the version content as it was?


static const char *TAG = "PUBREMOTE-MENU_SCREEN";

lv_obj_t *ui_MenuBackButton = NULL, *ui_MenuBackButtonLabel = NULL, *ui_MenuConnectButton = NULL,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem to be missing the stick navigation now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem to be missing the stick navigation now

This is the last outstanding bug on this PR. I left you some notes in DM.

@Jared-Is-Coding Jared-Is-Coding force-pushed the feature/stats-button-handlers branch from fea47c9 to c784061 Compare September 17, 2025 12:37
@Jared-Is-Coding
Copy link
Collaborator Author

The settings page indicators now overflow. Might be time to shrink the size on them

Edit Done

Rebased this PR on that.

The update button isn't applicable to all pages of the about screen. Can we leave that in the version content as it was?

I still think there may be a better place for this to live. Regardless, it currently doesn't work without the regular button background due to the dark text styling setting. Is there another option here?

Is it possible to ellipsis overflow on the select controls for the long text in the settings page?

Not seeing a setting for this anywhere - am I missing it?

@Jared-Is-Coding Jared-Is-Coding force-pushed the feature/stats-button-handlers branch from c784061 to 265daab Compare September 26, 2025 15:04
- Allow double press to dim the display
- Delay other screen interactions until the screen is no longer dimmed
- Add single press settings
- Add long press settings
- Add button press handler
- Add dimmed screen gesture handler
- Dynamically generated the menu contents to reclaim 16 widgets
- Add secondary stat switcher
- Remove duplicate widgets in secondary stats to reclaim some widgets
- Update handlers for secondary stat
@Jared-Is-Coding Jared-Is-Coding force-pushed the feature/stats-button-handlers branch from 265daab to d7c7334 Compare October 9, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maintenance This needed doing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants