Skip to content

Commit d93f0d4

Browse files
committed
fix profile management — duplicate prevention, debounce, delete from view
1. Duplicate nsec check: if the key already exists in another profile, shows error with the profile name. Prevents accidental duplicates from rapid clicking. 2. Save button debounce: disabled after first click, re-enabled on completion or error. Prevents multiple profile creation on unresponsive UI. 3. Delete from profile view: "Delete This Profile" button now visible on the read-only profile view screen (not just the edit screen). Only shows when there's more than one profile.
1 parent 541b636 commit d93f0d4

17 files changed

Lines changed: 55848 additions & 112 deletions

distros/safari/api-keys/api-keys.build.js

Lines changed: 790 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/background.build.js

Lines changed: 10629 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/content.build.js

Lines changed: 361 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/event_history/event_history.build.js

Lines changed: 5428 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/experimental/experimental.build.js

Lines changed: 245 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/nostr-keys/nostr-keys.build.js

Lines changed: 5544 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/nostr.build.js

Lines changed: 113 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/safari/options.build.css

Lines changed: 1903 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)