Commit graph

3906 commits

Author SHA1 Message Date
Alex Gleason
3a369f21fa
Switch to useAccount hook in more places 2023-06-21 16:51:08 -05:00
Alex Gleason
5f61a624c6
Remove legacy useAccount hook 2023-06-21 16:28:51 -05:00
Alex Gleason
69d8817b6d
SidebarMenu: useAccount hook 2023-06-21 16:25:35 -05:00
Alex Gleason
c2c94d0577
Fix crash on aliases page 2023-06-21 11:19:09 -05:00
Alex Gleason
4fc6640c2c
Skip broken tests 2023-06-20 21:44:07 -05:00
Alex Gleason
7e83039999
Improve reducer type 2023-06-20 21:09:49 -05:00
Alex Gleason
c4ad5e5d78
Fix tests that set the store wrong 2023-06-20 17:48:57 -05:00
Alex Gleason
412fe84d13
FIX THE TYPE ERRORS 2023-06-20 14:24:39 -05:00
Chewbacca
d5b3853afc Merge branch 'add-suggested-groups-to-search' into 'develop'
Add Suggested Groups panel to Search page

See merge request soapbox-pub/soapbox!2560
2023-06-19 12:17:34 +00:00
Alex Gleason
138ded3904 Merge branch 'link-header' into 'develop'
Use Link header for pagination in more places

See merge request soapbox-pub/soapbox!2562
2023-06-17 12:58:59 +00:00
oakes
e1cacb6ee4 Optionally use Link header for pagination in various timelines 2023-06-15 21:40:32 -04:00
Chewbacca
1d9130f7ac Add Suggested Groups panel to Search page 2023-06-14 08:11:39 -04:00
Alex Gleason
0b439b79a1
Upgrade to TypeScript 5.1 2023-06-13 16:26:30 -05:00
Chewbacca
ae75c9ac0d Merge branch 'group-admin-fix' into 'develop'
Allow admins to delete Group statuses

See merge request soapbox-pub/soapbox!2533
2023-06-12 12:05:59 +00:00
Chewbacca
c5ec755661 Remove log 2023-06-05 14:21:04 -04:00
Chewbacca
476ae0a68d Fix emoji search test 2023-06-05 13:17:48 -04:00
Chewbacca
1fed96e99e Sort the emojis 2023-06-05 12:39:32 -04:00
Chewbacca
27f831dce9 Improve emoji search 2023-06-05 12:19:59 -04:00
Chewbacca
f1f6373cd7 Merge branch 'redirect' into 'develop'
Add redirect from statuses -> posts

See merge request soapbox-pub/soapbox!2546
2023-06-05 15:18:29 +00:00
Chewbacca
f718ca6d90 Add redirect from statuses -> posts 2023-06-05 10:41:21 -04:00
Chewbacca
cae9d9158d Fix typo 2023-06-05 10:25:48 -04:00
Chewbacca
35d9348edd Support Group pins 2023-06-05 09:41:36 -04:00
marcin mikołajczak
73eedea362 Merge branch 'i18n' into 'develop'
Minor strings improvements

See merge request soapbox-pub/soapbox!2542
2023-06-04 19:04:34 +00:00
2f3311a352 Minor strings improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-04 20:21:22 +02:00
c80633fd9f Media modal: Restore navigationHidden functionality
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-03 20:55:04 +02:00
Chewbacca
8de2619ad1 Merge branch 'dark-mode-fixes' into 'develop'
Dark mode improvements

See merge request soapbox-pub/soapbox!2537
2023-06-02 14:28:36 +00:00
Alex Gleason
0d8317145d
MediaModal: make clicking the background close the modal
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1434
2023-06-01 12:55:58 -05:00
Alex Gleason
87b279d8ee
MediaModal: hide fullscreen button on mobile 2023-06-01 11:49:36 -05:00
Chewbacca
e62f292aa8 Use dark-mode badges for Group members 2023-06-01 12:44:11 -04:00
Chewbacca
b45d1ea7fa Fix dark border color 2023-06-01 12:41:23 -04:00
marcin mikołajczak
27a5c533b5 Merge branch 'search-persist-fix' into 'develop'
Fix shouldPersistSearch for Pleroma flake ids

See merge request soapbox-pub/soapbox!2535
2023-06-01 06:47:46 +00:00
Alex Gleason
aca4322526
MediaModal: support not having a status 2023-05-31 20:01:30 -05:00
99e262ab8a Fix shouldPersistSearch for Pleroma flake ids
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-31 20:34:08 +02:00
Chewbacca
5ff9c1c6ec Fix tests 2023-05-31 08:54:54 -04:00
Chewbacca
866c80d30b Improve the MediaModal with ability to like, comment, reply, etc 2023-05-31 08:50:03 -04:00
Chewbacca
602eaf1ec1 Use AppDispatch 2023-05-31 08:44:45 -04:00
Chewbacca
02479efc35 Merge branch 'group-improvements' into 'develop'
Group improvements

See merge request soapbox-pub/soapbox!2525
2023-05-30 13:12:21 +00:00
5f1bbfb194 Fix open media hotkey
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-27 01:12:20 +02:00
marcin mikołajczak
0a397c1cfe Merge branch 'mfa-form-page' into 'develop'
Proper spacing on MFA page

See merge request soapbox-pub/soapbox!2519
2023-05-23 16:57:45 +00:00
Chewbacca
c8ff9db879 Truncate group name in panels 2023-05-23 12:32:55 -04:00
Chewbacca
5c069b8b93 Make # members clickable to Group Members page 2023-05-23 12:32:44 -04:00
Alex Gleason
917b45bdc5 Merge branch 'status-schema' into 'develop'
Status schema improvements

See merge request soapbox-pub/soapbox!2521
2023-05-23 14:22:44 +00:00
Chewbacca
d18bc015f7 Merge branch 'add-group-context-to-reply-modal' into 'develop'
Add group context to reply modal

See merge request soapbox-pub/soapbox!2524
2023-05-23 14:08:22 +00:00
Chewbacca
092dee0592 Merge branch 'group-fixes' into 'develop'
Multiple Group improvements

See merge request soapbox-pub/soapbox!2523
2023-05-23 13:39:57 +00:00
Chewbacca
d564728117 Add Group context to reply modal 2023-05-23 09:39:37 -04:00
Alex Gleason
36bbef2293
Support quoted tombstone 2023-05-22 11:47:49 -05:00
Alex Gleason
bf7c08d4d1
DetailedStatus: remove unused props 2023-05-22 10:29:52 -05:00
Chewbacca
e0056d4931 Reduce size of Ad icon 2023-05-22 09:49:00 -04:00
Chewbacca
bfdd3a3d50 Fix header copy 2023-05-22 09:47:31 -04:00
15186bada3 Proper spacing on MFA page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-21 23:53:44 +02:00
2605f72cb8 Change key for 'copy link to profile' message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-21 23:33:28 +02:00
Alex Gleason
cdd0fd63b2 Merge branch 'nip07' into 'develop'
Implement NIP-07

See merge request soapbox-pub/soapbox!2513
2023-05-21 02:34:42 +00:00
Alex Gleason
f318c35544
Simplify event signing 2023-05-20 21:15:53 -05:00
7efc5e2fbd Add '/' as a hotkey for search
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-20 00:22:10 +02:00
9c5acc09f0 Slightly reorder account header menu items, add 'Copy link to profile'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-14 22:35:53 +02:00
Alex Gleason
0acbbc3445 Merge branch 'group-fixes' into 'develop'
Various Group fixes & improvements

See merge request soapbox-pub/soapbox!2510
2023-05-12 21:43:04 +00:00
Chewbacca
cfaa3ea669 Invalidate group tags after updating Group 2023-05-12 12:50:32 -04:00
Chewbacca
682a86049e Linkify urls inside Group note 2023-05-12 11:51:44 -04:00
Chewbacca
f27933965f Allow non-owners to see pinned tags 2023-05-12 11:51:00 -04:00
Chewbacca
d2eca144fa Make sure GroupLinkPreview covers entire header 2023-05-11 15:13:36 -04:00
Chewbacca
e84a4a6c45 Fix full-width of Group Header 2023-05-11 15:13:07 -04:00
Chewbacca
2c59933cd0 Handle API errors when failing to join group 2023-05-11 15:00:28 -04:00
Chewbacca
90f7c71256 Hide Group context in Compose button if not Group member 2023-05-11 14:41:31 -04:00
Chewbacca
93c67c863a Format tag input with # 2023-05-11 14:28:44 -04:00
Chewbacca
6ab41eb899 Add ability to share Group 2023-05-11 14:20:33 -04:00
da6be7ba4c Merge remote-tracking branch 'soapbox/develop' into follow-hashtags 2023-05-11 19:31:25 +02:00
Chewbacca
4a2b7faa59 Support soft-deleted statuses via tombstones 2023-05-09 15:16:13 -04:00
Chewbacca
e9fee8aad3 Merge branch 'search-ux' into 'develop'
Remove search term after navigating away from Search page

See merge request soapbox-pub/soapbox!2498
2023-05-08 16:11:15 +00:00
Chewbacca
da10423020 Merge branch 'login-ux' into 'develop'
Prevent focus on 'Trouble logging in?' link

See merge request soapbox-pub/soapbox!2505
2023-05-08 16:11:03 +00:00
Alex Gleason
f47b5f0a20
Thread: fix display of initial loading indicator 2023-05-08 10:44:07 -05:00
Alex Gleason
f290ca85e3
Thread: scroll up a little more on focus so the thread connector is visible 2023-05-08 10:39:25 -05:00
Chewbacca
a491c6acb8 Prevent focus on 'Trouble logging in?' link 2023-05-05 15:15:59 -04:00
Chewbacca
a35d95e9e3 Merge branch 'group-tests' into 'develop'
Group tests

See merge request soapbox-pub/soapbox!2502
2023-05-05 17:16:01 +00:00
Chewbacca
670b3cff02 Merge branch 'remove-groups-search' into 'develop'
Remove group search inside global search

See merge request soapbox-pub/soapbox!2499
2023-05-05 17:15:27 +00:00
Chewbacca
de3ff58f95 Merge branch 'group-improvements' into 'develop'
Improve Group UX

See merge request soapbox-pub/soapbox!2494
2023-05-05 13:13:37 +00:00
Chewbacca
5b61aa39a7 Account for 409 response codes 2023-05-05 08:41:25 -04:00
Chewbacca
db91a00aca Add more Jest tests for various Group components 2023-05-05 08:35:11 -04:00
Chewbacca
ad6f237a9d Add back 'uses' attribute for specific use-case 2023-05-05 08:34:23 -04:00
Chewbacca
f8d31aa505 Merge branch 'thread-connector-fix' into 'develop'
Fix alignment on ThreadConnector

See merge request soapbox-pub/soapbox!2493
2023-05-04 14:14:22 +00:00
Alex Gleason
da69cf140b Merge branch 'zod-poll' into 'develop'
zod: Poll

See merge request soapbox-pub/soapbox!2495
2023-05-04 14:10:15 +00:00
Chewbacca
8ebaca0b44 Remove group search inside global search 2023-05-04 09:48:39 -04:00
Chewbacca
9e33dc80ae Remove search term after navigating away from Search page 2023-05-04 09:24:37 -04:00
Chewbacca
4f081abb7a d 2023-05-04 08:14:43 -04:00
Alex Gleason
04811c4618
InteractionCounter: use neutral colors 2023-05-03 14:37:41 -05:00
Alex Gleason
08b2f0446d
DetailedStatus: remove timestamp from account 2023-05-03 14:29:57 -05:00
Chewbacca
ebaff75e38 Improve Group UX 2023-05-03 14:03:13 -04:00
Chewbacca
27cc002572 Fix alignment on ThreadConnector 2023-05-03 11:13:47 -04:00
Alex Gleason
ece5ba4764
Merge remote-tracking branch 'origin/develop' into zod-card 2023-05-02 19:36:00 -05:00
Alex Gleason
c0c0dc1cc2 Merge branch 'long-name-fixes' into 'develop'
Fix overflow problems in various places

See merge request soapbox-pub/soapbox!2487
2023-05-03 00:35:06 +00:00
Alex Gleason
e3fcff55f9
Convert EmojiReaction to zod 2023-05-02 19:11:17 -05:00
Alex Gleason
0016aeacec
Normalize Relationship with zod 2023-05-02 18:49:13 -05:00
Alex Gleason
54d8d12054
Remove normalizeAd 2023-05-02 18:30:21 -05:00
Alex Gleason
81de7c268e
Refactor ad providers to not use normalizeCard 2023-05-02 17:56:25 -05:00
610864d5a9 Add followed tags list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-03 00:21:53 +02:00
c61368821a Use ListItem for 'Follow hashtag' setting
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-02 23:33:53 +02:00
5aaf4d75af Merge remote-tracking branch 'soapbox/develop' into follow-hashtags
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-02 23:32:43 +02:00
Chewbacca
0351bda198 Merge branch 'remove-pencil' into 'develop'
Remove pencil from Compose button

See merge request soapbox-pub/soapbox!2486
2023-05-02 20:28:09 +00:00
Chewbacca
00cdecd943 Merge branch 'improve-entity-organization' into 'develop'
Move Group hooks to api folder

See merge request soapbox-pub/soapbox!2484
2023-05-02 18:40:28 +00:00
Alex Gleason
a065df0941
ReplyIndicator: use Markup component, horizontal scrolling of code blocks, etc 2023-05-02 13:32:31 -05:00
Alex Gleason
626ddfda80
Truncate long usernames in modals 2023-05-02 13:28:42 -05:00
Alex Gleason
ac9653a89f
UserPanel: truncate long display name 2023-05-02 13:12:57 -05:00
Alex Gleason
ca2dffd9c3
ProfileInfoPanel: truncate long username while loading 2023-05-02 13:09:58 -05:00
Alex Gleason
be41c78030
UserPanel: truncate long acct 2023-05-02 13:08:11 -05:00
Alex Gleason
a38bc912c7
EditProfile: prevent crash with account.source is not available 2023-05-02 12:51:12 -05:00
Alex Gleason
9776cc9623
Settings: truncate long usernames 2023-05-02 12:50:55 -05:00
Chewbacca
238c30acf8 Split out hooks from 'useGroups' 2023-05-02 13:48:55 -04:00
Chewbacca
4dd4ba212d Remove pencil from Compose button 2023-05-02 13:33:42 -04:00
Chewbacca
0f1e7fb2a7 Support HTML version of note in Group Creation modal 2023-05-02 13:29:29 -04:00
Chewbacca
e0af6c4b2e Move Group hooks to api folder 2023-05-02 13:26:30 -04:00
Chewbacca
799b845467 Merge branch 'add-tests' into 'develop'
Add tests for Groups discover components

See merge request soapbox-pub/soapbox!2483
2023-05-01 17:11:02 +00:00
Alex Gleason
95364a46d9 Merge branch 'contextual-compose' into 'develop'
Contextual compose button

See merge request soapbox-pub/soapbox!2478
2023-05-01 16:06:13 +00:00
Chewbacca
4d609b57d6 Add tests for Groups discover components 2023-05-01 12:01:39 -04:00
Chewbacca
78621a696e Merge branch 'handle-deleted-groups' into 'develop'
Account for soft-deleted Groups in the profile

See merge request soapbox-pub/soapbox!2479
2023-05-01 15:58:06 +00:00
97dd235de3 Use note_plain on group edit page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-29 13:56:07 +02:00
Alex Gleason
a1b9d8a682
Fix ComposeButton tests 2023-04-27 13:20:53 -05:00
Chewbacca
fbb258c387 Merge branch 'fix-group-relationship-state-bug' into 'develop'
Update GroupRelationship state after join/leave group

See merge request soapbox-pub/soapbox!2477
2023-04-27 14:14:47 +00:00
21b6ad1cbd Add dismiss button instead of menu in fediverse explanation box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-26 23:28:57 +02:00
Alex Gleason
8ee5727cd8
ComposeModal: add share to group toggle 2023-04-26 15:53:06 -05:00
Alex Gleason
506cad3b70
FloatingActionButton: contextual group support 2023-04-26 15:33:34 -05:00
Alex Gleason
a193108ef8
ComposeModal: become group-aware 2023-04-26 15:14:54 -05:00
Alex Gleason
f9b5954060
ComposeModal: allow passing a composeId 2023-04-26 15:07:19 -05:00
Chewbacca
27f632786f Account for soft-deleted Groups in the profile 2023-04-26 15:53:52 -04:00
Chewbacca
3a5f9f3c93 Update GroupRelationship state after join/leave group 2023-04-26 14:27:36 -04:00
Alex Gleason
4720922015
ComposeButton: style group compose button 2023-04-26 13:06:03 -05:00
Chewbacca
1960eb000a Merge branch 'hide-status-info-on-threads' into 'develop'
Hide status info if Thread Status

See merge request soapbox-pub/soapbox!2475
2023-04-26 17:06:02 +00:00
Chewbacca
c001a4ab76 Merge branch 'update-group-tag-schema' into 'develop'
Change 'uses' to 'groups' in Tag schema

See merge request soapbox-pub/soapbox!2474
2023-04-26 17:05:38 +00:00
Chewbacca
f19e3b01c2 Merge branch 'fix-visibility-logic' into 'develop'
Fix logic with toggling Group Tag visibility

See merge request soapbox-pub/soapbox!2473
2023-04-26 17:05:29 +00:00
Chewbacca
b0ac174f80 Merge branch 'handle-null-group' into 'develop'
Handle null group in confirmation step

See merge request soapbox-pub/soapbox!2472
2023-04-26 17:01:31 +00:00
Chewbacca
b2848f52f9 Hide status info if Thread Status 2023-04-26 09:46:31 -04:00
Chewbacca
5d923842c5 Change 'uses' to 'groups' in Tag schema 2023-04-26 09:17:31 -04:00
Chewbacca
4f0cafabcf Fix logic with toggling Group Tag visibility 2023-04-26 09:08:00 -04:00
Chewbacca
6cda34fb69 Handle null group in confirmation step 2023-04-26 09:06:02 -04:00
Chewbacca
36be68cdcc Improve fallback of Group Avatars not loading 2023-04-26 09:04:25 -04:00
Alex Gleason
39d381ae4a Merge branch 'drop-zones' into 'develop'
Drop zones

See merge request soapbox-pub/soapbox!2464
2023-04-25 13:55:17 +00:00
Chewbacca
533400bd66 Merge branch 'clear-pending-cache' into 'develop'
Clear pending groups cache

See merge request soapbox-pub/soapbox!2468
2023-04-24 16:32:27 +00:00
Chewbacca
c5151417d1 Merge branch 'fallback-group-images' into 'develop'
Handle errors on Group Headers

See merge request soapbox-pub/soapbox!2465
2023-04-24 16:20:25 +00:00
Chewbacca
dfae278741 Merge branch 'remove-warning-for-group-posts' into 'develop'
Remove hashtag warning for Group posts

See merge request soapbox-pub/soapbox!2460
2023-04-24 16:20:10 +00:00
Chewbacca
81bf8649b4 Merge branch 'fix-reporting-modal' into 'develop'
Fix reporting modal

See merge request soapbox-pub/soapbox!2466
2023-04-24 16:19:55 +00:00
Chewbacca
68d3775737 Clear pending groups cache 2023-04-24 12:15:56 -04:00
Chewbacca
9b90289e7c Fix confirmation step in Group report 2023-04-24 11:34:09 -04:00
Chewbacca
11cb90bb15 Allow admins to report Groups 2023-04-24 11:33:42 -04:00
Alex Gleason
5834be838b Merge branch 'group-tags-x' into 'develop'
GroupTagsField: hide "x" until there's more than one tag

See merge request soapbox-pub/soapbox!2461
2023-04-24 15:00:30 +00:00
Chewbacca
b6a5c56859 Merge branch 'tag-improvements' into 'develop'
Tag improvements

See merge request soapbox-pub/soapbox!2458
2023-04-24 12:59:13 +00:00
Chewbacca
8530471ddb Handle errors on Group Headers 2023-04-24 08:17:51 -04:00
marcin mikołajczak
abfad1a4a7 Merge branch 'gallery-empty-column' into 'develop'
Make empty-column-indicator fullwidth on Gallery pages

See merge request soapbox-pub/soapbox!2463
2023-04-22 21:35:28 +00:00
Alex Gleason
01b99d875b
Remove UploadArea component 2023-04-21 17:33:20 -05:00
Alex Gleason
0904b6a2a0
Fix drag-and-drop interaction with ComposeModal 2023-04-21 17:13:40 -05:00
Alex Gleason
c9037f6661
GroupTimeline: add drop zone to composer 2023-04-21 16:54:23 -05:00
Alex Gleason
d0722934a9
ComposeForm: expand when dragged 2023-04-21 16:54:08 -05:00
78ce8a4894 Make empty-column-indicator fullwidth on Gallery pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-21 23:50:08 +02:00