Commit graph

325 commits

Author SHA1 Message Date
41d8d3e2da Fix SitePreview z-index
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-03 23:50:51 +02:00
4a11d56832 Improve pending/scheduled statuses styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-03 23:34:03 +02:00
1505f96258 Update to @tabler/icons 3.1.0, use filled for active state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-03 13:28:30 +02:00
8c36432a06 Merge remote-tracking branch 'origin/main' into drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-02 23:11:30 +02:00
Alex Gleason
a17128c268
edit relays: fix useEffect 2024-04-02 14:41:59 -05:00
0fc158a7d0 Allow to manage instance relays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-02 11:45:15 +02:00
Alex Gleason
20f60e763c
edit relays: hook up data 2024-04-02 01:54:55 -05:00
Alex Gleason
bc6082d3f2
RelayEditor: allow setting the marker 2024-04-01 13:19:19 -05:00
Alex Gleason
db9f65cf77
Add basic Nostr relay editor UI 2024-04-01 12:09:47 -05:00
Alex Gleason
98898e9eb5 Merge branch 'ditto-identity' into 'main'
Ditto identity

See merge request soapbox-pub/soapbox!2968
2024-04-01 16:26:10 +00:00
77c41728e6 Fix: Cannot Pin/Unpin Instances
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-01 15:20:54 +02:00
9df5aaa572 Status drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-01 13:06:23 +02:00
66a304a3d2 Fix: Cannot Pin/Unpin Instances
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-29 23:57:36 +01:00
Alex Gleason
aea4c21689
Feature-gate EditIdentity screen 2024-03-27 17:52:34 -05:00
Alex Gleason
bd46f1230b
useNostrReq: deduplicate events with NSet 2024-03-27 15:19:00 -05:00
Alex Gleason
9bc845d1a5
Merge remote-tracking branch 'origin/main' into ditto-identity 2024-03-27 11:40:27 -05:00
Alex Gleason
37816b0a8c
EditIdentity: only pull current user's pubkey 2024-03-27 09:53:45 -05:00
Alex Gleason
c02f23c322
EditIdentity: pull identifiers from Nostr 2024-03-27 09:52:07 -05:00
marcin mikołajczak
5b5eb52793 Merge branch 'bookmark-folders' into 'main'
Change message for empty bookmark folder

See merge request soapbox-pub/soapbox!2965
2024-03-27 11:40:04 +00:00
marcin mikołajczak
61de6b1e15 Change message for empty bookmark folder 2024-03-27 11:40:04 +00:00
marcin mikołajczak
66ad4f8753 Multitenancy support 2024-03-27 11:31:54 +00:00
Alex Gleason
4370a772a6
EditIdentity: add exclamation emoji for unverified name 2024-03-25 13:12:08 -05:00
Alex Gleason
51978c83f0
EditIdentity: save nip05 to profile 2024-03-25 12:43:36 -05:00
Alex Gleason
fb3af2f74b
UsernameInput: reuse i18n message from nip05 profile field 2024-03-25 11:57:27 -05:00
Alex Gleason
bd552ab084
Add EditIdentity page (wip) 2024-03-25 11:20:02 -05:00
Alex Gleason
47492bac9a
EditProfile: use instance.domain in nip05 placeholder 2024-03-25 11:19:23 -05:00
9585b3a870 Add missing strings to translation, enable formatjs ESLint rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 12:49:48 +01:00
7749f93c21 Fix ScrollableList class names regression
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 11:38:46 +01:00
f0f0da8bca Minor style improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-25 11:28:06 +01:00
marcin mikołajczak
4871c30b8c Merge branch 'main' into 'black-mode'
# Conflicts:
#   src/features/bookmarks/index.tsx
2024-03-24 23:09:28 +00:00
Alex Gleason
0716c5189e Merge branch 'nip05' into 'main'
Nostr: allow setting a nip05 username

See merge request soapbox-pub/soapbox!2960
2024-03-24 22:27:08 +00:00
2c5ee5db1b Black for touchscreen actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 22:54:49 +01:00
Alex Gleason
b9111719f0
Nostr: allow setting a nip05 username 2024-03-24 16:46:25 -05:00
1c5e8bc7d4 Change icon, rename theme, set divideType based on theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 22:41:44 +01:00
5e1499ed82 More colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:37:39 +01:00
7e9906c315 Fix layout, add missing colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:28:51 +01:00
e1dc73d6db Fix error handling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 19:00:43 +01:00
fb9a7fc8b7 Call it 'beta' for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:39:39 +01:00
067fc9e45d Black mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:38:34 +01:00
1ef88e2cc2 Bookmark folders route should not be feature gated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-23 15:59:24 +01:00
eceafedec4 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-22 14:53:25 +01:00
Alex Gleason
e131467af9
Fix up login/signing paths and buttons 2024-03-18 13:44:34 -05:00
Alex Gleason
7cfbf22b27
ExtensionStep: combine into one component 2024-03-17 18:06:27 -05:00
Alex Gleason
6fb7c337a3
Fi nostr_signup accidentally capitalized i18n strings 2024-03-17 18:03:30 -05:00
Alex Gleason
e866b95282
Fix navigating between NostrSignup and NostrLogin 2024-03-17 18:00:32 -05:00
Alex Gleason
ddee1d9d4e
KeygenStep: log the user in 2024-03-17 17:49:41 -05:00
Alex Gleason
ab0f9b0a43
KeyStep: fix modals, sort of 2024-03-17 15:35:39 -05:00
Alex Gleason
1417d46af5
Make NostrLogin modal flow work 2024-03-17 15:29:58 -05:00
Alex Gleason
10a12905ff
NostrExtensionIndicator: close either modal on click 2024-03-16 16:25:26 -05:00
Alex Gleason
463f260b2e
NostrLoginModal: fix handleClose 2024-03-16 16:10:54 -05:00
Alex Gleason
7adb676653
Have only one NostrExtensionIndicator component 2024-03-16 16:10:08 -05:00
Alex Gleason
b94ea6cd42
Move EmojiGraphic to soapbox/components 2024-03-16 16:08:23 -05:00
Alex Gleason
f7b7260eea
nostr-signin-modal -> nostr-signup-modal 2024-03-16 16:05:56 -05:00
Alex Gleason
62723a2c16
Break NostrLogin into a separate flow from NostrSignin 2024-03-16 16:03:54 -05:00
Alex Gleason
5bc6a9a220
Rework nostrExtensionLogIn action 2024-03-16 15:50:26 -05:00
Alex Gleason
a8e786a578
NostrSignin: update steps 2024-03-16 15:10:34 -05:00
Alex Gleason
77f766ff64
Remove unused DittoSignup module 2024-03-16 15:08:48 -05:00
Alex Gleason
5b23166fb7
NostrSignin: remove IdentityStep, AccountStep, other useless code 2024-03-16 15:06:55 -05:00
Alex Gleason
b8b22fc637
NostrSignin: remove unused setSigner state 2024-03-16 15:02:40 -05:00
Alex Gleason
df24beeb54
Add key import step 2024-03-15 16:10:03 -05:00
Alex Gleason
a83916537a
Git Nostr signer from currently-logged-in account 2024-03-15 15:15:53 -05:00
Alex Gleason
44411fdf29
Add weblock package 2024-03-15 12:25:38 -05:00
Alex Gleason
a72e9c1c04
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-03-15 10:52:29 -05:00
Alex Gleason
34bd5b5020
Use pubkey instead of npub 2024-03-14 16:17:53 -05:00
Alex Gleason
37cc1e88f6
Hook up DVM request 2024-03-12 13:41:01 -05:00
Aldis Ruiz
733fa675d8 fix: remove .max-w-3xl from embedded status.
Will no longer create white space when the parent it's embedded in is wider than .max-w-3xl (48rem; /* 768px */
).
2024-03-11 23:41:35 +00:00
67235dcc54 Change design of Backups page a bit
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-07 19:49:39 +01:00
Alex Gleason
338d0a7b3e
Remove unused RegisterStep 2024-03-07 10:44:39 -06:00
Alex Gleason
b9a0c1f0f6
Add NostrContext to manage connection to Nostr relay 2024-03-06 20:03:18 -06:00
Alex Gleason
fc0de1bc49
Upgrade nspec to latest, switch to version from JSR 2024-03-06 17:19:45 -06:00
Alex Gleason
613d97ea78
Merge branch 'jsr' into ditto-auth 2024-03-06 15:52:49 -06: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
Alex Gleason
470511acbb
IdentityStep: prevent entry of nsec 2024-02-19 16:24:11 -06:00
Alex Gleason
3157969645
Advance from KeygenStep to AccountStep 2024-02-19 15:17:35 -06:00
Alex Gleason
0a3eb6b187
NKeyStorage: fix schema parser 2024-02-19 15:13:10 -06:00
Alex Gleason
623fb234b3
Fix ModalLoading component 2024-02-19 14:28:43 -06:00
Alex Gleason
5eb388bb3b
KeygenStep: simplify it, add a tooltip over "Next" button 2024-02-19 14:07:18 -06:00
Alex Gleason
b1dc2486de
ExtensionStep: get rid of my-6 2024-02-19 14:07:02 -06:00
Alex Gleason
451e7ab96d
ExtensionStep: improve whitespace between elements 2024-02-19 13:49:05 -06:00
Alex Gleason
772cecf26b
KeygenStep: display user's keys as copyable inputs 2024-02-19 13:26:39 -06:00
Alex Gleason
f20687313f
NostrSigninModal: represent steps as strings instead of numbers 2024-02-18 23:20:20 -06:00
Alex Gleason
49bde675c3
Add KeygenStep, only show ExtensionStep when window.nostr is present 2024-02-18 22:55:05 -06:00
Alex Gleason
f2bfa6e2f6
Upgrade nspec, parse nsec the easier way 2024-02-18 18:00:37 -06:00
Alex Gleason
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
Alex Gleason
b382a96d6a
NostrSigninModal: make use of Back button 2024-02-18 13:34:52 -06:00
Alex Gleason
ba04c43477
NostrSigninModal: make each step render a Modal directly 2024-02-18 13:27:30 -06:00
Alex Gleason
9ddcb1634e
NostrSigninModal: hold accountId instead of username in the state 2024-02-18 13:01:22 -06:00
Alex Gleason
872be9ead1
Flesh out AccountStep 2024-02-18 12:51:05 -06:00
Alex Gleason
4caacca2f7
IdentityStep: lookup the account before proceeding 2024-02-17 19:45:24 -06:00
Alex Gleason
a7c880e950
NostrExtensionIndicator: move to components/ subpath 2024-02-16 20:05:43 -06:00
Alex Gleason
407b19321d
NostrSigninModal: add EmojiGraphic, use an emoji on each step 2024-02-16 20:04:25 -06:00
Alex Gleason
20328961fd
Fill out KeyStep 2024-02-16 17:47:43 -06:00
Alex Gleason
603e2cc2ce
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-02-16 15:57:45 -06:00
Alex Gleason
ffdb744d16
Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
Alex Gleason
a0a37b7296
Make accountLookup work with Nostr 2024-02-13 20:22:56 -06:00
Alex Gleason
b950a7a052
Rework Nostr modal actions 2024-02-13 17:01:07 -06:00
Alex Gleason
1618fbbb8f
NostrSigninModal: scaffold steps 2024-02-12 19:39:34 -06:00
Alex Gleason
1c97a163d0
NostrSigninModal: add extension indicator, flesh out IdentityStep 2024-02-12 17:57:44 -06:00
Alex Gleason
a9d311028e
ExtensionStep: make it kind of work 2024-02-11 17:13:29 -06:00
Alex Gleason
6e0cb369dc
Add boilerplate NostrSignin modal 2024-02-11 16:20:19 -06:00