Skip to content

Enable saving second-level subpages - #2532

Open
jtenniswood wants to merge 1 commit into
mainfrom
enable-second-level-subpage-saving
Open

jtenniswood wants to merge 1 commit into
mainfrom
enable-second-level-subpage-saving

Conversation

@jtenniswood

@jtenniswood jtenniswood commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Enable the editor to create and save a subpage inside a first-level subpage when the connected firmware advertises depth-two writes. Keep both document readers and retain lossless v1 storage for flat dashboards when v2 exceeds the available storage. The published v2.17.0 release manifest establishes the minimum compatible reader. Saving requires firmware that includes this PR.

Automated verification

  • Passed all 246 host firmware tests and 58 focused web unit tests.
  • Passed the nested backup browser smoke checks, including older-firmware write protection.
  • Verified the release contract and downgrade reader floor against published GitHub release manifests.

4.3-inch Guition JC4880P443 OTA verification

  • Installed the official v2.16.1 image as the baseline, then upgraded over OTA to the PR image built from a999df63e. The saved dashboard was byte-for-byte identical across the upgrade. The live configurator showed the three Home cards and all five cards each on Lighting and Devices, with Back returning to Home.
  • Saved a temporary second-level subpage under Lighting with a Date & Time card. It persisted byte-for-byte through reboot. Verified Back through both levels in the live configurator.
  • Restored the original v2.16.1 backup and verified the original cards, subpages, settings, and navigation. Restored the nested backup afterward and verified that it recreated the saved graph byte for byte.
  • Restored the original dashboard and returned the panel to stable v2.17.0. Manual brightness reported 90% after boot on both the PR image and stable v2.17.0. Restored the pre-test 50% setting and verified the final panel backup and navigation.

To reproduce, start with a working v2.16.1 dashboard and backup, install the branch firmware over OTA, then open the original subpages and save a second-level subpage with a card. Reboot and check both Back actions. Import the pre-upgrade backup, then import a backup containing the nested page and confirm it returns.

Lab upgrade matrix

Panel OTA path tested Result
4.3-inch Guition JC4880P443 v2.16.1 and v2.17.0 → PR Passed. The published v2.17.0 reader also reopened the exact nested save from the PR over OTA.
7-inch V2 Guition JC1060P470 v2.16.1 → PR Passed.
ESP32-P4-86 v2.16.1 → PR Passed. The configured screensaver PIN was preserved.
ESP32-S3 4848S040 v2.16.1 → PR Passed.
10-inch V3 Guition JC8012P4A1 PR image compiled Hardware OTA pending. The panel did not respond at its lab address.

Each reachable panel preserved the original dashboard bytes across the upgrade. The panel-backed configurator showed the original cards and Back navigation. A nested clock card survived reboot, and restoring the exported nested backup reproduced its saved bytes. The lab round-trips used the native configuration endpoint and preserved the P4-86 PIN. The 4.3-inch test above also exercised the full web backup importer. All four panels were returned to stable v2.17.0 with their original dashboards and settings. Stable firmware reported higher manual brightness after boot on these panels, so their original brightness was restored and rechecked.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T17:49:15.571423Z a999df6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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