Repository navigation
feat(software): Update Settings and Auto-update on the Update Software form CU-17tkuw6329p - #2864
Merged
Merged
Conversation
…e form CU-17tkuw61fh7
The form's UPDATE action gets the design's "Update Settings" block (988:21462,
separate auto-update rules 1034:8173): Wait & notify or Force Update, the
deadline and countdown, Keep it auto-updated and Same settings for auto-update.
The values ride on SoftwareActionFormValues.updateSettings, undefined for
INSTALL. showUpdateSettings={false} hides the block; the product demo uses it
so the picture still reaches the devices.
Also fixes the SoftwareActionForm stories, which imported a fixture export
that no longer exists.
Contributor
🦩 Flamingo Code Review1 finding: 🔴 1 action required · 🟠 0 recommended · 🔵 0 informational Advisory: findings do not block the merge. 1 defect outside any rule
🔴 Action required (1)
✅ What this change does well
Inline comments: 1 new 1 possible problem checked and ruled out
Change set
🤖 Prompt for AI agents: fix every findingNext: commit a suggestion, or hand a comment's prompt to your coding agent. React 👍 on a finding that helped and 👎 on one that is wrong: the reviewer learns from both. Review again. New commits are not reviewed until you ask:
Or comment Updated 2026-11-02 14:42 UTC · reviewed from Pavlo Shylo's machine |
showUpdateSettings defaults to false, so a host on a newer lib that does not send the settings yet never shows choices that go nowhere. The product demo drops its explicit false; the story and the settings tests turn the block on.
pavlo-flamingo
enabled auto-merge
November 2, 2026 14:54
romanivan-flamingo
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://app.clickup.com/t/17tkuw6329p (moved from https://app.clickup.com/t/17tkuw61fh7) (the Update Settings part)
Problem. The Update Software API now takes
updateSettingsandautoUpdate(openframe-oss-lib#2849), but the form has no place to set them.Fix.
SoftwareActionFormshows the design's "Update Settings" block for UPDATE (Figma 988:21462, separate auto-update rules 1034:8173):SoftwareActionFormValues.updateSettings, in seconds; undefined for INSTALL.showUpdateSettings={false}hides the block. The product demo passes it, so its picture still reaches the devices.Built from lib primitives only (
RadioGroupBlock,CheckboxBlock,Select,Alert). Defaults follow the design and the server: Wait & notify, 7 days, 5 minutes, auto-update on with the same settings.Also fixes the
SoftwareActionFormstories: they importedSOFTWARE_UPDATE_FIXTURE, which no longer exists, so every story failed to load.Checked: vitest, eslint (fast + type-aware), prettier, tsc; Storybook against Figma at 1280 and 390 px.
Change-Set: package-update-settings
Change set
flamingo-stack/fix-route-styles-full-sheet: these pull requests are one change, reviewed together.Linked work
Linked by the
Depends-On/Change-Setlines in these descriptions; this block is maintained by the hub.