Commit Graph

462 Commits

Author SHA1 Message Date
fc0de1bc49 Upgrade nspec to latest, switch to version from JSR 2024-03-06 17:19:45 -06:00
613d97ea78 Merge branch 'jsr' into ditto-auth 2024-03-06 15:52:49 -06:00
3786c786e2 Align poll option text to center
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-29 23:13:39 +01:00
9174bd774a Replace react-hotkeys with updated fork for Vite compatibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-26 14:44:01 +01:00
d229166819 Load NKeys in initial chunk so it always locks the storage 2024-02-22 11:45:11 -06:00
470511acbb IdentityStep: prevent entry of nsec 2024-02-19 16:24:11 -06:00
3157969645 Advance from KeygenStep to AccountStep 2024-02-19 15:17:35 -06:00
0a3eb6b187 NKeyStorage: fix schema parser 2024-02-19 15:13:10 -06:00
623fb234b3 Fix ModalLoading component 2024-02-19 14:28:43 -06:00
5eb388bb3b KeygenStep: simplify it, add a tooltip over "Next" button 2024-02-19 14:07:18 -06:00
b1dc2486de ExtensionStep: get rid of my-6 2024-02-19 14:07:02 -06:00
451e7ab96d ExtensionStep: improve whitespace between elements 2024-02-19 13:49:05 -06:00
772cecf26b KeygenStep: display user's keys as copyable inputs 2024-02-19 13:26:39 -06:00
f20687313f NostrSigninModal: represent steps as strings instead of numbers 2024-02-18 23:20:20 -06:00
49bde675c3 Add KeygenStep, only show ExtensionStep when window.nostr is present 2024-02-18 22:55:05 -06:00
f2bfa6e2f6 Upgrade nspec, parse nsec the easier way 2024-02-18 18:00:37 -06:00
15ae362a8e Add NKeyStorage class to retrieve and set keys in browser storage in a mostly-secure way 2024-02-18 16:45:36 -06:00
b382a96d6a NostrSigninModal: make use of Back button 2024-02-18 13:34:52 -06:00
ba04c43477 NostrSigninModal: make each step render a Modal directly 2024-02-18 13:27:30 -06:00
9267ef28e3 Modal: support back button 2024-02-18 13:18:07 -06:00
9ddcb1634e NostrSigninModal: hold accountId instead of username in the state 2024-02-18 13:01:22 -06:00
872be9ead1 Flesh out AccountStep 2024-02-18 12:51:05 -06:00
4caacca2f7 IdentityStep: lookup the account before proceeding 2024-02-17 19:45:24 -06:00
a7c880e950 NostrExtensionIndicator: move to components/ subpath 2024-02-16 20:05:43 -06:00
407b19321d NostrSigninModal: add EmojiGraphic, use an emoji on each step 2024-02-16 20:04:25 -06:00
20328961fd Fill out KeyStep 2024-02-16 17:47:43 -06:00
603e2cc2ce Merge remote-tracking branch 'origin/main' into ditto-auth 2024-02-16 15:57:45 -06:00
7934d43426 useSettings: useMemo 2024-02-13 23:24:07 -06:00
ffdb744d16 Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
b0a82a23d0 StatusInfo: truncate long text 2024-02-13 22:02:13 -06:00
a0a37b7296 Make accountLookup work with Nostr 2024-02-13 20:22:56 -06:00
b950a7a052 Rework Nostr modal actions 2024-02-13 17:01:07 -06:00
1618fbbb8f NostrSigninModal: scaffold steps 2024-02-12 19:39:34 -06:00
1c97a163d0 NostrSigninModal: add extension indicator, flesh out IdentityStep 2024-02-12 17:57:44 -06:00
15af206a45 useAppSelector: export type 2024-02-12 17:57:28 -06:00
a9d311028e ExtensionStep: make it kind of work 2024-02-11 17:13:29 -06:00
e02ca0e0af Reduce circular imports in UI components 2024-02-11 16:40:08 -06:00
6e0cb369dc Add boilerplate NostrSignin modal 2024-02-11 16:20:19 -06:00
7f74ec80af Let signer be undefined if there's no way to sign 2024-02-11 12:53:40 -06:00
8412a9869f Merge remote-tracking branch 'origin/main' into nspec 2024-02-11 12:45:33 -06:00
cb14b34309 Add NSpec and SoapboxSigner 2024-02-11 12:40:14 -06:00
124421a541 Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 15:45:18 +01:00
8e3c6e8310 Update lexical, remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 13:06:30 +01:00
694af98d21 Remove space that was added for no reason 2024-02-08 15:05:06 -06:00
d576b8ed47 Switch to isomorphic-dompurify 2024-02-08 15:01:20 -06:00
c0325498c8 Merge remote-tracking branch 'origin/main' into dompurify 2024-02-08 14:57:35 -06:00
5e801b899d Use media query to detect touchscreens
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-07 17:33:22 +01:00
54a57269e4 Add LightningAddress component 2024-02-06 13:14:20 -06:00
d4490f4e80 Fix optimistic zapping 2024-01-22 16:12:30 -06:00
d2d33cf51b yarn i18n 2024-01-22 15:07:33 -06:00