Commit Graph

8 Commits

Author SHA1 Message Date
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
621e8b358b Popup is now calling the browser storage directly instead of using the messaging system. Should be a bit faster. 2023-01-27 17:30:10 -05:00
Ryan Breen
f98ab34f0a Replace console.log with bglog. 2023-01-26 20:26:23 -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