Commit graph

2499 commits

Author SHA1 Message Date
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types 2021-10-31 16:14:09 -05: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
Alex Gleason
21a5c3215a Merge branch 'styles' into 'develop'
Improve search input styles on aliases/list editor pages

See merge request soapbox-pub/soapbox-fe!833
2021-10-31 21:06:54 +00:00
2bf24ef038 Filters page: adjust margin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-31 21:52:33 +01:00
b9153b8866 Improve search input on aliases/list editor pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-31 21:51:56 +01:00
Alex Gleason
beb0e6edae Merge branch 'search-reducer-refactor' into 'develop'
Search: refactor search reducer, add tests

See merge request soapbox-pub/soapbox-fe!831
2021-10-28 18:36:05 +00:00
Alex Gleason
6b54e88b62
Search: refactor search reducer, add tests 2021-10-28 14:23:54 -04:00
Alex Gleason
7aee517358 Merge branch 'invites-link' into 'develop'
use baseURL for /invites

See merge request soapbox-pub/soapbox-fe!830
2021-10-28 18:13:33 +00:00
fe4c4d93c9 use baseURL for /invites
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-28 19:58:18 +02:00
Alex Gleason
5227f4688a Merge branch 'icons-link' into 'develop'
Link to Line Awesome icon list

See merge request soapbox-pub/soapbox-fe!829
2021-10-28 13:51:32 +00:00
5043588007 Link to Line Awesome icon list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-28 12:40:28 +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
Alex Gleason
c6fb12ad13
TabsBar: fix profile menu position (mobile) 2021-10-27 14:56:39 -04:00
0a15250513 Fix profile menu button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-25 11:53:33 +02:00
Alex Gleason
916bf7a634 Merge branch 'demetricator-style' into 'develop'
Fix styles for account page with Demetricator enabled

See merge request soapbox-pub/soapbox-fe!824
2021-10-24 20:20:46 +00:00
Alex Gleason
7fd5dc1350 Merge branch 'language-pl' into 'develop'
Update Polish translation

See merge request soapbox-pub/soapbox-fe!823
2021-10-24 20:20:22 +00:00
608c4a27eb Fix styles for account page with Demetricator enabled
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 21:52:42 +02:00
5b149bd9ed Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 21:46:13 +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
Alex Gleason
b54011241f Merge branch 'search-scrollable-list' into 'develop'
Use ScrollableList for search results

See merge request soapbox-pub/soapbox-fe!821
2021-10-24 18:10:56 +00:00
742b1f2b58 Use ScrollableList for search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 19:58:04 +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
f290b78636
Timelines: push pending statuses into queue 2021-10-23 15:08:21 -05:00
Alex Gleason
47c68014d0
TabsBar: fix unauthenticated buttons on mobile 2021-10-23 14:29:26 -05:00
Alex Gleason
6d7ce6ffd4
TabsBar: move Profile menu to the left on mobile 2021-10-23 14:14:56 -05:00
Alex Gleason
897f65cf72
PrimaryNavigation, ThumbNavigation: move Search to after Home 2021-10-23 14:09:17 -05:00
Alex Gleason
acf316faf6
Notifications: refactor makeGetNotification, pass the full rebuilt notification all the way through 2021-10-22 17:15:11 -05:00
Alex Gleason
03541ccc6f Merge branch 'video-player' into 'develop'
Video player changes from Mastodon

See merge request soapbox-pub/soapbox-fe!816
2021-10-22 18:14:49 +00:00
a2abb0bad7 Add hotkeys for video control
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 19:55:09 +02:00
a1c4066077 Fix video not reacting to window resizes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 19:03:14 +02:00
a338e7c98f Add tooltips to audio/video player buttons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 18:59:15 +02:00
aef01ea262 Change audio/video playback to stop playback when out of view
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 18:50:32 +02: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
a96b9678a3
Push notifications: take to Notifications on click 2021-10-21 17:34:01 -05:00
Alex Gleason
f79d4a3330
Push notifications: switch to serviceWorkerRegistration.showNotification() 2021-10-21 17:09:02 -05:00
Alex Gleason
fc6911caad
Push notifications: refactor, restore 2021-10-21 16:22:54 -05:00
Alex Gleason
7fdf22b206
ServiceWorker: clean up entry.js and web_push_notifications.js 2021-10-21 15:31:09 -05:00
Alex Gleason
387e3b2c9e Merge branch 'media-gallery-compact-fix' into 'develop'
MediaGallery: fix float when compact

See merge request soapbox-pub/soapbox-fe!809
2021-10-20 23:10:45 +00:00
Alex Gleason
132c6c53d1
MediaGallery: fix float when compact 2021-10-20 17:56:38 -05:00
Alex Gleason
e42030daae
Always check error.response before error.response.status 2021-10-20 17:50:35 -05:00
Alex Gleason
5a19d52617
errorsMiddleware: only alert when the error has a response (eg not when offline) 2021-10-20 17:50:03 -05:00
Alex Gleason
97cc7eb804
Streaming: fail gracefully when WebSocket construction fails (mainly for Bromite browser) 2021-10-20 16:36:38 -05:00
Alex Gleason
0b94774fbe
localforage: remember auth accounts 2021-10-20 16:27:36 -05:00
Alex Gleason
c8cec8fdac
localforage: create custom KVStore instance, refactor Instance actions 2021-10-20 15:17:47 -05:00
Alex Gleason
3c5384f318
localforage: add localforage, remember a fetched instance 2021-10-20 13:18:55 -05:00
Alex Gleason
c738c261c0
Placeholder: use a better gradient fade on mobile 2021-10-20 11:24:03 -05:00
Alex Gleason
5cdb7ea926
Placeholder: fix gradients in iOS 2021-10-20 11:00:27 -05:00
Alex Gleason
3bb891adaa
Notifications: skip importing notifications with a null status 2021-10-19 18:14:51 -05:00
Alex Gleason
001aae849b
TabsBar: display counters only on profile pages where they're needed 2021-10-19 17:43:18 -05:00
Alex Gleason
0423a3a491
Compose: switch to regular snackbar.success 2021-10-19 17:08:37 -05:00
Alex Gleason
a4ad30e8aa
TabsBar: properly center icon links 2021-10-19 17:05:04 -05:00
Alex Gleason
0e8ed14ffe
TabsBar: add notifications back for desktop UI 2021-10-19 16:09:22 -05:00
Alex Gleason
876b7d6ce7
AccountTimeline: don't display column settings for now 2021-10-19 15:16:47 -05: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
b387e9ce1b Merge branch 'update-translations' into 'develop'
Run yarn manage:translations

See merge request soapbox-pub/soapbox-fe!799
2021-10-19 18:05:44 +00:00
Alex Gleason
e01369f434 Merge branch 'compose-svg-icons-load' into 'develop'
ComposeForm: load it differently so the SVG icons are already loaded when it expands

See merge request soapbox-pub/soapbox-fe!798
2021-10-19 18:00:31 +00:00
Alex Gleason
129ae2c66e
Run yarn manage:translations 2021-10-19 12:48:42 -05:00
Alex Gleason
cd3cf2379b
ComposeForm: load it differently so the SVG icons are already loaded when it expands 2021-10-19 12:46:01 -05:00
Alex Gleason
5d77f65535 Merge branch 'post-toast' into 'develop'
Compose: preliminary toast upon submission

See merge request soapbox-pub/soapbox-fe!797
2021-10-19 17:44:20 +00:00
Alex Gleason
09f57447c6
Compose: preliminary toast upon submission 2021-10-19 12:29:54 -05:00
Alex Gleason
13c623ca1e
EditProfile: resize avatar/banner in browser, improve error messages 2021-10-19 12:03:04 -05:00
Alex Gleason
343a210d96
v2 Media API: disable for Pleroma (use v1) 2021-10-19 11:28:48 -05:00
Alex Gleason
c6067dbccb
v2 Media API: poll attachments for completion
https://github.com/mastodon/mastodon/pull/13210
2021-10-19 11:25:43 -05:00
Alex Gleason
5f183d38b1
VERIFY_CREDENTIALS_FAIL: skipAlert 2021-10-19 09:32:15 -05:00
c1ffb37135 Fix typo in Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-18 13:09:40 +02:00
Alex Gleason
7449c517a7 Merge branch 'pinned-icon' into 'develop'
Status: improve "pinned" icon

See merge request soapbox-pub/soapbox-fe!792
2021-10-16 15:20:18 +00:00
Alex Gleason
79f878db97
Status: improve "pinned" icon 2021-10-16 10:10:41 -05:00
Alex Gleason
0f6238d575
Badge: border-radius to 5px 2021-10-16 09:57:27 -05:00
8b7890f6aa Fix remote follow button for remote accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-16 13:15:55 +02:00
Alex Gleason
c8ec04ea21
Halloween: css fixes 2021-10-15 22:25:39 -05:00
Alex Gleason
5befbb3b34
Demetricator: hide follower/following stats 2021-10-15 22:13:43 -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
17e73a3846
Prepare Home ColumnSettings 2021-10-15 19:23:24 -05:00
Alex Gleason
ade2c5ebb3
Notifications: add back column settings 2021-10-15 18:55:04 -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
7f4a467c16
Fix Fediverse timeline settings title 2021-10-15 17:50:10 -05:00
Alex Gleason
67a1686bc8
Federated timeline: restore column settings 2021-10-15 17:15: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
Alex Gleason
f22037d51e
Handle /statuses/new route instead of just redirecting 2021-10-15 15:30:24 -05:00
Alex Gleason
966f0e84e4
Share: support title and url params 2021-10-15 15:24:08 -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
2284a4bae5
Merge remote-tracking branch 'origin/develop' into next 2021-10-15 12:52:42 -05: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
55b6bf52d0 Merge branch 'develop' into 'kaonashi696-develop-patch-45336'
# Conflicts:
#   app/soapbox/locales/ca.json
2021-10-15 16:40:21 +00:00
Alex Gleason
2e0316cf76
ThumbNavigation: improve styles 2021-10-15 11:35:59 -05:00
Alex Gleason
e4b2021e8e
Search: display WhoToFollowPanel if supported 2021-10-15 11:30:03 -05:00
Alex Gleason
6d88f200f1
ThumbNavigation: fix truncated notification counter 2021-10-15 10:47:18 -05:00
Alex Gleason
db741effc6
ThumbNavigation: display labels 2021-10-15 10:19:16 -05:00
Alex Gleason
013594444d
AccountHeader: make profile share button work 2021-10-15 09:45:03 -05:00
Alex Gleason
7a89e1bb01
Snackbar: display above ThumbNavigation on mobile 2021-10-15 09:35:38 -05:00
K Fem!?
451e110137 Update ca.json 2021-10-15 13:40:06 +00:00
Alex Gleason
4464a7f19e
Swap out a few more icons for svg icons 2021-10-14 14:14:13 -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
e36dc0d119
Search: autofocus 2021-10-14 12:38:52 -05:00
Alex Gleason
4dbc4247f1
AutosuggestInput: fix autofocus 2021-10-14 12:35:05 -05:00
Alex Gleason
f2934fb382
Direct/Conversations: improve search placeholder text 2021-10-14 12:25:51 -05:00
Alex Gleason
f70791004b
Chats: add account search 2021-10-14 12:23:51 -05:00
Alex Gleason
3fb9ebc553
Conversations: add account search 2021-10-14 11:52:12 -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
e454f402e9
Status: conditional column title depending on visibility scope 2021-10-14 08:49:33 -05:00
Alex Gleason
65891a904c
Button: remove text-decoration when wrapped with a <Link/> 2021-10-14 08:22:17 -05:00
kaonashi696
a663240883 Update ca.json 2021-10-13 23:17:37 +00:00
Alex Gleason
73e4d00cc2
ProfileMediaPanel: fix crash from syncronous noOp 2021-10-13 15:10:26 -05:00
Alex Gleason
e2058d0bcb
WarningContainer: use <Link/> to account settings page 2021-10-13 14:35:34 -05:00
Alex Gleason
ea0374bbbc
WarningContainer: hide "Learn more" button for now 2021-10-13 14:32:38 -05:00
Alex Gleason
8dd49343ad
ComposeModal, ComposeForm: adapt depending on privacy scope 2021-10-13 14:24:22 -05:00
kaonashi696
490953aa4d Update ca.json 2021-10-13 19:20:12 +00:00
Alex Gleason
4fb447596e
FAB: replace pen icon with new custom Tabler icon 2021-10-13 14:07:21 -05:00
Alex Gleason
99eae1b92b
Gavel icon: remove unnecessary (redundant) path 2021-10-13 14:06:55 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00
Alex Gleason
3280176914
Add Chat/DM button back to AccountHeader 2021-10-13 13:23:07 -05:00
Alex Gleason
2d42995e6f
ProfileMediaPanel: fix navigating between profiles, display LoadingIndicator, display empty message 2021-10-13 12:55:17 -05:00
Alex Gleason
8e1600e179
AccountHeader: improve style of DropdownMenu, use Tabler icon 2021-10-13 12:20:54 -05:00
Alex Gleason
59835087b5
ActionButton: remove minus icon from Unfollow button 2021-10-13 12:12:21 -05:00
Alex Gleason
ecdef1d95b
Placeholder: render placeholder parent status in thread 2021-10-12 20:03:55 -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
f808ac6786
Placeholder: display placeholders for Notifications, refactor scss 2021-10-12 14:00:01 -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
1db4cd60d4
PlaceholderStatus: display wiping animation over post 2021-10-11 15:52:16 -05:00
Alex Gleason
f9c19e43b4
PlaceholderMaterialStatus: fix border-radius 2021-10-11 14:33:50 -05:00
Alex Gleason
26ec27a859
Fediverse timeline: column transparency fixes 2021-10-11 14:10:25 -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
kaonashi696
700151ac6a Update ca.json 2021-10-11 16:43:51 +00:00