Commit graph

3809 commits

Author SHA1 Message Date
Alex Gleason
659c186394
ManageGroupModal: use internal state instead of Redux 2023-04-03 15:06:20 -05:00
Chewbacca
aed41989f5 Remove 'Pending requests' from Group Manage 2023-04-03 15:57:12 -04:00
Chewbacca
d2224c0359 Merge branch 'udpate-toast-copy' into 'develop'
Update copy after requesting to join group

See merge request soapbox-pub/soapbox!2404
2023-04-03 19:47:47 +00:00
Chewbacca
c2f5671de1 Update copy after requesting to join group 2023-04-03 15:38:41 -04:00
Alex Gleason
1b9c070a20
EditGroup: move AvatarPicker and HeaderPicker into their own components 2023-04-03 14:26:31 -05:00
Chewbacca
29f8ee234f Merge branch 'refactor-group-layout-selector' into 'develop'
Refactor Group Layout selection

See merge request soapbox-pub/soapbox!2399
2023-04-03 18:07:44 +00:00
Chewbacca
bb70568bac Merge branch 'fix-list-item-weight' into 'develop'
Fix weight of List Item text

See merge request soapbox-pub/soapbox!2398
2023-04-03 18:07:20 +00:00
Chewbacca
607e91e8cf Refactor Group Layout selection 2023-04-03 12:56:29 -04:00
Chewbacca
c67d5712ba Fix weight of List Item text 2023-04-03 12:17:29 -04:00
Chewbacca
485213972e Update banned members design 2023-04-03 12:13:41 -04:00
Alex Gleason
2bc6ff3fa3
Use Link header for home timeline pagination 2023-04-02 18:32:50 -05:00
a1cf627bfd Lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 20:37:34 +02:00
817459536d Update TailwindCSS, fix aspect ratio in ProfileMediaPanel
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 15:46:21 +02:00
Alex Gleason
72b57d93da Merge branch 'groups-toggle' into 'develop'
Groups toggle

See merge request soapbox-pub/soapbox!2391
2023-03-31 19:06:10 +00:00
Alex Gleason
839a639f1e
Only show toggle for public groups 2023-03-31 13:46:09 -05:00
Alex Gleason
59860b405a
GroupTimeline: use FormattedMessage 2023-03-31 12:17:20 -05:00
Alex Gleason
406e6f3f40
GroupTimeline: make label clickable 2023-03-31 12:00:15 -05:00
Alex Gleason
94f67e166e
GroupTimeline: use size sm Toggle 2023-03-31 11:58:23 -05:00
Alex Gleason
d0fbc881e7
Remove react-toggle 2023-03-31 11:52:19 -05:00
Alex Gleason
541d48c5ab
Replace Toggle with a custom component 2023-03-31 11:06:43 -05:00
Chewbacca
eeafb3073e Change discover chunk to groups 2023-03-31 08:00:21 -04:00
Alex Gleason
5720d396fc
Groups: make "share with followers" button work 2023-03-30 20:47:08 -05:00
Chewbacca
681eacf827 Improve dark mode support of Groups + bug fixes 2023-03-30 15:19:14 -04:00
Chewbacca
4b3b601659 Add tests for GroupOptionsButton 2023-03-30 12:57:42 -04:00
Chewbacca
697791fc5d Add tests for GroupRelationship 2023-03-30 12:57:23 -04:00
Alex Gleason
a976b542e1 Merge branch 'edit-group-page' into 'develop'
Edit group page

See merge request soapbox-pub/soapbox!2389
2023-03-30 13:57:57 +00:00
Chewbacca
e32ea32f15 Merge branch 'group-name-validation' into 'develop'
Group name validation

See merge request soapbox-pub/soapbox!2388
2023-03-30 13:28:03 +00:00
Chewbacca
01458c3003 Merge branch 'reply-popover' into 'develop'
Add popover when trying to reply to Group status

See merge request soapbox-pub/soapbox!2386
2023-03-30 13:23:47 +00:00
Alex Gleason
e47b9300f0
EditGroup: add "cannot change" hint 2023-03-29 20:45:40 -05:00
Alex Gleason
79a33d0f1d
Input: improve disabled style 2023-03-29 20:37:22 -05:00
Alex Gleason
9e60d90812
We do a little refactoring 2023-03-29 20:30:05 -05:00
Alex Gleason
f3727440ff
Move form hooks into their own files 2023-03-29 20:14:41 -05:00
Alex Gleason
eb055339d8
react-hook-form SUX 2023-03-29 20:00:04 -05:00
Alex Gleason
9c78a37844
Merge remote-tracking branch 'origin/develop' into edit-group-page 2023-03-29 19:31:01 -05:00
Alex Gleason
8e6dfe6395 Merge branch 'textarea-counter' into 'develop'
Textarea: add a character counter

See merge request soapbox-pub/soapbox!2373
2023-03-30 00:30:39 +00:00
Alex Gleason
eb6c82a867
Make EditGroup page work, pretty much 2023-03-29 19:18:20 -05:00
Alex Gleason
bfd40fa373
Boilerplate Edit Group page by copying code from the modal 2023-03-29 14:51:29 -05:00
Chewbacca
4886548889 Add validation support to Group names 2023-03-29 15:42:20 -04:00
Alex Gleason
319d47b36f Merge branch 'pending-memberships-dot' into 'develop'
Groups: add dot to group with pending membership requests

See merge request soapbox-pub/soapbox!2387
2023-03-29 19:13:54 +00:00
Alex Gleason
609a25fd8d
Groups: add dot to group with pending membership requests 2023-03-29 12:21:43 -05:00
marcin mikołajczak
55c0f8d6a1 Merge branch 'friendica' into 'develop'
Friendica dislikes

See merge request soapbox-pub/soapbox!2381
2023-03-28 22:13:24 +00:00
Chewbacca
1e69812078 Add popover when trying to reply to Group status 2023-03-28 15:39:41 -04:00
Chewbacca
af9439f1d3 Use entity store for Group Search 2023-03-28 12:57:44 -04:00
Chewbacca
a916056367 Re-use GroupActionButton component 2023-03-28 11:53:13 -04:00
Chewbacca
ca0987dec2 Update variables to use proper naming 2023-03-28 11:53:13 -04:00
Chewbacca
966fcc617a Merge branch 'fix-loading-state' into 'develop'
Fix loading animation for Carousel

See merge request soapbox-pub/soapbox!2383
2023-03-28 15:52:56 +00:00
Chewbacca
be4a7e45e9 Fix loading animation for Carousel 2023-03-28 10:30:34 -04:00
Chewbacca
1abcc95a0a Merge branch 'search-my-groups' into 'develop'
Add ability to search my Groups

See merge request soapbox-pub/soapbox!2377
2023-03-28 14:02:25 +00:00
Chewbacca
3a2b4c6efb Add ability to search my Groups 2023-03-28 09:09:09 -04:00
Alex Gleason
d39e2cc7e0
UnapprovedAccount: use countdown, remove rejectUserModal 2023-03-27 17:14:22 -05:00
Alex Gleason
0522f333c3
Make follow requests use AuthorizeRejectButtons countdown 2023-03-27 17:13:44 -05:00
Alex Gleason
22474e3ca9
MembershipRequest: add 3s countdown on authorize/reject actions 2023-03-27 17:09:10 -05:00
12f3b4fbc3 Support Friendica dislikes, quotes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 23:16:40 +01:00
96a8bcdf82 Friendica dislikes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-25 12:14:53 +01:00
Chewbacca
30ef70440f Add ability to report a Group 2023-03-23 15:17:44 -04:00
Alex Gleason
1949651b9a
Merge remote-tracking branch 'origin/develop' into group-requests 2023-03-23 10:23:06 -05:00
Alex Gleason
75b0262f9a
Move pendingCount logic to useEntities 2023-03-22 21:28:48 -05:00
Alex Gleason
2674c060ad
GroupMembers: showLoading if pending members are being fetched 2023-03-22 20:26:53 -05:00
Alex Gleason
c5b1f23bda
GroupMembers: use X-Total-Count if available 2023-03-22 19:22:12 -05:00
Alex Gleason
f016ac1e6d
GroupMembershipRequests: invalidate query upon authorize/reject 2023-03-22 18:48:24 -05:00
Alex Gleason
1eed61c386
GroupMembershipRequests: don't clear dismissed entries until new content is fetched 2023-03-22 16:42:08 -05:00
Alex Gleason
ee1b1b4397
GroupMembers: fix pending row borders and dark mode 2023-03-22 13:47:18 -05:00
Alex Gleason
71c7c4adc7 Merge branch 'group-widgets' into 'develop'
Add MyGroupsPanel, improve layout on various group pages

See merge request soapbox-pub/soapbox!2374
2023-03-22 16:03:02 +00:00
Alex Gleason
cc2fbc0208 Merge branch 'redirect-group-posts' into 'develop'
Redirect group statuses to a custom path

See merge request soapbox-pub/soapbox!2371
2023-03-22 16:02:58 +00:00
Chewbacca
ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
Alex Gleason
65070f6519
Add MyGroupsPanel, improve layout on various group pages 2023-03-21 16:34:15 -05:00
Alex Gleason
be32a0c1a0
Textarea: add a character counter 2023-03-21 15:39:08 -05:00
Alex Gleason
f61e0d889a
"Blocked members" --> "Banned members" 2023-03-20 21:56:15 -05:00
Alex Gleason
cc3585f319
Manage group: add headers 2023-03-20 21:52:44 -05:00
Alex Gleason
f369a7c765
Use "danger" text for deleting account and group 2023-03-20 21:42:54 -05:00
Alex Gleason
a8be701ea0
Fix PendingGroupsRow test 2023-03-20 21:31:07 -05:00
Alex Gleason
fb8d543f7c
Redirect group statuses to a custom path 2023-03-20 20:57:49 -05:00
Alex Gleason
5774516ea0
Reorganize GroupMembershipRequests a little 2023-03-20 19:32:24 -05:00
Alex Gleason
d4e9fddd02
Update usage of AuthorizeRejectButtons in group membership requests 2023-03-20 19:24:06 -05:00
Alex Gleason
7a06c7f92c
Use AuthorizeReject buttons for follow requests 2023-03-20 19:23:11 -05:00
Alex Gleason
28f5a88848
Use AuthorizeReject buttons for account approval 2023-03-20 19:22:55 -05:00
Alex Gleason
7c7855e7a1
Groups: make authorize/reject use component state, update designs 2023-03-20 17:46:10 -05:00
Alex Gleason
ca9a41f102
Use EntityStore for pending group requests 2023-03-20 16:41:12 -05:00
Chewbacca
babaa979f5 Merge branch 'move-mutations-to-entities' into 'develop'
Move Group mutations to entities

See merge request soapbox-pub/soapbox!2368
2023-03-20 21:35:37 +00:00
Alex Gleason
143a9eda44
Use PendingItemsRow for pending members, pass a prop to control its size 2023-03-20 16:26:40 -05:00
Alex Gleason
f6b28dd9c3
Abstract PendingItemsRow into its own component 2023-03-20 16:09:19 -05:00
Alex Gleason
3c06ba734b
Display pending counter in group member list 2023-03-20 16:03:41 -05:00
Alex Gleason
d08178f5fc
Groups: use entity store for pending requests 2023-03-20 15:54:06 -05:00
Chewbacca
e46a7e8f4a Merge branch 'promote-to-admin' into 'develop'
Move Promote/Demote admin into entity store

See merge request soapbox-pub/soapbox!2359
2023-03-20 20:08:51 +00:00
Alex Gleason
396f6ada1a Merge branch 'emoji-floating-ui' into 'develop'
Emoji floating ui

Closes #1390 and #1398

See merge request soapbox-pub/soapbox!2367
2023-03-20 20:03:41 +00:00
Chewbacca
e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
Chewbacca
4985db7dea Update group roles to owner/admin/user 2023-03-20 15:41:12 -04:00
Chewbacca
89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
Alex Gleason
ea4f707413
Fix offset of chat reaction wrapper 2023-03-20 13:57:29 -05:00
Alex Gleason
bc457b61d1 Merge branch 'edit-group' into 'develop'
Edit group

See merge request soapbox-pub/soapbox!2357
2023-03-20 18:41:52 +00:00
Alex Gleason
f8b20858a3
Chats: fix crash in emoji autosuggest 2023-03-19 19:59:46 -05:00
Alex Gleason
67ffe9609f
ChatTextarea: pass ref to child
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1390
2023-03-19 18:03:44 -05:00
Alex Gleason
5c7c0ea1dd
EmojiSelector: switch to floating-ui 2023-03-19 17:52:45 -05:00
Alex Gleason
2b75dcacd2
EmojiPickerDropdownContainer: switch to floating-ui 2023-03-19 17:24:39 -05:00
Alex Gleason
813fd7f8ee
Delete proprietary groups image 2023-03-19 15:39:58 -05:00
marcin mikołajczak
9c80a50b95 Merge branch 'pending-status-gap' into 'develop'
Add missing gap to PendingStatus

See merge request soapbox-pub/soapbox!2361
2023-03-19 19:50:27 +00:00
049554db84 Add missing gap to PendingStatus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 20:23:36 +01:00
179eb7fc99 Fix preview in reactions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 11:55:00 +01:00
8b81838f2f Support custom emoji reacts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 00:07:18 +01:00
Alex Gleason
c0a22205f7
Fix GroupActionButton test 2023-03-17 16:14:23 -05:00
Alex Gleason
c51870af6e
Update some more groups stuff to use entities 2023-03-15 19:26:37 -05:00
Alex Gleason
5871abd786
Make "Manage Group" use the EntityStore 2023-03-15 17:59:37 -05:00
Alex Gleason
7fffe59fb9
Allow "owner" permissions on group pages 2023-03-15 17:26:07 -05:00
Chewbacca
6b30671875 Add Account entity and improve Block/Ban support for Groups 2023-03-15 14:55:43 -04:00
Chewbacca
283935e837 Add popover component 2023-03-15 14:55:26 -04:00
Chewbacca
c8a4d63fc8 Add GroupAvatar component 2023-03-14 15:17:05 -04:00
Chewbacca
821b90c372 Add pages for Popular / Suggested Groups 2023-03-14 15:16:01 -04:00
Chewbacca
7be8218f0c Convert popular/suggested Groups to use Entities 2023-03-14 15:16:01 -04:00
Chewbacca
9d1c2df1a2 Use ZOD for group-members 2023-03-14 15:16:00 -04:00
Chewbacca
08f97a133e Update blankslate for Group Timeline 2023-03-14 15:15:26 -04:00
Chewbacca
8a36561ec8 Use entities with Group Members 2023-03-14 15:15:26 -04:00
Alex Gleason
6ac57910bf Merge branch 'groupschema-tests' into 'develop'
Add group factory functions for tests, add a groupSchema test

See merge request soapbox-pub/soapbox!2344
2023-03-14 14:16:05 +00:00
Chewbacca
e173418041 Merge branch 'update-group-comps' into 'develop'
Update Group component with Join buttons

See merge request soapbox-pub/soapbox!2330
2023-03-14 14:13:46 +00:00
Alex Gleason
d12078a687
Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
Chewbacca
bced3d6632 Merge branch 'pending-groups' into 'develop'
Add support for pending Group Requests

See merge request soapbox-pub/soapbox!2327
2023-03-13 19:20:16 +00:00
Chewbacca
879ac883aa Merge branch 'my-groups-blankslate' into 'develop'
Update blankslate to allow Group Creation

See merge request soapbox-pub/soapbox!2326
2023-03-13 19:10:14 +00:00
Alex Gleason
1922e889f7 Merge branch 'create-group' into 'develop'
Create group

See merge request soapbox-pub/soapbox!2325
2023-03-13 18:28:43 +00:00
Chewbacca
58527b0656 Update Group component with Join buttons 2023-03-13 14:27:35 -04:00
Chewbacca
f21f72461a Add support for pending Group Requests 2023-03-13 14:27:21 -04:00
Chewbacca
83532aedba Update blankslate to allow Group Creation 2023-03-13 14:27:21 -04:00
Chewbacca
cced90a780 Update blankslate to allow Group Creation 2023-03-13 14:26:42 -04:00
Alex Gleason
5278c8eb0f
Merge remote-tracking branch 'origin/develop' into groups-zod 2023-03-13 11:05:21 -05:00
Chewbacca
7ad2696f85 Move Join / Leave / Cancel group/request to mutations 2023-03-13 11:36:08 -04:00
Chewbacca
287fda6d6c Improve error handling for Groups Discover page 2023-03-13 11:36:08 -04:00
ea6be269bb Fix: Long handles don't get truncated in Follow Requests menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 00:00:07 +01:00
Alex Gleason
ccec7f43e5
DurationSelector: actually, don't even do weird date stuff at all, LOL 2023-03-10 15:07:25 -06:00
Alex Gleason
bd49417210
Also, fix the variable names in DurationSelector 2023-03-10 15:04:44 -06:00
Alex Gleason
2b137c12cf
Comment out failing tests ¯\_(ツ)_/¯ 2023-03-10 15:00:53 -06:00
Alex Gleason
de89a438cc
Make DurationSelector test work locally 2023-03-10 15:00:29 -06:00
Alex Gleason
1af67c3a25
members_count will never be null 2023-03-10 13:46:20 -06:00
Alex Gleason
3d2331d20b
Make useGroups hooks use zod parser, update group types 2023-03-10 13:36:00 -06:00
Alex Gleason
a0c1bd84c9 Merge branch 'group-entities' into 'develop'
EntityStore: Groups

See merge request soapbox-pub/soapbox!2333
2023-03-10 17:22:55 +00:00
marcin mikołajczak
b1471be142 Merge branch 'filters-v2' into 'develop'
filters v2

See merge request soapbox-pub/soapbox!2321
2023-03-10 11:03:46 +00:00
marcin mikołajczak
51524118d4 Merge branch 'gallery-load-more' into 'develop'
Fix load more button height on account gallery page

See merge request soapbox-pub/soapbox!2318
2023-03-10 10:52:00 +00:00
1d64f934d9 Merge remote-tracking branch 'soapbox/develop' into filters-v2 2023-03-09 21:49:57 +01:00
Alex Gleason
4c6d13e4ef
Use EntityStore for Groups 2023-03-09 11:21:27 -06:00
Alex Gleason
d1531b832d
Truncate Nostr pubkeys in reply mentions 2023-03-08 19:56:24 -06:00
Alex Gleason
01343bbe0a
Add copy and share links to group confirmation step 2023-03-08 14:46:24 -06:00
Alex Gleason
2a9f05a765
Create Group: add info items to confirmation step 2023-03-08 14:10:09 -06:00
Alex Gleason
d7f5e210d8
Groups: scaffold the confirmation step 2023-03-08 13:43:16 -06:00
Alex Gleason
925509a985
Fix groups modal bailing too soon 2023-03-08 12:20:20 -06:00
Alex Gleason
63df638630
Create Group: enforce max limit on description and name 2023-03-08 12:00:28 -06:00
d969c91c76 Update filter preview
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-08 00:02:17 +01:00
Alex Gleason
ca9e59b56b Merge branch 'chat-multi-upload' into 'develop'
Chats: allow uploading multiple attachments at once (if the backend supports it)

See merge request soapbox-pub/soapbox!2313
2023-03-06 18:46:01 +00:00
Alex Gleason
65d1c66aad
Add group icon to create screen 2023-03-06 12:42:13 -06:00
Alex Gleason
d16bce0ecc
Merge remote-tracking branch 'origin/develop' into create-group 2023-03-06 12:10:06 -06:00
Chewbacca
4e2213aba8 Merge branch 'my-groups' into 'develop'
Add Trending and Suggested Groups to discovery

See merge request soapbox-pub/soapbox!2312
2023-03-06 16:44:11 +00:00
1d4d9c2732 Filters expiration, restyle filters list, fix keywords deletion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-05 19:49:40 +01:00
marcin mikołajczak
b54a466bfd Merge branch 'update-emoji-mart-2' into 'develop'
Update emoji mart

See merge request soapbox-pub/soapbox!2309
2023-03-05 10:05:08 +00:00
af314ee55d Allow editing filters
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-04 21:22:59 +01:00
ebe4f9373b Remove console.log
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-04 12:44:04 +01:00
4c92f581c4 Allow creating v2 filters
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-04 12:43:27 +01:00
c9f2cc0ae2 Hide emoji-mart preview footer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-02 23:38:17 +01:00
1f6328c9c6 Fix emoji picker button color
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-02 23:35:56 +01:00
Chewbacca
3cc4f8b64b Improve Group Header with latest designs 2023-03-02 14:42:45 -05:00
Alex Gleason
55c8887a08
Small design tweaks for create group modal 2023-03-02 12:17:25 -06:00
2ce98055d8 Fix load more button height on account gallery page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-01 21:02:04 +01:00
eb93cb39fd Fix emoji selector on touchscreen
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-01 20:27:16 +01:00
Chewbacca
0b7a2ac19b Add support for i18n in Group Search 2023-03-01 10:40:07 -05:00
Chewbacca
d6d7807807 Add tests for RecentSearches 2023-03-01 09:43:30 -05:00
oakes
f1a14efc58 Remove unnecessary equality test 2023-02-28 15:30:01 -05:00
oakes
1b00de14a6 Fix conversation list pagination 2023-02-28 15:24:04 -05:00
Chewbacca
5acc231cda Add tests for Search component 2023-02-28 15:03:03 -05:00
277045c7a1 Remove custom emojis from reaction picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-28 20:52:15 +01:00
d6732955de Merge remote-tracking branch 'soapbox/develop' into update-emoji-mart-2 2023-02-28 20:48:21 +01:00
9aef41eab1 Cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-28 19:13:34 +01:00
e6d6ac6d44 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-28 18:59:32 +01:00
dfa5d3ec8e Restore icon picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-28 18:04:24 +01:00
Chewbacca
e7897228c6 Add support for Group search 2023-02-28 10:26:27 -05:00
Alex Gleason
83dab22371
Chats: allow uploading multiple attachments at once (if the backend supports it) 2023-02-27 09:59:00 -06:00
Chewbacca
0414c36a1e Add Trending and Suggested Groups to discovery 2023-02-27 08:26:59 -05:00
01a4e7370f Types, update styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-26 20:34:57 +01:00
2bbbcd625e WIP
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-26 19:29:37 +01:00
Alex Gleason
1b020b2a9b
Improve rounded courners in MediaGallery and Chats 2023-02-23 16:05:24 -06:00
528acb8ac5 Merge remote-tracking branch 'soapbox/develop' into update-emoji-mart
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-23 17:42:31 +01:00
Alex Gleason
6413bed23f Merge branch 'renovate/tabler-icons-2.x' into 'develop'
Update dependency @tabler/icons to v2

See merge request soapbox-pub/soapbox!2218
2023-02-20 18:05:26 +00:00
Alex Gleason
93f873fce9
Tabler: ballon.svg --> balloon.svg 2023-02-20 11:37:06 -06:00
9d6c698d31 Fix: audio player track position opacity missing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-19 20:23:20 +01:00
81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00
marcin mikołajczak
2cfd402bec Merge branch 'admin-announcements' into 'develop'
Dashboard: Allow to create announcements

See merge request soapbox-pub/soapbox!2276
2023-02-14 23:05:07 +00:00
a4681fddf8 Announcements: Feature-gate link
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-14 23:35:04 +01:00
45cf156a79 Add link to announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-14 23:34:27 +01:00
tassoman
4a205fddc1 hovering reportee shows reportee card, not reporter's 2023-02-14 22:22:57 +01:00
Alex Gleason
ed8f48816e Merge branch 'i-1244' into 'develop'
verified badge on profile's header

Closes #1244

See merge request soapbox-pub/soapbox!2212
2023-02-14 20:28:16 +00:00
Tassoman
5828e239b1 verified badge on profile's header 2023-02-14 20:28:16 +00:00
Alex Gleason
78328a0ce2 Merge branch 'gate-chat-reactions' into 'develop'
Fix chatEmojiReactions feature gating

See merge request soapbox-pub/soapbox!2286
2023-02-14 20:21:53 +00:00
Alex Gleason
63ca831d16 Merge branch 'chats-scrollbars' into 'develop'
Fix chat overflow-x

See merge request soapbox-pub/soapbox!2285
2023-02-14 20:21:40 +00:00
Alex Gleason
f271553213
Fix type of chat_message.emoji_reactions, fix tests with +unreleased 2023-02-14 12:36:15 -06:00
3aba4218c5 Use clsx instead of template strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-14 19:00:43 +01:00
Alex Gleason
d273947f70
Fix chatEmojiReactions feature gating 2023-02-14 11:41:27 -06:00
Alex Gleason
0aeeeb1dc4
Performance: hide EmojiSelector until portaled 2023-02-14 11:27:32 -06:00
Alex Gleason
ec2235011f
ChatMessageReactionWrapper: put EmojiSelector in a portal to avoid overflow-x issues 2023-02-14 11:27:28 -06:00
Alex Gleason
783a79d306 Merge branch 'multiple-attachments' into 'develop'
Chats: allow uploading multiple attachments

See merge request soapbox-pub/soapbox!2268
2023-02-14 15:54:31 +00:00
Alex Gleason
261d900b51 Merge branch 'fix-dropdown' into 'develop'
Fix Profile Dropdown

See merge request soapbox-pub/soapbox!2261
2023-02-14 15:27:51 +00:00
Alex Gleason
14efff51ff
Merge remote-tracking branch 'origin/develop' into multiple-attachments 2023-02-14 09:24:12 -06:00
Alex Gleason
04ae0f2ee4
ChatMessage: remove testid from emoji button resulting in failing test 2023-02-13 14:46:15 -06:00
Alex Gleason
45657c7a2a
EmojiSelector: pass offset as a prop 2023-02-13 13:17:05 -06:00
Chewbacca
0b9fe2cfca Merge branch 'hoverable-menu' into 'develop'
Add new hoverable menu for Chat Messages (and rebuild DropdownMenu component with Popper)

See merge request soapbox-pub/soapbox!2274
2023-02-13 17:32:02 +00:00
Alex Gleason
cc2eafdfac
Merge remote-tracking branch 'origin/develop' into react-any-emoji 2023-02-12 20:30:33 -06:00
Alex Gleason
16179a6371
Transpile emoji-mart for jest 2023-02-12 20:23:29 -06:00
marcin mikołajczak
195ec1b67d Merge branch 'chat-resize-reset' into 'develop'
Chats: reset chat message field height after sending a message

See merge request soapbox-pub/soapbox!2277
2023-02-12 22:14:03 +00:00
4936c3ed38 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 22:26:55 +01:00
7759f64fed Chats: reset chat message field height after sending a message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 22:23:44 +01:00
marcin mikołajczak
8f79ef2bcd Merge branch 'filters' into 'develop'
Fix filters, restyle filters page

See merge request soapbox-pub/soapbox!2262
2023-02-12 21:08:15 +00:00
9dc7c92c5a add sort-keys rule to modal-root.tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 18:07:30 +01:00
64c4847f9d Dashboard: Allow to create announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 17:54:13 +01:00
Chewbacca
f46086d52a Cleanup a few things 2023-02-10 14:43:41 -05:00
Chewbacca
60d7ff8395 Re-build dropdown-menu using FloatingUI 2023-02-10 13:17:39 -05:00
Chewbacca
17684571af Update hoverable menu on Chat Messages 2023-02-09 12:42:00 -05:00
Alex Gleason
e2e3af4a8b
Don't allow reacting with any emoji to a chat for now 2023-02-08 20:28:44 -06:00
47403872fa Merge remote-tracking branch 'soapbox/develop' into filters 2023-02-08 23:40:40 +01:00
Alex Gleason
50457d3b8d
Chats: disable adding media (and submitting) while media is uploading 2023-02-08 13:07:54 -06:00
Chewbacca
3ca491c03f classNames -> clsx 2023-02-08 14:06:41 -05:00
Alex Gleason
6eadaf2942
CHats: fix deleting a specific attachment 2023-02-08 13:02:48 -06:00
Alex Gleason
64f17ef013
ChatTextarea: add gaps between uploads, put pending upload at end of list 2023-02-08 12:53:07 -06:00
Alex Gleason
072e058764
ChatUploadPreview: support gif attachments 2023-02-08 12:50:18 -06:00
Alex Gleason
ef5001d38b
Chats: support multiple attachments 2023-02-08 12:30:20 -06:00
Chewbacca
e255bfac3d Improve Emoji Reactions and add support for Chat Reactions 2023-02-08 12:58:01 -05:00
07b7d1ec2a Merge remote-tracking branch 'soapbox/develop' into rss-button 2023-02-07 22:24:15 +01:00
Alex Gleason
0631657278
ProfileDropdown: enforce a max width 2023-02-07 12:02:37 -06:00
49a7d40efb Fix filters, restyle filters page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-07 15:38:31 +01:00
Alex Gleason
dc597ac765
Add useClickOutside hook for Floating UI elements 2023-02-06 17:17:12 -06:00
Alex Gleason
ec7f9b9950
ProfileDropdown: fix hover styles for menu items with action 2023-02-06 17:00:25 -06:00
Alex Gleason
53a930c75c
ProfileDropdown: dismiss when clicked outside 2023-02-06 16:53:56 -06:00
bfe1401a34 Fix imports
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 23:48:44 +01:00
Alex Gleason
7f6b19aa4a
ProfileDropdown: refactor with Floating UI 2023-02-06 16:33:08 -06:00
Alex Gleason
d44be7fbf8 Merge branch 'chat-composer' into 'develop'
Chats: move chat attachments into composer

See merge request soapbox-pub/soapbox!2229
2023-02-06 21:05:42 +00:00
marcin mikołajczak
d62290f020 Merge branch 'events' into 'develop'
Add NewEventPanel to events list page

See merge request soapbox-pub/soapbox!2255
2023-02-06 20:53:49 +00:00
Alex Gleason
e3f168f050
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-06 14:25:37 -06:00
4721452986 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:31:20 +01:00
c56728b722 classNames() ==> clsx()
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 20:28:18 +01:00
Alex Gleason
e5f90e4733 Merge branch 'clsx' into 'develop'
classNames() --> clsx(), lint

See merge request soapbox-pub/soapbox!2259
2023-02-06 19:15:43 +00:00
Alex Gleason
785612691a
yarn lint:js --fix 2023-02-06 12:06:44 -06:00
Alex Gleason
701215d7bc
classNames() --> clsx() 2023-02-06 12:05:19 -06:00
Alex Gleason
89d55b1b70
ChatComposer: shrink "x" icon, fix pending upload jump 2023-02-06 11:30:36 -06:00
49ba4c7a9d Fixes, styles improvements, cleanup, enforce classes order for classNames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-06 18:18:49 +01:00
Chewbacca
81d7d3a7a4 Merge branch 'develop' into 'improve-logo-alignment'
# Conflicts:
#   app/soapbox/features/ui/components/navbar.tsx
2023-02-06 15:38:14 +00:00
b529ec8a07 Add NewEventPanel to events list page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-05 23:14:21 +01:00
Alex Gleason
25277b0b73
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-03 12:03:45 -06:00
Alex Gleason
0ee8c8eba1 Merge branch 'tailwind-order' into 'develop'
Tailwind order

Closes #1349

See merge request soapbox-pub/soapbox!2244
2023-02-03 16:38:28 +00:00
Chewbacca
dadeb43c74 Improve navbar alignment 2023-02-03 11:01:25 -05:00
Alex Gleason
4c025bb2bc
Refactor ProgressBar 2023-02-02 18:03:22 -06:00
Alex Gleason
e203e0d0d2
Chats: move uploading progress into the composer text box 2023-02-02 17:37:37 -06:00
Alex Gleason
6b1882d7a9
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-02 15:19:54 -06:00
Alex Gleason
1b8d118217
Chats: support displaying multiple attachments 2023-02-02 14:43:47 -06:00
Alex Gleason
7fe4b34e6f
Add type-aware UploadPreview component, fix ChatComposer bg on dark mode 2023-02-02 14:20:40 -06:00
Alex Gleason
ec634f4fa1
ChatUpload: allow clicking upload to view in modal 2023-02-02 13:54:36 -06:00
Alex Gleason
cb715f4f05
ChatUpload: ensure X icon is always white 2023-02-02 13:33:18 -06:00
Alex Gleason
747868edb3
ChatTextarea: fix focus border and ring styles 2023-02-02 13:27:38 -06:00
Alex Gleason
ea8561ca19
ChatUpload: add blurhash 2023-02-02 13:06:27 -06:00
Alex Gleason
01aef5e89e
Remove withDismiss prop from status, update CHANGELOG 2023-02-02 12:06:39 -06:00
Alex Gleason
0d99ae5daa
yarn lint:js --fix 2023-02-01 16:13:42 -06:00
Alex Gleason
382bc6732d
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-01 15:28:33 -06:00
db15858b9f Merge remote-tracking branch 'soapbox/develop' into rss-button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-30 23:16:25 +01:00
Alex Gleason
cfd3ea9467 Merge branch 'status-font-size' into 'develop'
Increase font size of focused status in threads

See merge request soapbox-pub/soapbox!2232
2023-01-30 19:53:24 +00:00
Alex Gleason
747cc8c5b9
StatusContent: size --> textSize 2023-01-30 13:38:29 -06:00
Chewbacca
352382cd05
Use Grid + Aspect to size MediaItem 2023-01-30 12:17:06 -06:00
Alex Gleason
d64b8d9b16
Merge remote-tracking branch 'origin/develop' into accounts-scss 2023-01-30 12:14:51 -06:00
bb4aac4c65 Switch back to using account-container in notification list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-29 23:11:52 +01:00
1f39ddf0ec Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 23:07:26 +01:00
Alex Gleason
1169149b83
Increase font size of focused status in threads 2023-01-27 12:36:49 -06:00
Alex Gleason
7b32373694
Move chat attachments into composer 2023-01-26 12:30:26 -06:00
69b597d119 Add 'Repost event' to menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-25 23:16:03 +01:00
Alex Gleason
382e464390
Move chat attachments into the chat composer 2023-01-25 15:45:33 -06:00
Alex Gleason
eb54e5c15c Merge branch 'polyfills' into 'develop'
Increase compatibility with older browsers

See merge request soapbox-pub/soapbox!2221
2023-01-24 18:48:24 +00:00
Alex Gleason
ad6d03b4eb
Make OAuth tokens API more resilient 2023-01-24 12:00:34 -06:00
Alex Gleason
70de5aea0f
Increase janky test timeout even more >:( 2023-01-23 17:53:06 -06:00
88e2c011a1 i18n: handle plurals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-24 00:08:51 +01:00
Alex Gleason
ce01b93a70
Replace occurrences of fetch() with axios 2023-01-23 16:09:45 -06:00
901861d5b8 Fix #1330
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-22 23:29:44 +01:00
Alex Gleason
fa86d1d5dd Merge branch 'i-1263' into 'develop'
transatable staff badges inside profile

Closes #1263

See merge request soapbox-pub/soapbox!2207
2023-01-21 16:15:17 +00:00
Tassoman
cf677a610b transatable staff badges inside profile 2023-01-21 16:15:17 +00:00
Alex Gleason
e2a4bfc632
Chats: fix bubble corner for other person's message 2023-01-20 13:08:10 -06:00
Alex Gleason
58cf71ceda
ChatMessageList: fix regression with links not wrapping 2023-01-20 11:56:50 -06:00
Alex Gleason
ec0a3d6eea
Chats: actually, do use a paperclip 2023-01-20 11:53:10 -06:00
Alex Gleason
af1ad92432
Chats: use plus icon to upload attachment 2023-01-20 11:29:40 -06:00
Alex Gleason
f222491b3e
ChatMessageList: sharpen top-right corner of bubble when there's an attachment 2023-01-20 11:13:54 -06:00
Alex Gleason
bab64a98af
Merge remote-tracking branch 'origin/develop' into improve-chat-media 2023-01-20 10:14:22 -06:00
93b09d8206 Add ability to follow hashtags in web UI
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-19 15:06:17 +01:00
afd4a39337 Friendica, version parsing fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-19 00:15:32 +01:00
marcin mikołajczak
e41b35bfdc Merge branch 'compose-improvements' into 'develop'
Minor composer improvements

See merge request soapbox-pub/soapbox!2181
2023-01-18 06:48:22 +00:00
Alex Gleason
f823690b7e
Chats: don't display "copy" button if there's no text to copy 2023-01-17 14:34:31 -06:00
Alex Gleason
687fcdc294
Chats: improve design of attachments, fix sizing bug 2023-01-17 14:33:04 -06:00
Alex Gleason
ed8299892c
Autoplay embedded videos after the play button is clicked 2023-01-17 13:12:47 -06:00
4ec90c031e Minor composer improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-16 20:49:44 +01:00
Alex Gleason
d2855b2565
RegistrationForm: add @ icon 2023-01-15 13:25:42 -06:00
Alex Gleason
e48e5a5652
Delete unnecessary placeholder locale 2023-01-15 13:23:28 -06:00
Alex Gleason
5f747fa703
SoapboxConfig: fix UX of homepage redirect input 2023-01-15 13:22:03 -06:00
Alex Gleason
a81577bcf6
Test public layout header 2023-01-15 13:07:42 -06:00
Alex Gleason
300d3a0200
Refactor tests with mock stores 2023-01-15 12:50:14 -06:00
Alex Gleason
0a90c3c377
Add tests to components with signup CTAs 2023-01-15 12:35:34 -06:00
Alex Gleason
f218496b82
Fix UnauthorizedModal and Navbar 2023-01-14 19:18:13 -06:00
Alex Gleason
aba3be798d
Merge remote-tracking branch 'origin/develop' into redirect-root 2023-01-13 19:14:06 -06:00
Alex Gleason
82981efe9a
Add useRegistrationStatus hook 2023-01-13 19:13:15 -06:00
Alex Gleason
21f864c8a6 Merge branch 'backups' into 'develop'
Restore zip backups, export CSV, import CSV

Closes #1264

See merge request soapbox-pub/soapbox!2158
2023-01-13 19:41:01 +00:00
Alex Gleason
b1af21956e
Upgrade qrcode.react, add white border
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1321
2023-01-13 12:47:51 -06:00
Alex Gleason
8b50afc128 Merge branch 'types-react' into 'develop'
Upgrade @types/react to v18

See merge request soapbox-pub/soapbox!2147
2023-01-13 18:05:59 +00:00
Alex Gleason
b28e80a1fe
ComposeForm: fix publish icon
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1319
2023-01-13 11:10:39 -06:00
Alex Gleason
edfece4ac0
Merge remote-tracking branch 'origin/develop' into types-react 2023-01-13 09:56:20 -06:00
Alex Gleason
d3f93d0325
Merge remote-tracking branch 'origin/develop' into accounts-scss 2023-01-12 11:38:56 -06:00