refactor: one copy of the UI's repeated helpers #77

Merged
keb merged 1 commits from refactor/ui-duplication into main 2026-10-15 10:43:42 +02:00
Owner
  • Text inputs come from newTextInput; the link and folder prompts share one width.
  • One starred-first sort for sources, vaults and secrets; accountOf where the account was cut from the label by hand.
  • One helper each for the reveal and clipboard countdowns' tick and seconds, the "Open with" choices, the vaults-loaded count, and Go to's and the panes' tabs.
  • The details pane builds its label prefix, indent, note and source once; list rows mark matches with MarkMatches.
  • The release page opens through openPage, so it now says it opened, as other pages do.
  • The cache's account filter is built once per load or save, not per key.

🤖 Generated with Claude Code

- Text inputs come from newTextInput; the link and folder prompts share one width. - One starred-first sort for sources, vaults and secrets; accountOf where the account was cut from the label by hand. - One helper each for the reveal and clipboard countdowns' tick and seconds, the "Open with" choices, the vaults-loaded count, and Go to's and the panes' tabs. - The details pane builds its label prefix, indent, note and source once; list rows mark matches with MarkMatches. - The release page opens through openPage, so it now says it opened, as other pages do. - The cache's account filter is built once per load or save, not per key. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
keb added 1 commit 2026-10-15 10:42:41 +02:00
refactor: one copy of the UI's repeated helpers
CI / Checks (pull_request) Successful in 36s
PR title / Conventional title (pull_request) Successful in 1s
0ec7b4b7d7
- Text inputs come from newTextInput; the link and folder prompts share one width.
- One starred-first sort for sources, vaults and secrets; accountOf where the account was cut from the label by hand.
- One helper each for the reveal and clipboard countdowns' tick and seconds, the "Open with" choices, the vaults-loaded count, and Go to's and the panes' tabs.
- The details pane builds its label prefix, indent, note and source once; list rows mark matches with MarkMatches.
- The release page opens through openPage, so it now says it opened, as other pages do.
- The cache's account filter is built once per load or save, not per key.
keb force-pushed refactor/ui-duplication from 4d601bb82f to 0ec7b4b7d7 2026-10-15 10:42:41 +02:00 Compare
keb merged commit df429002c9 into main 2026-10-15 10:43:42 +02:00
keb deleted branch refactor/ui-duplication 2026-10-15 10:43:42 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keb/lazysecrets#77