Commit graph

5091 commits

Author SHA1 Message Date
Justin
516d35e8ab Increase space between ChatListItems 2022-09-22 14:13:15 -04:00
Justin
045fe8dcbb Improve spacing and height of Chats page 2022-09-22 14:03:12 -04:00
Justin
89c1225976 Hide widget if not onboarded 2022-09-22 12:55:29 -04:00
Justin
93b11ec99c Add new airplane icon for sending messages 2022-09-22 12:45:01 -04:00
Justin
7c134a0c29 Switch buttons 2022-09-22 12:39:52 -04:00
Justin
4466326f8c Change copy to 'Delete for both' 2022-09-22 11:51:12 -04:00
Alex Gleason
624d139a5a
Chats: MAKE WEBSOCKET STREAMING WORK!!! 2022-09-21 18:26:18 -05:00
Alex Gleason
c3edd71bf3
Chats: WIP streaming mutations 2022-09-21 17:52:20 -05:00
Alex Gleason
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
Alex Gleason
90c8096f9e
Merge remote-tracking branch 'origin/develop' into chats 2022-09-21 10:18:29 -05:00
Alex Gleason
097954d2f1 Merge branch 'compose-focus-fix' into 'develop'
ComposeForm: don't focus the input constantly, add usePrevious hook

Closes #1105

See merge request soapbox-pub/soapbox!1796
2022-09-20 13:19:44 +00:00
Alex Gleason
bf590d26c4
ChatPageMain: add back button for mobile 2022-09-19 16:28:32 -05:00
Alex Gleason
4ea422abb5
ChatsPage: remove pb-36 2022-09-19 15:13:55 -05:00
Alex Gleason
9dc1a0caec
ChatPage: allow selecting a chat on mobile 2022-09-19 15:12:18 -05:00
Alex Gleason
19ef0fee20
ChatPage: size the height correctly for mobile 2022-09-19 15:02:16 -05:00
Alex Gleason
d1b10f72aa
ChatPage: collapse on mobile 2022-09-19 14:56:23 -05:00
Alex Gleason
ad521e528e
ChatListItem: prevent links from being clicked 2022-09-19 14:33:22 -05:00
Alex Gleason
e42f0bc9b0
ChatPageMain: allow switching chats before onboarding 2022-09-19 14:19:46 -05:00
Alex Gleason
6ce7c0a8cb
Chats: clean up some eslint errors 2022-09-19 14:14:39 -05:00
Alex Gleason
39f682a472
Self status typofix 2022-09-19 14:04:51 -05:00
Alex Gleason
6b57b62b38
ComposeForm: don't focus the input constantly, add usePrevious hook 2022-09-19 13:55:08 -05:00
Alex Gleason
23bbaf329b
UI: remove QueryClient (it's already in containers/soapbox, how did that happen?) 2022-09-19 13:04:51 -05:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
marcin mikołajczak
4d74158eb7 Merge branch 'compose' into 'develop'
Allow multiple compose forms

See merge request soapbox-pub/soapbox!1786
2022-09-17 21:00:29 +00:00
5e7b78bbac Fix media upload with uninitialized compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 21:13:02 +02:00
42d68bddf9 handleDrop changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 09:29:36 +02:00
Alex Gleason
ca4a5370c1
OutlineBox: allow passing div props through 2022-09-16 13:34:53 -05:00
Justin
88d848ee17 Add welcome screen to Chats main page 2022-09-16 14:33:31 -04:00
Alex Gleason
5297227501
My god is the everlasting sky! Your god lives beneath him. 2022-09-16 13:30:55 -05:00
d3693fe89a Don't accept 'default' as id for ComposeForm
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:18:12 +02:00
Alex Gleason
7fe97e8075
QuotedStatus: move testId to highest component 2022-09-16 12:44:11 -05:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
Alex Gleason
c19fe9f167
Strip leading @ from password reset input 2022-09-16 10:42:05 -05:00
9b51b16e78 update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 16:25:01 +02:00
Justin
9cb34dc45c Refactor ChatPage into multiple components 2022-09-16 10:22:43 -04:00
Justin
acdb89e698 Move ChatPage into subfolder 2022-09-16 10:13:45 -04:00
c31e13b0a5 default cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:53:20 +02:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
Justin
4352d17217 Add snooze icon to ChatList 2022-09-16 08:57:09 -04:00
b38e5ec8e3 tests i can't run locally for now
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 10:40:19 +02:00
Justin
8e35d1dd92 Improve infinite scroll 2022-09-15 10:49:09 -04:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
marcin mikołajczak
3509fd1c6e Merge branch 'follow-requests-link' into 'develop'
Link to /follow_requests in SidebarMenu

See merge request soapbox-pub/soapbox!1792
2022-09-14 14:39:58 +00:00
Justin
6240ea5a23 Finish i18n for DMs 2022-09-14 10:35:32 -04:00
859f39a9d3 Link to /follow_requests in SidebarMenu
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 16:12:23 +02:00
Alex Gleason
749a11dd77 Merge branch 'feed-insertion-algorithm' into 'develop'
Feed insertion algorithms

See merge request soapbox-pub/soapbox!1782
2022-09-14 13:18:19 +00:00
Justin
a60d6770af Remove temp verification 2022-09-13 16:38:28 -04:00
Justin
5eab883fd1 Chats -> i18n 2022-09-13 16:33:34 -04:00
Justin
ea1583dcac Fix chat silence bug 2022-09-13 16:24:19 -04:00
Alex Gleason
6a5c22faaa
SoapboxConfig: fix being unable to add streamfield items when the list is empty 2022-09-13 14:17:54 -05:00
Justin
45afb665b9 Add chat settings to chat main page 2022-09-13 14:11:22 -04:00
Alex Gleason
474d7da02a
linearAlgorithm: add test, fix selection order 2022-09-13 11:57:28 -05:00
Alex Gleason
4ff9918fe0
abovefoldAlgorithm: add basic tests 2022-09-13 11:44:21 -05:00
Justin
0ae515ef18 Refactor ChatSearch and add various states 2022-09-13 11:55:13 -04:00
Justin
0952fe6dae Add Chat context api to main page 2022-09-13 11:18:46 -04:00
9822266561 do i really understand this?
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-13 13:49:50 +02:00
Alex Gleason
22061daf95 Merge branch 'instance-html' into 'develop'
LandingPage: treat as HTML field, prefer short_description

See merge request soapbox-pub/soapbox!1789
2022-09-13 03:46:11 +00:00
Alex Gleason
32a0ae2d1f Merge branch 'followers-tsx' into 'develop'
Followers/Following: convert to TSX

See merge request soapbox-pub/soapbox!1784
2022-09-13 03:45:57 +00:00
Alex Gleason
daa3360581 Merge branch 'favourites-tsx' into 'develop'
Favourites tsx

See merge request soapbox-pub/soapbox!1783
2022-09-13 03:45:44 +00:00
Alex Gleason
f9858841fd Merge branch 'moderation-modal' into 'develop'
Moderation modal

Closes #1082

See merge request soapbox-pub/soapbox!1788
2022-09-13 03:45:21 +00:00
Alex Gleason
da75e0016d
LandingPage: treat as HTML field, prefer short_description 2022-09-12 18:23:23 -05:00
Justin
09d73b1c45 Refactor chat component naming 2022-09-12 16:46:19 -04:00
Justin
8e1aa9f9e8 Add dark mode support to main page 2022-09-12 15:33:08 -04:00
Justin
5b73afbc4e Remove unused prop 2022-09-12 15:05:19 -04:00
Justin
56c617bd32 Merge branch 'alex-chats' into chats 2022-09-12 14:50:02 -04:00
Justin
81bfc06990 Add tests 2022-09-12 14:42:15 -04:00
Justin
a68aeb8464 Start changing the way search works 2022-09-12 14:42:06 -04:00
Alex Gleason
0bf6dad97f
Merge remote-tracking branch 'origin/develop' into feed-insertion-algorithm 2022-09-12 10:47:14 -05:00
Alex Gleason
94c2f5e978
abovefoldAlgorithm: remove accidental console.log 2022-09-12 10:47:01 -05:00
Alex Gleason
d221897cd0
Followers/Following: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:17:49 -05:00
Alex Gleason
74d2325b58
Favourites: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:14:57 -05:00
Alex Gleason
74b2b84458 Merge branch 'video-minimize' into 'develop'
Video: remove "maximize" button

See merge request soapbox-pub/soapbox!1787
2022-09-12 12:36:42 +00:00
Justin
3bbeaa4cf4 Merge branch 'fix-infinite-scroll' into 'develop'
Map paginated results into normalized Tag

See merge request soapbox-pub/soapbox!1779
2022-09-12 12:28:19 +00:00
Alex Gleason
f472e0cca6
setTags: call endpoints synchronously 2022-09-11 21:59:16 -05:00
Alex Gleason
6f236dd1e6
Add utils/badges tests 2022-09-11 21:04:34 -05:00
Alex Gleason
25f0ff9d86
Allow removing legacy 'donor' tag 2022-09-11 20:47:53 -05:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2fc9b215a9
Display custom badges on profiles 2022-09-11 20:21:37 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
Alex Gleason
90cbf0a60f
ListItem: allow child to set className 2022-09-11 17:32:34 -05:00
2b6d06ce01 add emoji-picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 23:10:55 +02:00
Alex Gleason
c067dd7547
Create TagInput component 2022-09-11 15:47:50 -05:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
8a8ef99433
StatusActionBar: simplify options, use AccountModerationModal 2022-09-11 14:36:58 -05:00
Alex Gleason
6d70989ef5
AccountHeader: remove deactivate/delete options 2022-09-11 14:30:24 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
b29df50374
AccountHeader: clean up roles messages 2022-09-11 14:21:25 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
ca1a3d460c
AccountHeader: remove suggestion option 2022-09-11 14:09:52 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
654c60a699
AccountHeader: remove donor option 2022-09-11 13:58:50 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00
Alex Gleason
667f0c09bf
AccountHeader: remove "verified" option 2022-09-11 13:52:13 -05:00
Alex Gleason
a4a54a8164
AccountModerationModal: support account verification 2022-09-11 13:50:03 -05:00
Alex Gleason
a5e5df35a5
Move StaffRolePicker into its own component 2022-09-11 13:36:01 -05:00
Alex Gleason
276e7d6cfc
AccountModerationModal: move to subdirectory 2022-09-11 13:24:34 -05:00
Alex Gleason
6f99be6c3d
AccountHeader: remove promote/demote menu options 2022-09-11 13:23:34 -05:00
Alex Gleason
6ecb715a71
AccountModerationModal: only show staff picker for local accounts 2022-09-11 13:23:11 -05:00
Alex Gleason
cfdace9454
AccountModerationModal: add staff role picker 2022-09-11 13:19:08 -05:00
Alex Gleason
d653c451b6
AccountModerationModal: add account preview 2022-09-11 12:33:33 -05:00
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02:00
Alex Gleason
1e3a959c1c
AccountModerationModal: put AdminFE behind a feature flag 2022-09-11 11:48:37 -05:00
Alex Gleason
774894e127
AccountModerationModal: add "Open in AdminFE" button 2022-09-11 11:46:08 -05:00
Alex Gleason
3120cc8453
AccountModerationModal: boilerplate 2022-09-11 11:28:39 -05:00
Alex Gleason
123317d44b
Video: remove "maximize" button 2022-09-11 10:40:35 -05:00
0c20739d71 Merge remote-tracking branch 'soapbox/delete-unused' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:35 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
Alex Gleason
3a8e45fba2
Delete unused schedule_idle_task.js 2022-09-10 12:07:47 -05:00
Alex Gleason
3e2d917ca5
Delete height_cache.js 2022-09-10 12:06:31 -05:00
Alex Gleason
bcfbc394ab
Delete Groups components 2022-09-10 12:05:38 -05:00
Alex Gleason
82edcc4bd8
Delete unused "introduction" feature 2022-09-10 12:04:08 -05:00
Alex Gleason
3f04d0a049
Followers/Following: convert to TSX 2022-09-10 11:56:02 -05:00
Alex Gleason
0355d2a927
Favourites: refactor, clean up, make it sane 2022-09-10 11:07:35 -05:00
Alex Gleason
aca2df0775
Favourites: quick & dirty conversion to TSX 2022-09-10 10:46:12 -05:00
Alex Gleason
2681b32f7d
StatusList: incorporate feed injection algorithms 2022-09-09 22:26:36 -05:00
Alex Gleason
ec225ea1c5
abovefoldAlgorithm: wrap item selection 2022-09-09 20:49:17 -05:00
Alex Gleason
5749821b36
Algorithms: index --> iteration 2022-09-09 20:47:51 -05:00
Alex Gleason
fe8966fc3e
Scaffold out timeline insertion modules 2022-09-09 20:44:52 -05:00
marcin mikołajczak
6a1c3a7975 Merge branch 'search-own-posts' into 'develop'
Allow searching your own posts

See merge request soapbox-pub/soapbox!1780
2022-09-09 22:20:05 +00:00
30a420acaf Allow searching your own posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 00:12:34 +02:00
ac52071e2f Do not reset tab/searched account when clearing search input
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 23:20:26 +02:00
Justin
3bef7c69ff Map paginated results into normalized Tag 2022-09-09 10:43:33 -04:00
Justin
1c179cd4a0 Add error states 2022-09-08 12:47:19 -04:00
Justin
c48b4adc81 Error handling for bad sends 2022-09-08 10:24:20 -04:00
Justin
e333a5042e Merge branch 'chats' into alex-chats 2022-09-08 08:37:58 -04:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
Justin
999c5caafd Merge branch 'improve-input' into 'develop'
Extend input with new prepend/append options

See merge request soapbox-pub/soapbox!1778
2022-09-08 12:36:41 +00:00
Justin
d4d561638d Merge branch 'bug-fixes' into 'develop'
Bug fixes

See merge request soapbox-pub/soapbox!1761
2022-09-08 12:29:42 +00:00
Justin
7063ce759d Add JSDOC 2022-09-08 08:28:19 -04:00
Justin
75472247d8 Merge branch 'improve-danger-button' into 'develop'
Update 'danger' button styles

See merge request soapbox-pub/soapbox!1777
2022-09-08 12:23:58 +00:00
Justin
9aebaa96a8 Fix tests 2022-09-07 10:30:11 -04:00
Justin
07cbd02737 Lint 2022-09-07 08:27:40 -04:00
Justin
a190eba006 Add polyfill for ResizeObserver 2022-09-07 08:27:40 -04:00
Justin
c47eda8a0a Fix non-valid DOM attributes getting passed to input 2022-09-07 08:27:40 -04:00
Justin
6486f3b539 Fix ref passed to Stack error 2022-09-07 08:27:40 -04:00
Justin
0940896448 Fix nested <div> within <p> error 2022-09-07 08:27:40 -04:00
Justin
494cd622a5 Update usage of input 2022-09-07 08:24:44 -04:00
Justin
d4209c86b7 Extend input with new prepend/append options 2022-09-07 08:21:14 -04:00
Justin
2682116151 Update 'danger' button styles 2022-09-07 08:17:11 -04:00
Justin
81ea892ff7 Export TextSizes type 2022-09-07 08:11:25 -04:00
Justin
99e5e4492a Extend Divider with 'textSize' prop 2022-09-07 08:09:32 -04:00
Alex Gleason
57b2527b55
StatusActionBar: copy status.url --> status.uri 2022-09-06 13:09:31 -05:00
d074553e21 Wrap HStack in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:18:15 +02:00
Alex Gleason
d9d9c4521f
soapbox-pub/soapbox-fe --> soapbox-pub/soapbox 2022-09-04 15:15:54 -05:00
marcin mikołajczak
4c6b2ab2f0 Merge branch 'language-pl' into 'develop'
Update Polish translation, fix typos

See merge request soapbox-pub/soapbox-fe!1766
2022-09-03 22:24:38 +00:00
005f317a93 Change active tab when navigated to another profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 23:19:30 +02:00
08702248b9 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:27:27 +02:00
cd93399569 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:15:21 +02:00