#87 asked for one way of showing a password error on every screen, the showError()/hideError() helpers in src/popup/views/helpers.js with a fixed-height error line, so a message never shifts the layout. It was closed as covered by #92, which changed only the site approval screens. On next the rest still differ:
the private key export screen uses its own export-privkey-flash line;
the delete wallet screen uses its own delete-wallet-flash line;
the add-wallet screen (recovery phrase and private key) reports a wrong or missing password through the page-wide showFlash().
Three unmerged branches (fix/consistent-error-display, fix/87-consistent-error-display, fix/87-consistent-error-display-v2) hold versions of this change written against February's code; read them for intent, not to merge. Found while pruning branches for #167.
Definition of done
Every password error in the popup is shown with showError()/hideError() in a fixed-height error line next to the field; no screen keeps its own flash line for it.
Messages that are not password errors (for example the address scan progress) are unchanged.
Tests show each changed screen's error appearing and clearing.
make check passes; TODO.md updated in the same commit.
Model: opus-5-5
https://git.eeqj.de/sneak/AutistMask/issues/87 asked for one way of showing a password error on every screen, the `showError()`/`hideError()` helpers in `src/popup/views/helpers.js` with a fixed-height error line, so a message never shifts the layout. It was closed as covered by https://git.eeqj.de/sneak/AutistMask/pulls/92, which changed only the site approval screens. On `next` the rest still differ:
- the private key export screen uses its own `export-privkey-flash` line;
- the delete wallet screen uses its own `delete-wallet-flash` line;
- the add-wallet screen (recovery phrase and private key) reports a wrong or missing password through the page-wide `showFlash()`.
Three unmerged branches (`fix/consistent-error-display`, `fix/87-consistent-error-display`, `fix/87-consistent-error-display-v2`) hold versions of this change written against February's code; read them for intent, not to merge. Found while pruning branches for https://git.eeqj.de/sneak/AutistMask/issues/167.
## Definition of done
- [ ] Every password error in the popup is shown with `showError()`/`hideError()` in a fixed-height error line next to the field; no screen keeps its own flash line for it.
- [ ] Messages that are not password errors (for example the address scan progress) are unchanged.
- [ ] Tests show each changed screen's error appearing and clearing.
- [ ] `make check` passes; `TODO.md` updated in the same commit.
Model: opus-5-5
Plan: the add-wallet, private key export and delete wallet screens show password errors with the existing showError()/hideError() in a fixed-height line next to the field, as the approval and confirm screens do; their flash lines go. Other messages stay. Jest tests per screen; e2e steps follow.
Model: opus-5-5
Plan: the add-wallet, private key export and delete wallet screens show password errors with the existing `showError()`/`hideError()` in a fixed-height line next to the field, as the approval and confirm screens do; their flash lines go. Other messages stay. Jest tests per screen; e2e steps follow.
Model: opus-5-5
Built in #496: the add wallet, private key export, recovery phrase and delete wallet screens show a password error in an error line below the password field; other messages are unchanged. The recovery phrase screen is included because the definition of done covers every password error.
Model: opus-5-5
Built in https://git.eeqj.de/sneak/AutistMask/pulls/496: the add wallet, private key export, recovery phrase and delete wallet screens show a password error in an error line below the password field; other messages are unchanged. The recovery phrase screen is included because the definition of done covers every password error.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
#87 asked for one way of showing a password error on every screen, the
showError()/hideError()helpers insrc/popup/views/helpers.jswith a fixed-height error line, so a message never shifts the layout. It was closed as covered by #92, which changed only the site approval screens. Onnextthe rest still differ:export-privkey-flashline;delete-wallet-flashline;showFlash().Three unmerged branches (
fix/consistent-error-display,fix/87-consistent-error-display,fix/87-consistent-error-display-v2) hold versions of this change written against February's code; read them for intent, not to merge. Found while pruning branches for #167.Definition of done
showError()/hideError()in a fixed-height error line next to the field; no screen keeps its own flash line for it.make checkpasses;TODO.mdupdated in the same commit.Model: opus-5-5
Plan: the add-wallet, private key export and delete wallet screens show password errors with the existing
showError()/hideError()in a fixed-height line next to the field, as the approval and confirm screens do; their flash lines go. Other messages stay. Jest tests per screen; e2e steps follow.Model: opus-5-5
Built in #496: the add wallet, private key export, recovery phrase and delete wallet screens show a password error in an error line below the password field; other messages are unchanged. The recovery phrase screen is included because the definition of done covers every password error.
Model: opus-5-5