Commit graph

3131 commits

Author SHA1 Message Date
6900b59697 Move isDefaultHeader and isDefaultAvatar to utils/accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-13 00:09:00 +01:00
761061c9a8 Default header should not be clickable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-13 00:00:13 +01:00
Alex Gleason
90513f1807 Merge branch 'chat-search-pagination' into 'develop'
Improve Chats search

See merge request soapbox-pub/soapbox!1993
2022-12-12 19:27:17 +00:00
Chewbacca
e8427b3081
Remove 2 minute expiration 2022-12-12 12:13:32 -06:00
Chewbacca
af19c1bd44
Fix spacing bug 2022-12-12 12:12:06 -06:00
Chewbacca
15594df644
Fix tests 2022-12-12 12:01:10 -06:00
Chewbacca
6bae81a758
Reduce size of ellipsis icon 2022-12-12 12:01:04 -06:00
Chewbacca
5a30509fa6
Add support for pagination in Chat Search 2022-12-12 11:59:37 -06:00
tassoman
6c00d4e0e1 file fields inverted position 2022-12-10 18:55:04 +01:00
aea7016123 this wasn't meant to be merged
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-09 17:07:38 +01:00
24b790c2d1 Set tile server to empty by default
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-08 16:45:33 +01:00
47b8f5fe64 Specify description format as markdown
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-08 16:40:14 +01:00
2137193935 Revert "Remove 'show on map' for now"
This reverts commit 46cb676822.
2022-12-08 16:30:48 +01:00
marcin mikołajczak
41746b84d9 Merge branch 'events' into 'develop'
Show Unauthorized modal for 'X people going'

See merge request soapbox-pub/soapbox!1979
2022-12-08 14:28:13 +00:00
Alex Gleason
dad6244c7d
Chats: remove language around followers 2022-12-07 15:56:22 -06:00
Alex Gleason
dc556248f0
private --> direct 2022-12-07 15:56:22 -06:00
Alex Gleason
b42b8fced4
Chats: fix mention styling 2022-12-07 15:56:17 -06:00
Alex Gleason
8b013cbf1c
Chats: fix message from profile button 2022-12-07 08:25:56 -06:00
Alex Gleason
df3a64a4af
Chats: simplify Welcome screen 2022-12-07 08:14:22 -06:00
Alex Gleason
fbd2471dc6
Move StatProvider above UI, increment chats unread counter from streaming events 2022-12-07 00:45:10 -06:00
Alex Gleason
d811500812
Chats: enable autocomplete 2022-12-07 00:18:47 -06:00
Alex Gleason
d4419bf71f
Chats: hide read receipts for unsupported servers 2022-12-06 22:32:35 -06:00
Alex Gleason
ef4e738625
Load chats even on small screen sizes 2022-12-06 22:22:25 -06:00
Alex Gleason
2ffce5b68f
Chats: delete failing tests 2022-12-06 17:44:50 -06:00
Alex Gleason
acc2da252f
Chats: allow toggling sound 2022-12-06 17:24:24 -06:00
Alex Gleason
6c22a3841b
ChatPaneHeader: i18n title 2022-12-06 17:10:16 -06:00
Alex Gleason
e1edc9796b
Make .compose-form__upload more widely available 2022-12-06 17:08:00 -06:00
Alex Gleason
6a27670271
Break composer upload into a generic component 2022-12-06 17:01:06 -06:00
Alex Gleason
5b1de5da8c
Chats: improve uploading progress bar styles 2022-12-06 16:39:37 -06:00
Alex Gleason
9e39415ca8
Chats: gate upload button behind chatsMedia feature flag 2022-12-06 16:36:30 -06:00
Alex Gleason
4c5e8eb525
Chats: improve upload button styles 2022-12-06 16:33:53 -06:00
Alex Gleason
dc420a843b
Chats: fix submitting an attachment 2022-12-06 16:27:07 -06:00
Alex Gleason
6eafb8c0c3
Chats: start making attachments work again 2022-12-06 16:21:00 -06:00
Alex Gleason
2ca4db5c3b
Chats: fix display of media attachments, fix break-words 2022-12-06 15:45:33 -06:00
3855d966af Add 'View event on {domain}'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-06 22:33:17 +01:00
Alex Gleason
3aff4ee715
Replace proprietary send icon with Tabler 2022-12-06 15:20:48 -06:00
39b9cf4eed Show Unauthorized modal for 'X people going'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-06 22:17:23 +01:00
Chewbacca
994d58294a Support 'seen' property in the Feed Carousel 2022-12-06 16:00:56 -05:00
Chewbacca
717c21a2e3 Switch X for Check 2022-12-06 13:50:03 -05:00
Alex Gleason
2d9c73cf9e
EventHeader: fix initReport() calls 2022-12-06 12:21:25 -06:00
Alex Gleason
2cedd69f1d
Merge remote-tracking branch 'origin/develop' into chats 2022-12-06 11:53:47 -06:00
ee8a424d28 lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-06 16:18:42 +01:00
Chewbacca
0bed4d5f31 Update copy 2022-12-05 15:04:45 -05:00
Chewbacca
5e47a2567f Revert "Replace 'send' icon from Tabler"
This reverts commit d5303387f5.
2022-12-05 13:09:23 -05:00
Chewbacca
d5303387f5 Replace 'send' icon from Tabler 2022-12-05 08:45:20 -05:00
Alex Gleason
4a48e9d510
Merge remote-tracking branch 'origin/develop' into chats 2022-12-04 19:27:54 -06:00
10eaf60fe9 Merge remote-tracking branch 'soapbox/develop' into HEAD 2022-12-02 23:17:50 +01:00
46cb676822 Remove 'show on map' for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-02 23:16:11 +01:00
Chewbacca
5816659a09 Refactor chat functions 2022-12-02 15:50:54 -05:00
Chewbacca
8df7d9c9ef UX improvements to message bubble 2022-12-02 08:28:51 -05:00
Chewbacca
d875c1c3e8 Fix tests 2022-12-01 13:08:05 -05:00
Chewbacca
67a61ad3b4 Search on focus 2022-12-01 12:40:30 -05:00
Alex Gleason
69d64c11b4
Fix spacing of ColumnHeader on Local/Federated timelines 2022-11-30 21:45:49 -06:00
ea4f7a7332 Merge remote-tracking branch 'soapbox/develop' into events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 23:39:49 +01:00
Alex Gleason
31444756e4
Merge remote-tracking branch 'origin/develop' into chats 2022-11-30 12:46:24 -06:00
403bcba525 Compose event modal improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 19:32:35 +01:00
13ccc3fe7f Date display improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 18:34:05 +01:00
Alex Gleason
7675860429
Refactor columns 2022-11-30 11:19:16 -06:00
6435f33af9 fallback to link.url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 16:57:21 +01:00
1de5a69f8b Use remote_url for external links
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-30 11:16:42 +01:00
marcin mikołajczak
443b960067 Show quoted statuses list 2022-11-29 23:32:21 +00:00
ee389e523d Allow to configure tile server
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-29 23:14:16 +01:00
5d9925ed5f Styles improvements, fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-29 22:49:35 +01:00
Alex Gleason
e5ff4fa176
Merge remote-tracking branch 'origin/develop' into events 2022-11-29 11:40:42 -06:00
marcin mikołajczak
c87826c419 Merge branch 'report-modal-previous' into 'develop'
do not show 'previous' button in last step

See merge request soapbox-pub/soapbox!1964
2022-11-28 16:08:36 +00:00
90cb114237 do not show 'previous' button in last step
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 16:56:18 +01:00
Alex Gleason
f87cf765b3
Admin Reports: fix overflow issues 2022-11-28 09:41:19 -06:00
Alex Gleason
0e16bc13c5
Merge remote-tracking branch 'origin/develop' into reports-tailwind 2022-11-28 09:23:13 -06:00
Alex Gleason
860a985a0d Merge branch 'toggle-feed-injection' into 'develop'
Allow disabling feed injection

See merge request soapbox-pub/soapbox!1962
2022-11-28 15:06:43 +00:00
marcin mikołajczak
0d278ffc53 Merge branch 'report-modal-previous' into 'develop'
Show 'previous' button in report modal

See merge request soapbox-pub/soapbox!1961
2022-11-28 15:06:29 +00:00
Chewbacca
50f5e2af38 Merge remote-tracking branch 'origin/develop' into chats 2022-11-28 10:03:40 -05:00
Chewbacca
4b036abefe Merge branch 'redesign-interaction-bar' into 'develop'
Redesign interaction bar

See merge request soapbox-pub/soapbox!1913
2022-11-28 14:40:17 +00:00
Alex Gleason
84edb651ad
Allow disabling feed injection 2022-11-27 21:05:39 -06:00
6fb8290444 EventCarousel: Do not show placeholder if already has results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 00:46:32 +01:00
5d1921b2cc styles fix
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 00:28:15 +01:00
4a96507cd1 Show 'previous' button in report modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-28 00:08:27 +01:00
Alex Gleason
ed573bfeb2
Merge remote-tracking branch 'origin/develop' into use-instance 2022-11-27 16:42:06 -06:00
9ba56a3945 Merge remote-tracking branch 'soapbox/develop' into events 2022-11-27 23:33:51 +01:00
6465423ccb Cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-27 23:33:44 +01:00
Alex Gleason
6697e0191b
Fix crash against Pleroma (make latest_read_message_by_account an optional param) 2022-11-27 15:34:43 -06:00
Alex Gleason
5bb30b6282
Merge remote-tracking branch 'origin/develop' into chats 2022-11-27 15:30:00 -06:00
Alex Gleason
b556166efa
StatusInteractionBar: combine likes and reactions again 2022-11-27 15:10:10 -06:00
Alex Gleason
33dc2f1a02
Merge remote-tracking branch 'origin/develop' into redesign-interaction-bar 2022-11-27 15:05:49 -06:00
Alex Gleason
946545f869
Admin Report: fix report flowing off screen on mobile 2022-11-27 13:33:41 -06:00
Alex Gleason
92053cefb0
Admin Report: use better icons for 'deactivate' and 'delete' 2022-11-27 13:23:43 -06:00
Alex Gleason
5ef9a93371
Admin Reports: restyle with Tailwind 2022-11-27 13:12:40 -06:00
Alex Gleason
d61e115804 Merge branch 'profile-fields-mobile' into 'develop'
Display custom profile fields on mobile

Closes #1160

See merge request soapbox-pub/soapbox!1955
2022-11-26 22:58:28 +00:00
marcin mikołajczak
78779a814f Merge branch 'chats-styles' into 'develop'
Improve chats styles and chat placeholder

See merge request soapbox-pub/soapbox!1951
2022-11-26 22:44:26 +00:00
c61dcddd81 Events page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 22:15:58 +01:00
Alex Gleason
2d97ae399a Merge branch 'remote-timeline-styles' into 'develop'
Remote timeline styles

Closes #1182

See merge request soapbox-pub/soapbox!1952
2022-11-26 20:45:31 +00:00
Alex Gleason
8c55af5b5e
Display custom profile fields on mobile
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1160
2022-11-26 14:36:09 -06:00
Alex Gleason
e114b1d362
Break ProfileField out into its own file 2022-11-26 14:25:22 -06:00
Alex Gleason
3b1eaaddfc
Redesign EditFederationModal 2022-11-26 13:28:51 -06:00
859d93b289 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 20:25:48 +01:00
Alex Gleason
bbb41533b7
RemoteTimeline: improve styles, icons 2022-11-26 13:18:11 -06:00
91103fe400 Events route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 20:13:14 +01:00
b8542c619d Improve chats styles and chat placeholder
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 20:03:17 +01:00
Alex Gleason
1470de587a
Improve direct timeline styles 2022-11-26 12:44:56 -06:00
Alex Gleason
42aff1ca29
Merge remote-tracking branch 'origin/develop' into use-instance 2022-11-26 10:45:13 -06:00
Alex Gleason
d3b67e5167
Add useInstance() hook 2022-11-26 10:43:46 -06:00
Alex Gleason
c3ada63732 Merge branch 'chat-list-styles' into 'develop'
Fix chat list styles

Closes #1221

See merge request soapbox-pub/soapbox!1945
2022-11-26 16:34:55 +00:00
ed22df7a51 Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 16:50:53 +01:00
Alex Gleason
9545248929
Fix chat list styles
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1221
2022-11-26 09:34:13 -06:00
34aee08a09 Make more strings localizable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 16:00:54 +01:00
8b4390681b Make some strings localizable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-26 14:09:28 +01:00
Alex Gleason
32938930d5 Merge branch 'reorganize-menus' into 'develop'
Reorganize sidebar navigation

Closes #1091

See merge request soapbox-pub/soapbox!1937
2022-11-25 22:12:02 +00:00
marcin mikołajczak
655ed99709 Merge branch 'rtl' into 'develop'
RTL support, use Stack and HStack in more places

See merge request soapbox-pub/soapbox!1936
2022-11-25 21:22:02 +00:00
Alex Gleason
0b191a3b9f
SoapboxConfig: fix selecting an SVG logo (but the backend errors) 2022-11-25 15:01:49 -06:00
Alex Gleason
631f3c37e3
Settings: put account move above account deletion 2022-11-25 14:42:11 -06:00
c1179f0475 Lint, cleanup, styles…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 19:28:43 +01:00
785c6b57e3 RTL support, use Stack and HStack in more places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 18:04:11 +01:00
marcin mikołajczak
979b7c3446 Merge branch 'add-account-fix' into 'develop'
Switch account when adding another account

See merge request soapbox-pub/soapbox!1935
2022-11-25 15:53:09 +00:00
bb2a0002a6 Switch account when adding another account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 15:50:07 +01:00
1fa85d0dd6 Fix: Can't remove all profile fields
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 15:22:05 +01:00
marcin mikołajczak
6456737d8a Merge branch 'focus-styles' into 'develop'
Focus styles, keyboard navigation improvements

See merge request soapbox-pub/soapbox!1933
2022-11-24 23:23:22 +00:00
1bc1ae27b6 Focus styles, keyboard navigation improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-25 00:03:22 +01:00
marcin mikołajczak
93f98ffd96 Merge branch 'chats-styles' into 'develop'
Minor chats styles improvements

Closes #1181 and #1210

See merge request soapbox-pub/soapbox!1932
2022-11-24 22:57:52 +00:00
37b698b2e0 Minor chats styles improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-24 23:15:30 +01:00
Alex Gleason
16f52538ce
MediaModal: fix hotkey navigation
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1209
2022-11-23 13:46:09 -06:00
Alex Gleason
c4d3719918 Merge branch 'fix-header-preview' into 'develop'
ProfilePreview: fix display of header image, code cleanup

See merge request soapbox-pub/soapbox!1929
2022-11-23 18:24:45 +00:00
Alex Gleason
ea0146400c
Merge remote-tracking branch 'origin/develop' into sensitive-video-fix 2022-11-23 11:49:27 -06:00
Alex Gleason
85b8d09d68
ProfilePreview: fix display of header image, code cleanup 2022-11-23 11:45:52 -06:00
Alex Gleason
41dd2bfcef Merge branch 'stillimage-tw' into 'develop'
Make StillImage Tailwind friendly

See merge request soapbox-pub/soapbox!1925
2022-11-22 23:31:38 +00:00
Alex Gleason
47613dde56
Simplify StillImage component, fix header images 2022-11-22 11:33:47 -06:00
Chewbacca
e14230678d Add emoji autocomplete to Chats 2022-11-22 09:55:31 -05:00
Chewbacca
f2e7cf4e5c Remove avatar from chat messages 2022-11-22 08:23:18 -05:00
Alex Gleason
82c00fdfb2 Merge branch 'custom-emoji-categories' into 'develop'
Support custom emoji categories

Closes #1197

See merge request soapbox-pub/soapbox!1927
2022-11-21 17:45:49 +00:00
Chewbacca
8d9182eb44 Add max character count to Chat composer 2022-11-21 12:21:02 -05:00
Chewbacca
f7f40703cd Merge remote-tracking branch 'origin/develop' into chats 2022-11-21 12:06:44 -05:00
Alex Gleason
1e155c4efd
Merge remote-tracking branch 'origin/develop' into stillimage-tw 2022-11-21 10:59:38 -06:00
Alex Gleason
aad68fcdc1
FeedSuggestions: use HTML display name 2022-11-21 10:56:38 -06:00
Alex Gleason
001c041f51
Remove use of DOMParser in front-end emoji rewriting code
https://github.com/mastodon/mastodon/pull/20758
2022-11-20 18:20:07 -06:00
Alex Gleason
181d03d0c5
Support custom emoji categories
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1197
Related https://github.com/mastodon/mastodon/pull/11196
2022-11-20 18:11:11 -06:00
Alex Gleason
de3678c272
InteractionCounter: refactor with <button> 2022-11-20 16:14:50 -06:00
Alex Gleason
b9a3f7ec13
StatusInteractionBar: break into InteractionCounter component 2022-11-20 16:05:53 -06:00
Alex Gleason
b530d933a3
Merge remote-tracking branch 'origin/develop' into markup-css 2022-11-20 15:00:58 -06:00
Alex Gleason
f7d75f57ea
StillImage: make it play nice with Tailwind, remove still-image.scss 2022-11-20 14:23:18 -06:00
Alex Gleason
8061c8d782
Revert "Merge branch 'mouseup' into 'develop'"
This reverts commit 39b4ee9f09, reversing
changes made to a0597a6445.
2022-11-20 12:27:45 -06:00
Alex Gleason
6444632324
Revert "Merge branch 'autosuggest-profiles-fix' into 'develop'"
This reverts commit 9df92e91e7, reversing
changes made to 39b4ee9f09.
2022-11-20 12:27:30 -06:00
Alex Gleason
908985bdc6
AutosuggestAccount: let account be clicked 2022-11-19 20:15:32 -06:00
Alex Gleason
00989a7dfc
LandingPage: use Markup component for instance description 2022-11-19 18:28:34 -06:00
Alex Gleason
7e32f0d992
Add <Markup> component to style markup from the API 2022-11-19 18:15:17 -06:00
Alex Gleason
990e28ccc8
Remove unnecessary stopPropagation() calls 2022-11-19 15:55:55 -06:00
Alex Gleason
0cea66dcef
ProfileDropdown: allow clicking accounts again 2022-11-19 15:10:23 -06:00
Alex Gleason
c5756c0e7f
Audio: prevent focusing the status when clicked
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1191
2022-11-18 18:42:21 -06:00
Alex Gleason
ba8cab0513
Sensitive video refactor
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1190
2022-11-18 18:34:27 -06:00
Alex Gleason
cac650cded Merge branch 'cz-language' into 'develop'
improved Czech language localization + changed a few hard-coded strings to localized ones

See merge request soapbox-pub/soapbox!1915
2022-11-18 23:32:26 +00:00
Alex Gleason
5351142028
Fix PollForm i18n delete message 2022-11-18 17:28:56 -06:00
Michal Dvorak
8b61461215 replaced intl.formatMessage() call with <FormattedMessage> element + translated a couple of more strings into Czech 2022-11-18 21:07:35 +01:00
Chewbacca
1dfd5244f0 Update design for emoji reacts 2022-11-17 15:37:58 -05:00