Repository navigation
fix(start-wrt): let Edit change a Wi-Fi password - #4470
Conversation
The Wi-Fi password dialog hid the Password field when editing, so the only way to change a password was to delete and re-create it, and the unique-label rule made keeping the label a three-step dance. Edit now shows the field pre-filled with the current value, with reveal and Generate, and notes that devices on the old password will disconnect. The backend already classifies a key-only change as a PSK hot-reload, and hostapd's RELOAD_WPA_PSK kicks only stations whose PSK no longer matches, so clients on other passwords stay connected. Edit's save now runs through FormService.save (ActionService) instead of a bare store(): the dry-run preview returns before validation, so a rejected apply (duplicate password or label, too-long PSK) used to fail silently with no toast. The dialog help described the label as the SSID devices see and each entry as its own network; every password joins the one SSID and the label is never broadcast. Fixed in all five locales, and the book's Editing section now lists the password. Closes #4388
helix-white
left a comment
There was a problem hiding this comment.
Requesting changes for one user-visible accuracy issue.
[P2] Warn that editing the first Admin password can disconnect every Wi-Fi client. projects/start-wrt/docs/src/wifi.md:35 promises that devices using other passwords stay connected. That is false for the first Admin password, including the usual default entry. In backend/ctrl/src/wifi.rs, set_config() copies that password into iface.key; changing it sets iface_config_changed and returns WifiRestart::Full. set() then calls reload_wifi(..., WifiReload::Restart), which runs wifi without reload and rebuilds every interface. Clients on other passwords therefore also lose connectivity briefly. The reported Guest-profile bench test and existing password-change unit test exercise the different, PSK-only path.
The proposal keeps the existing backend behavior and corrects the dialog warning, five translated help texts, book, and changelog to disclose the possible network-wide interruption. Please also correct the description's unconditional key-only/hot-reload explanation; no backend redesign is needed for this fix.
Proposed changes: d24d173...proposal/4470
Reviewed head d24d173. It merges cleanly with current origin/master. The form result, save/error path, and published-port confirmation remain coherent. Ran the WRT i18n checker, Prettier over all proposal files, changelog version check, and git diff --check: all passed. Reused the author's recorded typecheck/build and Guest-profile bench evidence; I did not repeat hardware testing. CI remains queued for Prettier, Conflict Markers, the riscv64 binary, changelog validation, and non-docs detection; image/deploy jobs are skipped.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
The first Admin password is also each interface's main key, so changing it makes set_config report a full restart and every Wi-Fi client drops briefly. Other passwords take the PSK-only reload. Correct the dialog note, the five help locales, the book, and the changelog fragment.
|
Thanks. You were right: my bench test edited a Guest entry, so it never reached the first-Admin path. I took your proposal as I benched it on the K1 at
|
|
The proposal is applied unchanged as |
helix-white
left a comment
There was a problem hiding this comment.
Approved at b5d9a256a. The previous finding is resolved: the warning, help, book, changelog, and description now acknowledge that a password change can briefly disconnect every Wi-Fi client. The follow-up tree matches the reviewed proposal exactly, and the PR merges cleanly with current origin/master.
Points of Entry › Wi-Fi › Passwords › Edit now exposes the existing password field, including reveal and Generate, and saves its value instead of omitting it. The interruption notice appears when the password differs from its original value. Edit also reuses the existing form/action save path so backend validation failures produce a toast rather than an unhandled rejection; published-port deletion confirmation is retained. Separately, all five help locales correctly distinguish the private password label from the broadcast network name. This addresses #4388.
The backend remains authoritative for reload behavior: changing the first Admin password restarts Wi-Fi, while other password changes use PSK reload. The conservative warning avoids duplicating that decision in the frontend. There is no backend or stored-config migration.
Implementation diff: +65 / −47 lines in 12 files (excludes lockfiles, tests, repository docs, release notes, and changelog; includes runtime help text and translations).
Verification: I exercised the final-head UI in Chromium against its mock API: the current password is prefilled, the warning appears on change and disappears on revert, and the corrected dialog help renders. Screenshots follow separately. I reused the passing i18n, formatting, changelog-version, and whitespace checks from the identical proposal tree, plus the author's recorded final-head typecheck, production build, and K1 smoke results. The author's K1 test at this head confirms a full interface restart for Default and PSK hot-reload for a Guest entry. Actual Wi-Fi client disconnection remains untested because the bench has no Wi-Fi client. CI is still pending for formatting, conflict scanning, changelog validation, change classification, and the riscv64 binary; the full image and deploy jobs are skipped.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
This re-request is already covered by my approval of the unchanged head |
|
Cross-review requested. |
helix-white
left a comment
There was a problem hiding this comment.
Approved at b5d9a256a1af1fc22901d08d55dda39a1f4f7bc5. The head is unchanged from the previous approval, and a fresh git merge-tree --write-tree origin/master HEAD succeeds. No further correctness findings.
Points of Entry › Wi-Fi › Passwords › Edit now exposes the stored password with the existing reveal and Generate controls and saves changes to it. A notice appears while the password differs from its original value, warning that all Wi-Fi devices may briefly disconnect and devices using the old password must reconnect with the new one.
Edit also reuses the existing form/action save path, which surfaces rejected saves as error toasts rather than unhandled rejections. Published-port deletion confirmation remains intact. Separately, help in all five languages correctly distinguishes a password's private label from the shared broadcast network name. The book and changelog describe password editing and its possible interruption. This addresses #4388.
The backend remains authoritative for disruption: changing the first Admin password restarts the interfaces; other password changes use PSK reload. The warning correction proposed in the earlier cross-review covers both without duplicating the backend selection rule in the frontend. No backend or stored-config migration is introduced.
Implementation diff: +65 / −47 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; counts runtime help and translations as implementation).
Verification: I inspected the diff, traced both dialog callers and the shared save/error path, confirmed the unchanged head, and reran the merge simulation. I reused the passing formatting, i18n, version, and whitespace checks recorded for the identical proposal tree; the prior final-head Chromium checks; and the author's recorded final-head typecheck, production build, and K1 smoke/behavioral results. On that K1 build, editing Default restarted both radios, editing Guest hot-reloaded its PSK, and a duplicate label produced an error toast. Real Wi-Fi client disconnection remains untested because the bench has no Wi-Fi client. No hardware tests or builds were repeated for this unchanged head.
Current CI: Conflict Markers and Classify edit pass. Prettier, changelog validation, non-docs detection, and metadata processing are queued; the riscv64 binary is in progress. Full-image and deploy jobs are skipped. This approval does not assert that pending CI passed.
Final-head screenshots reused from the existing review:
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Helix-Identity: helix-b
|
Handoff confirmed: head |
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
|
Merged current master (d510a40) while preserving the PR's commits. Added German, Spanish, French and Polish companions for its changed fragments, with canonical audience metadata and generated Highlights/Security sections. Removed summary-only release files where applicable and retained Important notices. Verification: affected-product version checks, compilation of complete localized note bundles, and scoped formatting passed. Product builds/tests are running in CI. |
Dismissed by Helix: the PR contains changes made after this review.
dr-bonez
left a comment
There was a problem hiding this comment.
In edit (passwords/index.ts:173), if (index < 0) return silently drops the edit when the password was changed or deleted while the dialog was open. Now that passwords can change this is easier to hit, so it should show an explicit error instead.
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
|
Agreed. I published a focused reviewer proposal for this finding: The missing-entry guard now opens the existing negative-notification primitive with “This Wi-Fi password was changed or deleted. Your changes were not saved.” and returns before previewing or saving anything. The message is translated in all five dictionaries, and the existing changelog bundle records the error feedback. I also removed the three TODO-only comments in the touched page. The PR branch and author’s description are unchanged. This is a code-inspected proposal, not an applied fix: no builds, tests, typechecks, or lint were run. Current CI passes on |
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
|
Confirmed a real conflict against fetched I updated the reviewer proposal, without touching
Proposed changes: 24b0b19...proposal/4470 The proposal merges cleanly with the fetched base according to |
|
Rechecked against fetched master |
helix-white
left a comment
There was a problem hiding this comment.
Approved at bd87ab47a. This head rewrites the branch history from my previous approval at 480d24493, but the PR's diff against master has the same patch ID as that head, and nothing under projects/start-wrt differs between them. @dr-bonez's stale-edit finding and the dictionary conflicts stay resolved, and git merge-tree against current master (ad6d9a9f1) is clean. @dr-bonez's change request is still open and he is requested for re-review.
The author's description still describes b5d9a256a. It omits the stale-edit error, and its Testing section predates that change. I left it as written.
Summary
Points of Entry › Wi-Fi › Passwords › Edit now shows the stored password, with the existing reveal and Generate controls, and saves changes to it. While the value differs from the original, the dialog shows: "Changing this password may briefly disconnect all Wi-Fi devices. Devices using the old password must reconnect with the new one." The book, help and changelog say the same. This closes #4388.
If the entry's password was changed or deleted while the dialog was open, Save now shows a red notification instead of silently doing nothing: "This Wi-Fi password was changed or deleted. Your changes were not saved." The dialog has already closed by then, so the user's typed edits are lost and must be re-entered.
Two additional fixes:
- All five help locales stop calling the label the network name. The label appears only in this interface.
- Edit now saves through
FormService.save, the shared save path with its loading and error handling, so a backend rejection such as a duplicate label shows a toast instead of an unhandled rejection. The published-port deletion confirmation is kept.
Implementation diff: +89 / −52 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; counts runtime help text and dictionary strings as implementation).
Approach
- There is no backend or stored-config change. The backend still decides how disruptive a change is: changing the first Admin password restarts every Wi-Fi interface, and any other password is a PSK-only reload. The warning says "may" so the frontend does not need a second copy of that rule.
- The stale-edit error uses
TuiNotificationService, the notification service other StartWRT components already use. A stale edit is still detected by looking the entry up by its original password, because entries have no other stable ID. A label or profile changed elsewhere under the same password is therefore not detected, and the edit overwrites it. Edit already behaved that way. - The two new strings use dictionary IDs 602 and 603, present in all five locales, after
mastertook 599–601.
Testing
- I built and ran nothing for this head. The evidence below is reused because the PR's diff is unchanged from
480d24493. - At
480d24493, I ran the mock UI in headless Chromium and changed the entry's password through the service while the dialog was open. Save showed the error, the table reloaded, and the edited label was not saved. That run also confirmed the dictionary string renders. - The author's K1 bench results are recorded at
b5d9a256a, before the stale-edit change and the merges. They showed a full interface restart for Default, a PSK-only reload for a Guest entry, the duplicate-label toast, and a passingbench.sh smoke. The Wi-Fi code they exercised is unchanged except for the stale-edit branch. - No real Wi-Fi client disconnection has been exercised, because the bench has no Wi-Fi client. The stale-edit path has not been exercised on real hardware.
- CI on
bd87ab47aso far: Prettier, Conflict Markers, Changelog fragments & versions and Detect non-docs changes pass. The riscv64 binary is still building. Run Automated Tests, Formatting & Lockfiles, Dependency Licenses and Generated Artifacts are queued. The image and deploy jobs are skipped.
Screenshots
All four come from earlier heads and still represent this one, because nothing under projects/start-wrt has changed since the last was captured and the dialog is unchanged since the first three.
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
|
Confirmed a real conflict between PR head I replaced Repair: bd87ab4...proposal/4470
@Dominion5254, to adopt it, fast-forward the branch to |
|
Repair: bd87ab4...proposal/4470
@Dominion5254, to adopt it, fast-forward the branch to |
|
@helix-a I merged The merged edit flow keeps the stale-edit error and the edited password, and calls |
helix-white
left a comment
There was a problem hiding this comment.
Approved at b84bb6c83. @Dominion5254 merged master himself. The PR's diff against master has the same patch ID as the repair I proposed at b619b5610. git merge-tree against current master (aa274d58b) is clean. @dr-bonez's earlier change request is still open, and he is requested for re-review.
The author's description still describes b5d9a256a. It omits the stale-edit error, still describes the old published-port confirmation, and its Testing section predates the later changes. The author's PR comment covers the merge but leaves the description unchanged; I left it as written.
Summary
Points of Entry › Wi-Fi › Passwords › Edit now shows the stored password, with the existing reveal and Generate controls, and saves changes to it. While the value differs from the original, the dialog shows: "Changing this password may briefly disconnect all Wi-Fi devices. Devices using the old password must reconnect with the new one." The book, help and changelog say the same. This closes #4388.
If the entry's password was changed or deleted while the dialog was open, Save now shows a red notification instead of silently doing nothing: "This Wi-Fi password was changed or deleted. Your changes were not saved." The dialog has already closed by then, so the user's typed edits are lost and must be re-entered.
Two additional fixes:
- All five help locales stop calling the label the network name. The label appears only in this interface.
- Edit now saves through
FormService.save, the shared save path with its loading and error handling, so a backend rejection such as a duplicate label shows a toast instead of an unhandled rejection.
Implementation diff: +89 / −52 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; counts runtime help text and dictionary strings as implementation).
Interaction with #4466
- After merging
master, Edit calls #4466'sconfirmLeavingProfilebefore saving, in place of the removed published-port deletion confirmation. This PR's change is unchanged around it. - A password-only edit does not open that dialog. The backend's
wifi_devices_leaving_profilecompares the set of profiles that have a password before and after the change, and changing a password's text leaves that set the same. - The book's "Editing a Wi-Fi Password" paragraph keeps both sides: this PR's sentences about changing the password and the possible disconnect, and
master's sentences about the leaving-profile dialog.
Approach
- There is no backend or stored-config change. The backend still decides how disruptive a change is: changing the first Admin password restarts every Wi-Fi interface, and any other password is a PSK-only reload. The warning says "may" so the frontend does not need a second copy of that rule.
- The stale-edit error uses
TuiNotificationService, the notification service other StartWRT components already use. A stale edit is still detected by looking the entry up by its original password, because entries have no other stable ID. A label or profile changed elsewhere under the same password is therefore not detected, and the edit overwrites it. Edit already behaved that way. - The two new strings use dictionary IDs 618 and 619 in all five locales, because
masternow uses IDs through 617.
Testing
- The author reports
npm run check:wrtandnpm run check:i18n:wrtpassing atd8df9cb39. The later merge,b84bb6c83, brought in no conflicts and no changes to the Wi-Fi web code. - At
480d24493, I ran the mock UI in headless Chromium and changed the entry's password through the service while the dialog was open. Save showed the error, the table reloaded, and the edited label was not saved. That error branch returns before the merged confirmation step, so the result still holds. I ran nothing for this head. - The author's K1 bench results are from
b5d9a256a. They showed a full interface restart for Default, a PSK-only reload for a Guest entry, the duplicate-label toast, and a passingbench.sh smoke. No real Wi-Fi client disconnection has been exercised, and neither the stale-edit path nor the merged leaving-profile confirmation has been run on hardware. - CI on
b84bb6c83so far: Detect non-docs changes and one Conflict Markers run pass. Prettier, Changelog fragments & versions and the riscv64 binary are running. Classify edit and a second Conflict Markers run are queued. The image, deploy and per-product test jobs are skipped.
Screenshots
All four come from earlier heads. They still represent this one, because the dialog has not changed since they were captured, and the help changes since then belong to master's backup topics, not this dialog.
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
|
Confirmed a real conflict between PR head I replaced Repair: b84bb6c...proposal/4470
@Dominion5254, to adopt it, fast-forward the branch to |
# Conflicts: # projects/start-wrt/web/src/app/i18n/dictionaries/de.ts # projects/start-wrt/web/src/app/i18n/dictionaries/en.ts # projects/start-wrt/web/src/app/i18n/dictionaries/es.ts # projects/start-wrt/web/src/app/i18n/dictionaries/fr.ts # projects/start-wrt/web/src/app/i18n/dictionaries/pl.ts
helix-white
left a comment
There was a problem hiding this comment.
Approved at 656ddbeee. @Dominion5254 merged master himself. The PR's diff against master has the same patch ID as the repair I proposed at 3d591386a. git merge-tree against current master (04fff2e12) is clean. @dr-bonez's earlier change request is still open, and he is requested for re-review.
The author's description is now up to date. It covers the stale-edit error, the leaving-profile confirmation, the 619 and 620 IDs, and the checks run after each merge.
Summary
Points of Entry › Wi-Fi › Passwords › Edit now shows the stored password, with the existing reveal and Generate controls, and saves changes to it. While the value differs from the original, the dialog shows: "Changing this password may briefly disconnect all Wi-Fi devices. Devices using the old password must reconnect with the new one." The book, help and changelog say the same. This closes #4388.
If the entry's password was changed or deleted while the dialog was open, Save now shows a red notification instead of silently doing nothing: "This Wi-Fi password was changed or deleted. Your changes were not saved." The dialog has already closed by then, so the user's typed edits are lost and must be re-entered.
Two additional fixes:
- All five help locales stop calling the label the network name. The label appears only in this interface.
- Edit now saves through
FormService.save, the shared save path with its loading and error handling, so a backend rejection such as a duplicate label shows a toast instead of an unhandled rejection.
Implementation diff: +89 / −52 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; counts runtime help text and dictionary strings as implementation).
Interaction with #4466
- After merging
master, Edit calls #4466'sconfirmLeavingProfilebefore saving, in place of the removed published-port deletion confirmation. This PR's change is unchanged around it. - A password-only edit does not open that dialog. The backend's
wifi_devices_leaving_profilecompares the set of profiles that have a password before and after the change, and changing a password's text leaves that set the same. - The book's "Editing a Wi-Fi Password" paragraph keeps both sides: this PR's sentences about changing the password and the possible disconnect, and
master's sentences about the leaving-profile dialog.
Approach
- There is no backend or stored-config change. The backend still decides how disruptive a change is: changing the first Admin password restarts every Wi-Fi interface, and any other password is a PSK-only reload. The warning says "may" so the frontend does not need a second copy of that rule.
- The stale-edit error uses
TuiNotificationService, the notification service other StartWRT components already use. A stale edit is still detected by looking the entry up by its original password, because entries have no other stable ID. A label or profile changed elsewhere under the same password is therefore not detected, and the edit overwrites it. Edit already behaved that way. - The two new strings use dictionary IDs 619 and 620 in all five locales, because
masternow uses IDs through 618.
Testing
- The author reports
npm run check:wrtandnpm run check:i18n:wrtpassing atd8df9cb39. At656ddbeee, they reportnpm run check:i18n:wrt, the changelog version check and Prettier on the changed files passing. The merges afterd8df9cb39changed no Wi-Fi web code apart from the renumbering. - At
480d24493, I ran the mock UI in headless Chromium and changed the entry's password through the service while the dialog was open. Save showed the error, the table reloaded, and the edited label was not saved. That error branch returns before the merged confirmation step, so the result still holds. I ran nothing for this head. - The author's K1 bench results are from
b5d9a256a. They showed a full interface restart for Default, a PSK-only reload for a Guest entry, the duplicate-label toast, and a passingbench.sh smoke. No real Wi-Fi client disconnection has been exercised, and neither the stale-edit path nor the merged leaving-profile confirmation has been run on hardware. - CI on
656ddbeeeso far: Detect non-docs changes, Classify edit, Metadata edit and one Conflict Markers run pass. Prettier, Changelog fragments & versions, a second Conflict Markers run and the riscv64 binary are running. The image, deploy and per-product test jobs are skipped.
Screenshots
All four come from earlier heads. They still represent this one, because the dialog has not changed since they were captured, and the help changes since then belong to master's backup topics, not this dialog.
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol Helix-Identity: helix-b
|
Taken over implementation of this existing branch as requested by @dr-bonez. Pushed The requested stale-edit error is already on the branch: if the original password no longer exists, Save shows “This Wi-Fi password was changed or deleted. Your changes were not saved.” and returns before previewing or saving. The translated warning and stale-edit message remain at IDs 619 and 620. No further Wi-Fi implementation change was needed. Both failed checks on Verification: GitHub reports the new head mergeable. Fresh CI is queued for Prettier, Conflict Markers, changelog validation, change detection, and the riscv64 binary; image/deploy jobs are skipped. Those pending checks are not yet success. Requesting independent cross-review of the integration update. @dr-bonez's earlier change request still needs final re-review afterward. |
|
This CI notification concerns superseded head |
helix-white
left a comment
There was a problem hiding this comment.
Approved at 79077f258. This head only merges master (0b69dc3fb) into 656ddbeee, the head I last approved. The PR's diff against master has the same patch ID as at 656ddbeee. Nothing under projects/start-wrt/web, docs or changelog changed, and the backend matches master exactly. git merge-tree against current master is clean. @dr-bonez's earlier change request is still open, and he is requested for re-review.
The merge brings in #4656, which adds the missing NameProfileFirewallSections arm to Migration::purpose() in migrate.rs. Without it, the riscv64 binary and Automated Tests failed to compile at 656ddbeee. This is master's fix as-is, and it is not part of this PR's change. The author's description is up to date.
Summary
Points of Entry › Wi-Fi › Passwords › Edit now shows the stored password, with the existing reveal and Generate controls, and saves changes to it. While the value differs from the original, the dialog shows: "Changing this password may briefly disconnect all Wi-Fi devices. Devices using the old password must reconnect with the new one." The book, help and changelog say the same. This closes #4388.
If the entry's password was changed or deleted while the dialog was open, Save now shows a red notification instead of silently doing nothing: "This Wi-Fi password was changed or deleted. Your changes were not saved." The dialog has already closed by then, so the user's typed edits are lost and must be re-entered.
Two additional fixes:
- All five help locales stop calling the label the network name. The label appears only in this interface.
- Edit now saves through
FormService.save, the shared save path with its loading and error handling, so a backend rejection such as a duplicate label shows a toast instead of an unhandled rejection.
Implementation diff: +89 / −52 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; counts runtime help text and dictionary strings as implementation).
Interaction with #4466
- After merging
master, Edit calls #4466'sconfirmLeavingProfilebefore saving, in place of the removed published-port deletion confirmation. This PR's change is unchanged around it. - A password-only edit does not open that dialog. The backend's
wifi_devices_leaving_profilecompares the set of profiles that have a password before and after the change, and changing a password's text leaves that set the same. - The book's "Editing a Wi-Fi Password" paragraph keeps both sides: this PR's sentences about changing the password and the possible disconnect, and
master's sentences about the leaving-profile dialog.
Approach
- There is no backend or stored-config change. The backend still decides how disruptive a change is: changing the first Admin password restarts every Wi-Fi interface, and any other password is a PSK-only reload. The warning says "may" so the frontend does not need a second copy of that rule.
- The stale-edit error uses
TuiNotificationService, the notification service other StartWRT components already use. A stale edit is still detected by looking the entry up by its original password, because entries have no other stable ID. A label or profile changed elsewhere under the same password is therefore not detected, and the edit overwrites it. Edit already behaved that way. - The two new strings use dictionary IDs 619 and 620 in all five locales, because
masternow uses IDs through 618.
Testing
- The author reports
npm run check:wrtandnpm run check:i18n:wrtpassing atd8df9cb39. At656ddbeee, they reportnpm run check:i18n:wrt, the changelog version check and Prettier on the changed files passing. The merges afterd8df9cb39changed no Wi-Fi web code apart from the renumbering. - At
480d24493, I ran the mock UI in headless Chromium and changed the entry's password through the service while the dialog was open. Save showed the error, the table reloaded, and the edited label was not saved. That error branch returns before the merged confirmation step, so the result still holds. I ran nothing for this head. - The author's K1 bench results are from
b5d9a256a. They showed a full interface restart for Default, a PSK-only reload for a Guest entry, the duplicate-label toast, and a passingbench.sh smoke. No real Wi-Fi client disconnection has been exercised, and neither the stale-edit path nor the merged leaving-profile confirmation has been run on hardware. - CI on
79077f258so far: Prettier, Conflict Markers and Detect non-docs changes pass. The riscv64 binary, Changelog fragments & versions, Run Automated Tests, Formatting & Lockfiles, Dependency Licenses and Generated Artifacts have not reported. The image and deploy jobs are skipped.
Screenshots
All four come from earlier heads. They still represent this one, because the dialog has not changed since they were captured, and the help changes since then belong to master's backup topics, not this dialog.
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
|
Cross-review approved current head |
|
This duplicate approval notification is already covered by the handoff: #4470 (comment). Head |
Dismissed by Helix: the changes require a substantive PR brief update. Since the approved head b5d9a25, Edit gained a new user-visible failure path (commit b93f121, still present at 79077f2): when the entry was changed or deleted while the dialog was open, Save now shows the red notification 'This Wi-Fi password was changed or deleted. Your changes were not saved.' instead of silently dropping the edit. The string was added to all five dictionaries and to the changelog. The approved brief does not describe this error path. The master merges also replaced the published-port deletion confirmation, which the approved brief said was retained, with #4466's confirmLeavingProfile on Edit and Delete. The brief's statements about stale-edit handling and the confirmation step must change, so the approval does not survive.
|
Retiring the marked review from @helix-b (#4470 (review)). Dismissed by Helix: the changes require a substantive PR brief update. Since the reviewed head b5d9a25, Edit gained a new user-visible error path (commit b93f121, still present at 79077f2): when the entry was changed or deleted while the dialog was open, Save now shows the red notification 'This Wi-Fi password was changed or deleted. Your changes were not saved.' instead of silently dropping the edit. The string was added to all five dictionaries and to the changelog. The reviewed brief does not mention it. The master merges also replaced the published-port deletion confirmation with #4466's confirmLeavingProfile on Edit and Delete, so the reviewed statement 'Published-port deletion confirmation remains intact' is now false. Both brief facts must change, so the approval does not survive. |
Dismissed by Helix: the changes require a substantive PR brief update. The change request on 24b0b19 says Edit's if (index < 0) return in passwords/index.ts silently drops an edit when the entry was changed or deleted while the dialog was open. At 79077f2 (commit b93f121), that branch shows the red notification 'This Wi-Fi password was changed or deleted. Your changes were not saved.', with the string in all five dictionaries (ID 620) and the changelog. The brief must now describe this stale-edit error, which did not exist at the reviewed head. The master merges also replaced confirmPublishedPortDeletion with #4466's confirmLeavingProfile on Edit and Delete. The review's premise no longer holds, so it does not survive.
|
Verified every current check on |




Closes #4388.
Points of Entry › Wi-Fi › Passwords › Edit can now change the password itself. Before, the dialog offered only Label and Security Profile. Changing a password meant deleting the entry and re-creating it, and because labels must be unique, keeping the same label took three steps.
FormService.save, the shared store-then-refresh path that shows a toast on error, instead of callingstore()andrefresh()directly. Thewifi.setdry-run returns before validation, so a rejected apply used to fail silently with an unhandled rejection. Examples are a duplicate label or password, or a PSK over 63 characters. Editable passwords make those errors much easier to hit. feat(start-wrt): keep reservations and published ports per profile #4466's confirmation for devices leaving their profile still runs before the save.docs/src/wifi.mdand the fragmentpatch-fixed-wifi-password-edit.mddescribe the change and the possible interruption.masteralready sets 1.4.0, so no version bump.Implementation diff: +89 / −52 lines in 12 files (excludes lockfiles, tests, docs, release notes, and changelog; the runtime help text and dictionary strings are counted as implementation).
Approach
There is no backend change. The backend already decides how disruptive a password change is, and the UI does not copy that rule:
key. Changing it makesset_configreturnWifiRestart::Full, which restarts every radio interface, and every client drops briefly.RELOAD_WPA_PSK, which disconnects only stations whose PSK no longer matches.The note therefore says the change may disconnect all devices. A note that names the first-Admin case exactly would put a second copy of the backend's key-selection rule in the frontend. @helix-a found during cross-review that the first draft wrongly promised that devices on other passwords stay connected, and proposed the corrected wording now in the dialog, help, book and changelog.
Changing only the password leaves the edit on its profile, so it raises no leaving-profile confirmation:
wifi_devices_leaving_profilecompares the sets of profiles that have passwords, not the passwords themselves.Screenshots
Final-head UI, captured by @helix-a against the mock API:
Testing
b5d9a256a:npm run check:wrt(typecheck),npm run check:i18n:wrt,node scripts/changelog.mjs check-version projects/start-wrt, and the production UI build (make start-wrt-update): all pass.b5d9a256abuild (confirmed withbench.sh deployed), with the real UI driven in headless Chromium:keyon both radios. hostapd loggedRestart interface for phy phy0/phy1, and the activity log recordedwifi.updated(full restart). The original key was then restored through the UI.wifi.passwords-updated, the hostapd PIDs stayed the same, and bothhostapd-phy*-ap0.pskfiles hold the new key and not the old one.Defaultnow shows the toastDuplicate WiFi Password Label, and the router logged the matching rejection.bench.sh smokepasses.d8df9cb39, the merge ofmasterab89a1bc5(which resolved the dictionary ID collisions with feat(start-wrt): encrypt backups with the admin password #4599 and feat(start-wrt): keep reservations and published ports per profile #4466 and thewifi.mdparagraph):npm run check:wrtandnpm run check:i18n:wrtpass, andcheck-versionpasses.b84bb6c83then mergedmasteraa274d58bwithout conflicts. The merged edit flow with feat(start-wrt): keep reservations and published ports per profile #4466's leaving-profile confirmation was checked by typecheck and by reading the backend, not on the K1.656ddbeee, the merge ofmaster04fff2e12(which resolved one more dictionary ID collision: master's DNS-publishing hint took 618, so this PR's two strings are now 619 and 620 in all five dictionaries):npm run check:i18n:wrt,check-version, and prettier on the changed files pass.Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b