Commit graph

640 commits

Author SHA1 Message Date
e3d2b44bdc Profile directory: styles, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-25 18:23:26 +01:00
10f7339e5c Profile directories, adapted from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-22 21:22:29 +01:00
Alex Gleason
cd236f1e1d
ShowablePassword: switch icons 2021-12-20 10:28:34 -06:00
Alex Gleason
9800c7db98 Merge branch 'replace-icons' into 'develop'
Replace LineAwesome with Tabler icons in some more places

See merge request soapbox-pub/soapbox-fe!920
2021-12-16 22:24:39 +00:00
951faf04bb Change icon for briefcase
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-16 23:11:28 +01:00
Alex Gleason
55ba4bd106
ShowablePassword, IconButton: submit on Enter 2021-12-15 10:46:25 -05:00
Alex Gleason
7f3d7fbc29 Merge branch 'showable-password' into 'develop'
Create ShowablePassword component

See merge request soapbox-pub/soapbox-fe!916
2021-12-15 15:07:33 +00:00
4274b13aa7 Add ShowablePassword component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-15 15:26:34 +01:00
Alex Gleason
1b7c0adc58 Merge branch 'replace-icons' into 'develop'
Replace LineAwesome with Tabler icons in some places

See merge request soapbox-pub/soapbox-fe!915
2021-12-14 19:04:24 +00:00
68e05c803b Replace LineAwesome with Tabler Icons in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 19:48:18 +01:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
Alex Gleason
0b0e7188e3
PullToRefresh: switch back to the old loading indicator for now 2021-12-02 22:37:08 -06:00
Alex Gleason
d6bc8d8b6c
PullToRefresh: use iOS style spinner 2021-12-02 15:38:26 -06:00
Alex Gleason
c57d50aa4e
PullToRefresh: increase pull resistance and threshold 2021-12-02 14:11:40 -06:00
Alex Gleason
1714ac03d2
Status: display a placeholder Card on own links, poll for updated card 2021-11-15 19:10:38 -06:00
d25354013a Use .destructive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-08 17:21:33 +01:00
287bd6c7f5 Use warning color for delete actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-07 10:24:09 +01:00
187d579be0 Key navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-06 11:26:50 +01:00
Alex Gleason
cb98c16011
Poll: fix crash when voting 2021-11-05 23:29:35 -05:00
Alex Gleason
0b21092281 Merge branch 'more-pull-to-refresh' into 'develop'
Add Pull to Refresh to timelines, Notifications, Chats, Bookmarks

See merge request soapbox-pub/soapbox-fe!854
2021-11-04 19:37:47 +00:00
Alex Gleason
9ce3aa8d1b
HomeTimeline: pull to refresh 2021-11-04 13:30:54 -05:00
bdb61c14e3 Add icons for status action bars
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 19:16:04 +01:00
Alex Gleason
16f6644602
Status: implement actual Pull to Refresh on threads, add PullToRefresh custom component 2021-11-04 12:34:22 -05:00
Alex Gleason
cb2d699bce Merge branch 'pull-to-refresh' into 'develop'
Column: remove top gap on mobile, implement pulling feedback

See merge request soapbox-pub/soapbox-fe!848
2021-11-04 01:49:18 +00:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
Alex Gleason
8634db39a5 Merge branch 'polls-unauthorized-modal' into 'develop'
Check if unauthorized when toggling poll options

See merge request soapbox-pub/soapbox-fe!828
2021-11-03 18:15:57 +00:00
Alex Gleason
84074fc1b4
SidebarMenu: add invites button 2021-11-02 12:05:36 -05:00
Alex Gleason
15a91d5ae3
Developers: scaffold with WIP developers page 2021-11-02 00:05:33 -05:00
Alex Gleason
52512ec110
Trends: fix Hashtag component and TrendsPanel, display trends in Search 2021-11-01 20:37:39 -05:00
Alex Gleason
23393710c7
AutosuggestInput: add icon to menu 2021-11-01 13:53:30 -05:00
Alex Gleason
4ef9a88f72
Search: add menu to AutosuggestInput 2021-11-01 13:45:17 -05:00
Alex Gleason
a5bf105ccd
Search: autosuggest accounts in search bar on desktop 2021-11-01 12:25:18 -05:00
Alex Gleason
f950ee7c0c Merge branch 'import-data-link' into 'develop'
Use correct 'Import data' link for Mastodon

See merge request soapbox-pub/soapbox-fe!834
2021-10-31 21:22:03 +00:00
d4f32e1219 Use correct 'Import data' link for Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-31 22:07:41 +01:00
fe4c4d93c9 use baseURL for /invites
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-28 19:58:18 +02:00
92ee89936e Show unauthorized modal when toggling poll options
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-27 22:51:17 +02:00
1796a35951 Partially fix post navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-26 17:38:49 +02:00
4bc3a0c7dc Styles, set focus to sidebar on open
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-26 11:26:58 +02:00
Alex Gleason
f8ca45f5fb Merge branch 'configurable-autoload-more' into 'develop'
ScrollableList: Add option to disable loading more items when scrolled to bottom

See merge request soapbox-pub/soapbox-fe!822
2021-10-24 18:32:07 +00:00
535290654d ScrollableList: Add option to disable loading more items when scrolling to bottom
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 20:11:28 +02:00
marcin mikołajczak
ce9a150abc Update app/soapbox/components/poll.js 2021-10-24 12:33:24 +00:00
f2b91a2231 Fix polls for unauthenticated users
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 14:03:42 +02:00
Alex Gleason
897f65cf72
PrimaryNavigation, ThumbNavigation: move Search to after Home 2021-10-23 14:09:17 -05:00
813cd58305 Do not use voters_count for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:27:49 +02:00
88d35e13e8 Add single option votes tooltip in polls
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:23:07 +02:00
e6f30abd91 Fix poll options not being selectable via keyboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:13:17 +02:00
00aacc5e33 Add voters count support
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:06:34 +02:00
040dfe652a Change vote results to display tied leading options as leading
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:04:21 +02:00
2f5fff0222 Show user what options they have voted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:03:21 +02:00
Alex Gleason
ec22cc8afa
AccountTimeline: add SubNavigation 2021-10-19 15:13:04 -05:00
Alex Gleason
49d0f23ac0
SubNavigation: switch out arrow icon, enlarge it 2021-10-19 13:37:13 -05:00
Alex Gleason
79f878db97
Status: improve "pinned" icon 2021-10-16 10:10:41 -05:00
Alex Gleason
5017804b0a
Revert "Add scrolling SubNavigation to Home and Account timelines"
This reverts commit b1da9dc455.

This solution feels wrong
2021-10-15 22:05:59 -05:00
Alex Gleason
b1da9dc455
Add scrolling SubNavigation to Home and Account timelines 2021-10-15 21:55:11 -05:00
Alex Gleason
0b975c7761
SubNavigation: add a11y titles 2021-10-15 18:37:32 -05:00
Alex Gleason
efd583473a
MediaGallery: only display eye icon when marked as sensitive 2021-10-15 18:30:14 -05:00
Alex Gleason
1a6b61c248
EmojiReacts: consistent hover behavior, isUserTouching() 2021-10-15 17:56:03 -05:00
Alex Gleason
b236e11225
Local timeline: restore column settings 2021-10-15 17:11:16 -05:00
Alex Gleason
04787678a2
Add autoloadTimelines user setting to configure timeline loading behavior 2021-10-15 15:41:40 -05:00
Alex Gleason
27a30078a3
Merge remote-tracking branch 'origin/next' into next 2021-10-15 15:33:31 -05:00
Alex Gleason
bdde72a29e
Favicon badge: clear on pageload 2021-10-15 15:33:09 -05:00
22eea75e9a Make thumb nav look ok-ish with Polish language
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-15 20:06:05 +02:00
Alex Gleason
6313559409
Favicon unread badge: improve behavior & style 2021-10-15 12:42:42 -05:00
Alex Gleason
69dcd6421a
Display Slack-like favicon unread badge (yoinked from Pleroma FE) 2021-10-15 11:52:35 -05:00
Alex Gleason
a38963abba
jest: remove unused snapshot 2021-10-14 13:55:26 -05:00
Alex Gleason
ef809a8d59
Delete ColumnBackButtonSlim, fix runtime warnings 2021-10-14 13:38:16 -05:00
Alex Gleason
a8dfe1262b
SubNavigation: render tab title depending on message 2021-10-14 13:26:07 -05:00
Alex Gleason
4dbc4247f1
AutosuggestInput: fix autofocus 2021-10-14 12:35:05 -05:00
Alex Gleason
936c837880
DisplayName: add key in rendered list 2021-10-14 11:50:45 -05:00
Alex Gleason
a02112a1c8
Create AccountSearch component to do more than AutosuggestAccountInput 2021-10-14 11:47:10 -05:00
Alex Gleason
b0b13e9e59
AutosuggestInput: refactor CSS, fix hotkeys 2021-10-14 10:59:24 -05:00
Alex Gleason
f6f410d276
AutosuggestAccountInput: configurable limit prop 2021-10-14 10:48:17 -05:00
Alex Gleason
e8005b9cf6
AutosuggestAccountInput: prevent race condition by cancelling pending requests 2021-10-14 10:05:57 -05:00
Alex Gleason
92c164dc6b
Create AutosuggestAccountInput component, display it in DirectTimeline (WIP) 2021-10-14 09:47:08 -05:00
Alex Gleason
65891a904c
Button: remove text-decoration when wrapped with a <Link/> 2021-10-14 08:22:17 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00
Alex Gleason
8a26db57f7
Placeholder: display placeholders in slist while next page is loading 2021-10-12 19:14:27 -05:00
Alex Gleason
f6b1bca574
Helmet: wrap withRouter, probably fix page title getting stuck 2021-10-12 16:28:47 -05:00
Alex Gleason
b343a403e8
ScrollableList, PlaceholderDisplayName: fix runtime warnings 2021-10-12 16:21:04 -05:00
Alex Gleason
7f1613dd20
ScrollableList: remove accidental changes in commit 2021-10-12 13:54:23 -05:00
Alex Gleason
583aa6fd60
MediaGallery: fix audio attachment thumb crash 2021-10-12 13:46:09 -05:00
Alex Gleason
135ec190ee
Instead of str.replaceAll, use str.replace with regex (for better browser support) 2021-10-12 10:31:15 -05:00
Alex Gleason
47b433915b
Placeholder: display placeholder statuses while timelines are loading 2021-10-11 14:03:39 -05:00
Alex Gleason
d41e3f96ee
ScrollableList: break up render function into smaller pieces 2021-10-11 11:59:37 -05:00
Alex Gleason
b1e10f3db2
ErrorBoundary: improve icons and styles 2021-10-10 02:48:35 -05:00
Alex Gleason
c8e207d6c1
StatusList: fix crash 2021-10-09 22:52:44 -05:00
Alex Gleason
379d03a509
Optimistic statuses: prepend with 末 to sort it at the end 2021-10-09 21:16:37 -05:00
Alex Gleason
50feacbd6b
Optimistic, nonblocking statuses 2021-10-09 17:30:20 -05:00
Alex Gleason
2608de7af4
AttachmentThumbs: click to expand post 2021-10-09 12:33:08 -05:00
Alex Gleason
c264a5fb47
SubNavigation: border-radius 0 when scrolled 2021-10-08 19:09:34 -05:00
Alex Gleason
2dec47e179
MaterialStatus: fix focused state 2021-10-08 17:10:50 -05:00
Alex Gleason
b029225236
ListTimeline: use SubNavigation, nuke HomeColumnHeader once and for all 2021-10-08 16:32:49 -05:00
Alex Gleason
81921578e0
TimelineQueueButtonHeader: automatically load new items when scrolled to the top of the page 2021-10-08 15:20:08 -05:00
Alex Gleason
75a496c806
TimelineQueueButtonHeader: update snapshots 2021-10-08 14:53:21 -05:00
Alex Gleason
38b41ced76
TimelineQueueButtonHeader: always scroll to top 2021-10-08 14:51:54 -05:00
Alex Gleason
4840a3c751
TimelineQueueButtonHeader: display only when scrolled down 2021-10-08 14:34:23 -05:00
Alex Gleason
92fc853642
AttachmentThumbs: display compact media thumbs instead of AttachmentList 2021-10-08 13:17:37 -05:00
Alex Gleason
891a65b66f
Favourites: display favourites for Mastodon (if exposableReactions is manually toggled) 2021-10-07 18:21:28 -05:00
Alex Gleason
cb0a034e85
ProgressCircle: fix propTypes (text --> string) 2021-10-06 17:06:38 -05:00
Alex Gleason
b6704991d2
Column: consolidate column components, refactor transparency, get rid of .column-area--mobile, wtf 2021-10-06 16:01:18 -05:00
Alex Gleason
4b92dbc93d
Create separate MaterialStatus component for statuses with gaps (in timelines) 2021-10-06 14:42:24 -05:00
Alex Gleason
61282f0963
MoreFollows: hide if not federating 2021-10-06 10:58:29 -05:00
Alex Gleason
4e6a6278ac
Revert "Swap positions of Search and Messages/Chats in navigation"
This reverts commit 66f2aa4e84.
2021-10-05 22:25:50 -05:00
Alex Gleason
66f2aa4e84
Swap positions of Search and Messages/Chats in navigation 2021-10-05 22:22:47 -05:00
Alex Gleason
42904dc82f
Notifications: clean up styles 2021-10-05 22:01:16 -05:00
Alex Gleason
1b7fe4ee04
Use custom Home and Post icons 2021-10-05 18:02:19 -05:00
Alex Gleason
30973bd05f
Rotate unread notification bell icon with CSS instead of relying on a separate icon 2021-10-05 17:49:44 -05:00
Alex Gleason
a1512316d8
Add Mastodon compatibility routes, expose /conversations, display Messages tab for Mastodon 2021-10-05 17:07:00 -05:00
Alex Gleason
468119fe3c
SidebarMenu: fix access to intl in mapDispatchToProps 2021-10-05 16:23:06 -05:00
Alex Gleason
d48412c5b2
Account: display full Follow button 2021-10-05 14:45:44 -05:00
Alex Gleason
620aff7107
PrimaryNavigation: add Search button 2021-10-05 13:29:52 -05:00
Alex Gleason
a6f5cf33d0
Media: prefer V2 media API when available 2021-10-05 12:59:37 -05:00
Alex Gleason
59e7c6538e
Audio: ingest attachment metadata 2021-10-05 00:44:49 -05:00
Alex Gleason
115d324e9b
LoadingIndicator: refactor styles, improve look of ColumnLoading 2021-10-04 16:46:55 -05:00
Alex Gleason
63a001ae7d
Fix PropType warnings in ColumnHeader and SubNavigation 2021-10-04 13:39:07 -05:00
Alex Gleason
c29d9fde40
Merge commit 'd85b6742faaca10016d306d831ec8d1d196b9c27' into next 2021-09-29 14:56:24 -05:00
Alex Gleason
ff458cff2c
Mastodon: SidebarMenu: link to rendered pages for Preferences and Security 2021-09-29 07:24:01 -05:00
Alex Gleason
d85b6742fa
Use SVG icons in more places 2021-09-27 23:47:43 -05:00
Alex Gleason
f23a6b0890
Replace a lot more icons with SVG icons 2021-09-27 20:47:44 -05:00
Alex Gleason
161b59431f
TimelineQueueButtonHeader: fix tests 2021-09-27 19:17:52 -05:00
Alex Gleason
cbb033e866
TimelineQueueButtonHeader: make it sticky 2021-09-27 18:38:38 -05:00
Alex Gleason
f8065543f2
Audio: fix timeline jitter caused by Audio player 2021-09-27 15:29:13 -05:00
Alex Gleason
8c1d6ab195
Remove ColumnHeader test
It's not very useful anyway
2021-09-27 14:09:50 -05:00
Alex Gleason
60c3243fcb
SubNavigation: refactor to be contextual based on Column 2021-09-27 13:38:02 -05:00
Alex Gleason
bc4f953af2
Improve display of LineAwesome icons 2021-09-26 23:28:45 -05:00
Alex Gleason
df0fb5ae58
SubNavigation: add non-Home timelines 2021-09-26 16:33:54 -05:00
Alex Gleason
06fddb26f3
SidebarMenu: add links to local and Fediverse timelines 2021-09-26 12:21:23 -05:00
Alex Gleason
f635494629
ComposeForm: yank circular svg character counter from Gab 2021-09-22 16:16:29 -05:00
Alex Gleason
5ac5ef2e38
StatusActionBar: update "share" icon to Feather svg 2021-09-22 13:14:31 -05:00
Alex Gleason
23468b83a9
IconButton: use opacity instead of hsla to avoid svg transparency issues (improves status icons) 2021-09-22 12:18:06 -05:00
Alex Gleason
43a6e26a36
SidebarMenu: update X icon, caret, and plus 2021-09-22 00:16:05 -05:00
Alex Gleason
6a45ccf7b3
Dropdown: fix PropType error 2021-09-21 16:43:44 -05:00
Alex Gleason
72925ab821
DisplayName: call isVerified() 2021-09-21 14:58:50 -05:00
Alex Gleason
f4be2e87a2
Status: use svg icon for h-menu 2021-09-21 13:52:45 -05:00
Alex Gleason
4ac76573fe
SubNavigation: constrain width on desktop 2021-09-21 13:42:25 -05:00
Alex Gleason
9b0e1218c9
Fix janky IconButton (Compose issues) and restore lock/envelope icon for un-repostable posts 2021-09-21 10:25:36 -05:00
Alex Gleason
96a226a94b
PrimaryNavigation: active fill states 2021-09-20 21:13:22 -05:00
Alex Gleason
a0de32bcb0
StatusActionBar: update icons 2021-09-20 20:49:24 -05:00
Alex Gleason
23b14f605b
PrimaryNavigation: remove unused 'federating' field 2021-09-20 19:05:16 -05:00
Alex Gleason
a8a0f18b2c
SubNavigation: use Tabler back icon 2021-09-20 18:36:37 -05:00
Alex Gleason
4a78deb7d3
PrimaryNavigation: use Tabler icons, add timelines 2021-09-20 18:28:55 -05:00
Alex Gleason
3de8dcced0
Tabler: add icons to ThumbNavigation 2021-09-20 17:05:59 -05:00
Alex Gleason
26c7068d66
Add Tabler icons 2021-09-20 15:33:28 -05:00
Alex Gleason
008d53a7d9
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 20:52:26 -05:00
Alex Gleason
b0e37c773e
Load panels async 2021-09-18 17:48:13 -05:00
Alex Gleason
48216659d6
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 16:22:09 -05:00
Alex Gleason
074604a1c9
Put Bookmarks and Lists behind feature flags 2021-09-18 15:03:38 -05:00
Alex Gleason
d6201905c8
Pass iconset into IconButton, IconWithCounter 2021-09-12 19:45:17 -05:00
Alex Gleason
3bf15df730
Add SVG icon support 2021-09-12 18:57:30 -05:00
Alex Gleason
1ea45f7cdb
Gut the TabsBar 2021-09-12 18:51:39 -05:00
Alex Gleason
9a33215528
Improve SidebarMenu design 2021-09-12 18:39:26 -05:00
Alex Gleason
e0f97f4e99
Start navigation changes 2021-09-12 18:20:13 -05:00
Alex Gleason
08f5e1d021
Webpack: chunk Sentry to reduce entrypoint size 2021-09-12 12:33:39 -05:00
Alex Gleason
5921fa9b2d
Fix emoji tests again 2021-09-12 11:09:01 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin 2021-09-12 10:51:58 -05:00
Alex Gleason
bf9a6950eb
Webpack: optimize ErrorBoundary 2021-09-11 18:29:43 -05:00
Alex Gleason
b91c7055ea
StatusContent: add missing key props 2021-09-11 14:31:24 -05:00
Alex Gleason
c2560064e3
Sentry: basic monitoring 2021-09-11 13:44:54 -05:00
Alex Gleason
32dc0d863f Merge branch 'webpack-assets' into 'develop'
Webpack: move to asset modules, refactor

See merge request soapbox-pub/soapbox-fe!738
2021-09-11 01:54:36 +00:00
Alex Gleason
d0630c765f
Jest: update emoji tests 2021-09-10 20:37:13 -05:00
Alex Gleason
19181f40c3
Webpack: bundle Twemoji icons as assets 2021-09-10 17:15:57 -05:00
fc8bb22359 Reactions page improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 00:23:49 +02:00
marcin mikołajczak
c2fc7a0331 Merge branch 'develop' into 'reactions-page'
# Conflicts:
#   app/soapbox/utils/features.js
2021-09-09 20:48:30 +00:00
Alex Gleason
b24cf2361b
SidebarMenu: conditional display of features 2021-09-08 14:03:05 -05:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY 2021-09-05 13:21:39 -05:00
Alex Gleason
e8a4a69b4e
Subdirectory fix: load emojis 2021-09-04 13:11:46 -05:00
b8a9a17c09 Update emoji selector snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:54:39 +02:00
5a7b6e6a06 Trap Tab key in emoji selector
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:24:34 +02:00
Alex Gleason
e652de227c Merge branch 'accessibility' into 'develop'
Accessibility improvements

See merge request soapbox-pub/soapbox-fe!697
2021-08-28 18:26:33 +00:00
Thibaut Girka
9b879b6931 Fix page incorrectly scrolling when bringing up dropdown menus 2021-08-28 15:38:51 +02:00
Thibaut Girka
7b7808defe Fix and refactor keyboard navigation in dropdown menus 2021-08-28 15:37:53 +02:00
Thibaut Girka
11057970ef Improve focus handling with dropdown menus
- Focus first item when activated via keyboard
- When the dropdown menu closes, give back the focus to
  the actual element which was focused prior to opening the menu
2021-08-28 15:23:05 +02:00
Thibaut Girka
675c5a4df2 Improve keyboard navigation in privacy dropdown
* Trap tab in privacy dropdown

* Give focus back to last focused element when privacy dropdown menu closes

* Actually give back focus to the element that had it before clicking the dropdown
2021-08-28 15:23:00 +02:00
Thibaut Girka
64665df236 Improve dropdown menu keyboard navigation
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2021-08-28 15:22:43 +02:00
Thibaut Girka
e43692b4ce Trap tab in modals 2021-08-28 15:22:25 +02:00
ThibG
4b4e815e40 Add hotkey for opening media files 2021-08-28 15:22:08 +02:00
6c034e3a41 Minor accessibility improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:22:04 +02:00
Alex Gleason
2d11a3bd10
Refactor Icon components, add specific ForkAwesomeIcon component 2021-08-26 14:15:34 -07:00
Alex Gleason
6b19f39d51
Federating conditional UI 2021-08-23 14:14:47 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
e5e15fc3f0
Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
Alex Gleason
bde53541b7 Merge branch 'account-aliases' into 'develop'
Account aliases

See merge request soapbox-pub/soapbox-fe!663
2021-08-11 17:02:56 +00:00
f203a4d389 WIP: Account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-05 15:31:29 +02:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
836feb603d Merge branch 'features/polls-behind-cws' into 'develop'
Put poll options behind content warnings

See merge request soapbox-pub/soapbox-fe!653
2021-08-02 16:01:44 +00:00
e5184642fe Put poll options behind content warnings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:14:33 +02:00
33c7fcdcb7 No outline for emoji selector when invisible, but this time it actually works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 13:07:24 +02:00
Alex Gleason
b22f20a390 Merge branch 'accessible-emoji-picker' into 'develop'
Keyboard-accessible emoji picker

See merge request soapbox-pub/soapbox-fe!634
2021-07-21 16:41:26 +00:00
c5dfd6c7d7 Update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 16:34:50 +02:00
5ee92b47ce Keyboard-accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 13:58:22 +02:00
Alex Gleason
76a556cdeb Merge branch 'styles-accessibility' into 'develop'
Minor accessibility improvements

See merge request soapbox-pub/soapbox-fe!578
2021-07-20 18:41:38 +00:00
8cf8937bc9 Update snapshots
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-20 11:51:49 +02:00
9a5419002a Update Polish translation, make some strings translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 17:28:28 +02:00
690da99d75 remove emoji selector related changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 14:02:15 +02:00
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02:00
Alex Gleason
567c4ce093 Merge branch 'fix/settings-checkbox' into 'develop'
Fix settings checkboxes

See merge request soapbox-pub/soapbox-fe!627
2021-07-16 23:52:24 +00:00
Alex Gleason
e978c1ca3b Merge branch 'profile-hover-staff-badges-fix' into 'develop'
ProfileHoverCard: fix redundant staff badges

Closes #690

See merge request soapbox-pub/soapbox-fe!622
2021-07-15 16:57:29 +00:00
Alex Gleason
402748f71f
ProfileHoverCard: fix redundant staff badges 2021-07-15 11:37:30 -05:00
Alex Gleason
58c142306d
Rename occurrences of self variable to ownAccount 2021-07-15 11:25:32 -05:00
Alex Gleason
ffbdfb5712
Statuses: refactor visibility of moderator actions 2021-07-15 11:20:15 -05:00
Alex Gleason
a368ddfee8
UserIndex: display dates on accounts in a more compact way 2021-07-14 16:27:14 -05:00
Alex Gleason
12939e3354
LatestAccountsPanel: add expand button, use compact display of accounts 2021-07-14 13:17:21 -05:00
Alex Gleason
a362e0bbd7
UserIndex: display account joined date when available 2021-07-14 10:22:07 -05:00
Alex Gleason
92794847bc
Hide AdminFE from non-admin staff users 2021-07-13 10:41:31 -05:00
Alex Gleason
96af79ad90
Moderators: conditional display of features 2021-07-12 23:32:02 -05:00
Alex Gleason
4f51f1cea6
ErrorBoundary: display user's browser info 2021-07-11 18:19:18 -05:00
Alex Gleason
4e3c002f8a
Refactor getOtherAccounts selector 2021-07-10 04:49:44 -05:00
Alex Gleason
22254ec6bb
Big emojis: fix race condition 2021-07-09 18:52:06 -05:00
Alex Gleason
011b5dd19b
Big emojis: ignore mentions 2021-07-09 18:39:05 -05:00
Alex Gleason
2082c19c53
Rename justEmojis to onlyEmoji 2021-07-09 16:54:44 -05:00
Alex Gleason
c856e9df55
Big emojis in chats, too 2021-07-09 14:22:01 -05:00
Alex Gleason
60872c9f67
Display large emojis when it's the only thing in the status 2021-07-09 13:51:41 -05:00
Alex Gleason
1a3a6e2eb5
Fix propTypes warning in Blurhash, key warning in ProfileInfoPanel 2021-07-08 14:54:54 -05:00
Alex Gleason
c505cde24f
Timelines: fix dequeue, fix component propTypes 2021-07-08 14:52:07 -05:00
Alex Gleason
2978745311
Timelines: big refactor, use Immutable.OrderedSet 2021-07-08 14:28:53 -05:00
Alex Gleason
55495ebf4f
ErrorBoundary: display error text, fixes #672 2021-07-05 18:08:04 -05:00
4d3f4c5680 Accessible emoiji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-03 15:28:55 +02:00
8f53134b5e Minor accessibility improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-03 12:43:56 +02:00
Alex Gleason
5c630ad094
Replace repetitive blurhash code with component
https://github.com/tootsuite/mastodon/pull/14267
https://github.com/tootsuite/mastodon/pull/14278
2021-07-01 21:50:53 -05:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
e7d360baae
ProfileDropdown: memoize otherAccounts for performance 2021-07-01 19:31:27 -05:00
Alex Gleason
93d68ffe9b
SidebarMenu: memoize otherAccounts for performance 2021-07-01 18:59:48 -05:00
Alex Gleason
55015a72c1
Fix greentext postprocessing 2021-06-30 22:38:33 -05:00
Alex Gleason
bbeecddc37
Greentext support 2021-06-30 21:39:27 -05:00
Alex Gleason
8e168fdc0a Merge branch 'reaction-labels' into 'develop'
Reaction labels

See merge request soapbox-pub/soapbox-fe!557
2021-06-30 21:09:59 +00:00
78c55e8798 status.favourite: like
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:56:23 +02:00
f8deb13345 status.favourite: favorite
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:50:27 +02:00
Alex Gleason
c382eb086a Merge branch 'hotkey-navigation' into 'develop'
Partially fix hotkey navigation on timelines (up/down)

See merge request soapbox-pub/soapbox-fe!559
2021-06-30 16:05:59 +00:00
13a4549111 Partially fix hotkey navigation on timelines (up/down)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:57:33 +02:00
998e129072 Reaction labels
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:33:42 +02:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
Alex Gleason
dedac70e58
Fix display of multiple rich media items 2021-06-16 15:20:14 -05:00
Alex Gleason
ef53cd2de1
CryptoDonate: add donate button to mobile sidebar 2021-06-10 14:05:07 -05:00
Alex Gleason
47f6376e3e
Letterbox images with excess aspect ratios 2021-05-30 14:21:52 -05:00
Alex Gleason
66a491d298
Fix video display in media gallery 2021-05-17 22:17:10 -05:00
Alex Gleason
4db03cc3c9
Indicate > 4 attachments, fixes #591 2021-05-17 17:38:36 -05:00
Alex Gleason
4d22bdfe28
Fix video meta dimensions 2021-05-17 17:02:23 -05:00
Alex Gleason
5b24ac0503
Only letterbox media without an aspect ratio 2021-05-12 20:07:59 -05:00
Alex Gleason
01dcd9ac2a
Use 'original' size for aspect ratio 2021-05-12 15:04:31 -05:00
Sean King
63115b70da
Fix settings checkboxes 2021-04-29 09:11:03 -06:00
Alex Gleason
ffa8fda6d5
Improve error boundary styles, provide way to clear browser data 2021-04-22 13:57:47 -05:00
Alex Gleason
7a19861ac6
Stop verify_credentials infinite loop, partial fix for #613 2021-04-10 18:09:05 -05:00
Alex Gleason
e03f551676
acctFull --> getAcct throughout the UI, make it stateful 2021-04-10 14:13:07 -05:00
Alex Gleason
e1c5736822
Sidebar: unlink multi-accounts 2021-03-30 00:46:21 -05:00
Alex Gleason
32b3173604
Set href for menu items with to 2021-03-29 23:29:16 -05:00
Alex Gleason
db201707bf
Middle-click account to open it in a new tab, fixes #603 2021-03-29 23:22:54 -05:00
Alex Gleason
582649538c
Close account switcher when sidebar closes 2021-03-26 22:57:22 -05:00
Alex Gleason
9bff74b575
Remove unused import 2021-03-26 22:42:10 -05:00
Alex Gleason
16ce14e403
Add mobile account switcher 2021-03-26 22:34:30 -05:00
Sean King
9309ef4893
Fix merge conflicts 2021-01-18 20:09:35 -07:00
Sean King
39b50e8fe1
Add moderator button for marking posts sensitive or not sensitive 2021-01-18 19:59:07 -07:00
Alex Gleason
498471958b
Use short names for admin quick actions 2021-01-18 18:25:36 -06:00
Alex Gleason
5b5397312b Merge branch 'admin-improvements' into 'develop'
Admin improvements

See merge request soapbox-pub/soapbox-fe!424
2021-01-18 22:16:28 +00:00
Alex Gleason
c80797ccf8
Admin: delete status directly from menu 2021-01-18 15:57:20 -06:00
Alex Gleason
926335b268
Add "deactivate" and "delete" user modals to every status and account profile 2021-01-18 15:27:35 -06:00
Alex Gleason
47ed1e42c9
Run rootReducer in tests 2021-01-18 14:14:08 -06:00
Alex Gleason
b7bc013acc
Demetricator fixes, closes #543 2021-01-15 13:10:50 -06:00
Alex Gleason
a16e709ff4
Reports: break out separate Report component, basic styling 2020-12-31 17:25:21 -06:00
Alex Gleason
51faa660ca
Admin: refactor Reports reducer 2020-12-31 14:29:31 -06:00
Alex Gleason
8dcd64f168
Admin: fix notification counters for approvals 2020-12-29 20:52:11 -06:00
Alex Gleason
e7bb78712a Merge branch 'admin-dashboard' into 'develop'
Soapbox admin

See merge request soapbox-pub/soapbox-fe!403
2020-12-30 02:44:42 +00:00
Alex Gleason
eec89aaeb5
Refactor TabsBar, refactor IconWithBadge, use Dashboard nav 2020-12-29 20:26:26 -06:00
Alex Gleason
03344756e5
Admin: display awaiting-approval counter in nav 2020-12-29 19:48:39 -06:00
Sean King
83d7622e17
Fix emoji selector test failing 2020-12-24 22:48:22 -07:00
Alex Gleason
e4344c9561
Let allowedEmoji be customizable by the admin, fixes #538 2020-12-24 18:17:53 -06:00
Alex Gleason
983394a242
Merge branch 'heart-react' into develop 2020-12-24 17:05:27 -06:00
Alex Gleason
f587369af0
RemoteTimeline: click favicon to visit remote timeline 2020-12-24 16:57:53 -06:00
Alex Gleason
3d4bd23870
Fix emoji heart tests 2020-12-24 14:40:47 -06:00
Alex Gleason
2e3e60b3d1
Fix timelines not displaying when emoji_reactions is undefined 2020-11-12 13:27:02 -06:00
Alex Gleason
02861aaa8e Merge branch 'server-info-page' into 'develop'
Add server information page for mobile devices, fixes #504

Closes #504

See merge request soapbox-pub/soapbox-fe!376
2020-11-02 15:04:21 +00:00
Sean King
707f873094
Add server information page for mobile devices 2020-10-31 18:58:06 -06:00
Sean King
df85d707bb
Alternative fix without setState in ComponentDidMount 2020-10-29 09:30:08 -06:00
Sean King
3a1bb8f19b
Make display media option work properly 2020-10-29 08:41:43 -06:00
Sean King
285261aad9
Update imports and listenerOptions for components using detect-passive-events 2020-10-15 08:10:45 -06:00
Curtis
9768c18c72 Update status_content.js Fixes #473 2020-10-11 00:21:11 +00:00
Sean King
dcc21221a5
Set collapse in a totally different function instead 2020-10-09 15:27:07 -06:00
Sean King
8e44e72d8e
Don't call updateStatusLinks in ComponentDidMount 2020-10-09 14:52:44 -06:00
Alex Gleason
5dd2366063 Merge branch 'renovate/react-textarea-autosize-8.x' into 'develop'
Update dependency react-textarea-autosize to v8

See merge request soapbox-pub/soapbox-fe!322
2020-10-07 18:38:57 +00:00
Alex Gleason
3144ba6d83
AutosuggestTextarea: inputRef --> ref
For upgrade to react-textarea-autosize v8
2020-10-07 13:25:52 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
17266e172f
Chats: count only unread *chats* not total unread messages for counter 2020-10-02 20:01:09 -05:00
Alex Gleason
3a0b58315f
SoapboxConfig: add a default themeMode toggle 2020-10-01 19:33:03 -05:00
Alex Gleason
a7d2692a71
AutosuggestTextarea: shouldComponentUpdate fixes 2020-09-28 23:54:47 -05:00
Alex Gleason
bd12226a84
Composer: fixes #419 jumpy cursor 2020-09-28 22:04:29 -05:00
Alex Gleason
f71a1e4ce1
Revert "fix composer jump by reseting lastToken on click and arrow up and down in autosuggesttextarea"
This reverts commit 0b7763e726.
2020-09-28 19:06:06 -05:00
Alex Gleason
b78a00a306
Revert "pass getClickableArea into autosuggesttextarea as prop"
This reverts commit 99f0a069dd.
2020-09-28 19:05:56 -05:00
Alex Gleason
18d08a3630
Revert "Composer: remove click listener on unmount"
This reverts commit 136965acdd.
2020-09-28 19:05:45 -05:00
Alex Gleason
a9fef0ca14
Don't import unused react-sparklines, #439 2020-09-27 20:54:19 -05:00
Alex Gleason
136965acdd
Composer: remove click listener on unmount 2020-09-27 17:55:04 -05:00
Mary Kate
99f0a069dd pass getClickableArea into autosuggesttextarea as prop 2020-09-27 16:32:07 -05:00
Mary Kate
0b7763e726 fix composer jump by reseting lastToken on click and arrow up and down in autosuggesttextarea 2020-09-27 15:44:12 -05:00
Alex Gleason
2d29d69f50
ImportData: rename some stuff 2020-09-27 11:18:25 -05:00
Alex Gleason
ba6f6b2aa4
Merge remote-tracking branch 'origin/develop' into import_follows 2020-09-27 11:01:01 -05:00
Alex Gleason
57b82f7778
Merge remote-tracking branch 'origin/develop' into chat_notifications 2020-09-17 22:41:18 -05:00
Curtis ROck
fdc1a051d3 Rough out import follows page and actions 2020-09-14 22:07:33 -05:00
Alex Gleason
35fe2fa4fa
Hovercard: hide on click ref 2020-09-11 15:39:38 -05:00
Alex Gleason
7733905641
Hovercard: update DisplayName snapshot 2020-09-11 12:38:42 -05:00