Commit graph

3508 commits

Author SHA1 Message Date
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