Commit Graph

18 Commits

Author SHA1 Message Date
Ryan Breen
c30b82c2d1 Fixing bug where options window won't close in some cases. 2023-02-11 23:27:58 -05:00
Ryan Breen
6c83c24921 Added page for Experimental features, with NIP-26 support. 2023-02-11 21:42:40 -05:00
Ryan Breen
2aabd443e1 Run some sanity checks/validations on the private key input. Cannot save it unless the field is valid. 2023-02-06 00:06:27 -05:00
Ryan Breen
c832aa22af Permissions UI with user requests and modification post-saving.
Commits:

Basic, functional permission tab when requesting getPubKey. Only allows one time deny.

getPubKey and getRelays for sure working after prompt.

Changed the prompt to use a query string instead of background script queue. This should prevent any disconnect between the user expecting one thing and getting a different prompt.

It is not working using query string and working quite nicely.

Finally figured out the secret sauce to only open one prompt at a time.

Allow and deny now both work, with the option to remember the request next time.

Still tweaking lots of events to try and get the prompts working smoothly

Nice rendering for the event query message.

Tweaking the migration setup and the tab opening/closing code.

When remembering signing events, it is now scoped by event kind, as well!

Include extra event information in event signing dialogs.

Change confirm buttons to confirm dialog box.

Update nostr-tools to 1.2.1

The interface for app permissions looks good. Ready to work on functionality now.

Don't show app permissions section unless there are things to show.

Fix bug when saving a "Deny".

Additional formatting changes to options page for permissions UI.

Fine permissions seem to be working nicely!

Quick usability fix so that App Permissions section appears on Options page, even when there are no options selected.

Bumping build to #5. Preparing for new build release.
2023-02-05 20:40:30 -05:00
Ryan Breen
b6a4a5b5dc Added ability to run add recommended relays from popup. 2023-01-28 20:46:49 -05:00
Ryan Breen
6a31c3b135 Relays are finally working, thanks to a hacky solution. 2023-01-28 15:33:13 -05:00
Ryan Breen
97f706e180 Relays are partially working now in the options options script instead of background. 2023-01-27 23:24:29 -05:00
Ryan Breen
f0c5cd29dc Moved keys functionality into options now, except for the encryption code, which will stay in the background script. 2023-01-27 22:04:40 -05:00
Ryan Breen
6171b9395c On the options screen, profile names are now loaded directly from the store. 2023-01-27 17:34:47 -05:00
Ryan Breen
b0faf6146e Moved profile management into options UI. 2023-01-27 10:38:37 -05:00
Ryan Breen
0ea7f11356 Options is now showing keys, and changing keys as the dropdown is switched. 2023-01-26 23:02:31 -05:00
Ryan Breen
252c9d5234 Relay functionality in options is complete. 2023-01-26 22:08:05 -05:00
Ryan Breen
e08d19855e Solved a bug where the options window was breaking the popup window. The issue was that some branches of the message handler in the background script weren't returning anything at all. 2023-01-26 20:15:34 -05:00
Ryan Breen
6d9235d8c0 Validation for relay URL entry. 2023-01-24 23:17:15 -05:00
Ryan Breen
84a8d5ddeb Basic functionality for relay optoins 2023-01-24 22:44:34 -05:00
Ryan Breen
03af8e71ad Verifying simple script messaging. 2023-01-23 23:21:17 -05:00
Ryan Breen
25da1d0cab Setting up tailwinds-css for the options page 2023-01-23 23:03:02 -05:00
Ryan Breen
7537109c92 Basic setup for an options page. 2023-01-23 22:38:42 -05:00