Commit Graph

455 Commits

Author SHA1 Message Date
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
797fca7111 Add WebLN types, only show zap button when WebLN is available 2024-01-22 14:37:44 -06:00
4aa6fdb4dd Add DOMPurify 2024-01-17 12:21:19 -06:00
459bc72365 Partially implement NIP-47 and pay for zaps with WebLN 2024-01-16 18:35:00 -06:00
d20d08bc8f Optimistic zap 2024-01-15 18:56:18 -06:00
9cad54c97c Nostr Zaps 2024-01-15 18:53:49 -06:00
1e9b209f06 Differentiate instance V1 and V2
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1635
2024-01-12 18:10:49 -06:00
60521f224d Merge branch 'typos' into 'main'
Fix some typos

See merge request soapbox-pub/soapbox!2916
2024-01-11 22:51:03 +00:00