Commit graph

1929 commits

Author SHA1 Message Date
Alex Gleason
1e603b8255
Interactions: don't reimport updated status with unfavourite and unreblog.
Mastodon doesn't decrement the counter in the API response, and we actually don't want updated counters anyway.
2021-11-12 13:39:06 -06:00
Alex Gleason
47a3ecc30e
ComposeModal: conditional title when replying 2021-11-12 12:28:58 -06:00
Alex Gleason
a354fd325d
Statuses: optimistic reply counter 2021-11-12 12:18:11 -06:00
Alex Gleason
def3c542c0
RegistrationForm: prevent small error with password matching 2021-11-08 16:27:32 -06:00
Alex Gleason
5a767c8960
Jest: update snapshot 2021-11-08 16:08:25 -06:00
Alex Gleason
109046eef8
RegistrationForm: validate password mismatch 2021-11-08 15:57:37 -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
Alex Gleason
cb98c16011
Poll: fix crash when voting 2021-11-05 23:29:35 -05:00
Alex Gleason
17b90a9b74
eslint: error on wrong indentation 2021-11-04 15:22:40 -05:00
Alex Gleason
2cecefd749 Merge branch 'card-empty-icon' into 'develop'
Card: fix empty card icon

See merge request soapbox-pub/soapbox-fe!856
2021-11-04 20:12:31 +00:00
Alex Gleason
887da20192 Merge branch 'actions-modal-icons' into 'develop'
Add missing icon to account menu

See merge request soapbox-pub/soapbox-fe!855
2021-11-04 20:02:35 +00:00
adfde143bd Add missing icon to account menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 20:58:11 +01:00
Alex Gleason
0e95a64027
Card: fix empty card icon 2021-11-04 14:57:52 -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
65a2a40cb2
Pull to Refresh: Notifications, Chats, Bookmarks 2021-11-04 14:20:11 -05:00
43fe27eecc Add icons to all? dropdown menus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 20:19:04 +01:00
Alex Gleason
f61845b876
Pull to Refresh on public timelines 2021-11-04 13:41:56 -05:00
Alex Gleason
9ce3aa8d1b
HomeTimeline: pull to refresh 2021-11-04 13:30:54 -05:00
Alex Gleason
3ad3b5c84a
Status: implement proper Pull to Refresh, refactor horrible status actions 2021-11-04 13:16:28 -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
9ccb295004 Restyle actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 17:44:19 +01:00
Alex Gleason
d76219c624
Jest: update snapshots 2021-11-04 00:49:57 -05:00
Alex Gleason
a9a3f09068
Registration/Login: improve text inputs on mobile 2021-11-04 00:36:34 -05:00
Alex Gleason
7b7cfdd4be
ExternalLoginForm: improve mobile text input 2021-11-04 00:33:42 -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
3e5f9162c8 Fix search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-03 08:43:00 +01:00
Alex Gleason
84074fc1b4
SidebarMenu: add invites button 2021-11-02 12:05:36 -05:00
Alex Gleason
860f8c3b93
Developers: become a developer through the console 2021-11-02 11:47:26 -05:00
Alex Gleason
0e3d27a91e
Developers: create an app through a form 2021-11-02 11:11:33 -05:00
Alex Gleason
a1625308cb
Developers: scaffold createApp page at /developers/apps/create 2021-11-02 00:35:35 -05:00
Alex Gleason
1ee87fa7a4
Developers: display dashcounters 2021-11-02 00:16:52 -05:00
Alex Gleason
15a91d5ae3
Developers: scaffold with WIP developers page 2021-11-02 00:05:33 -05:00
Alex Gleason
e860186b4b
IntentionalError: display an ErrorBoundary preview at /error 2021-11-01 23:02:09 -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
b32745a36d
Search: only show suggestions when not submitted 2021-11-01 14:13:13 -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
9c0f65da03
Search: nuke the popout 2021-10-31 22:59:29 -05:00
Alex Gleason
b73b613064
Search: integration suggestions better 2021-10-31 22:58:26 -05:00
Alex Gleason
e64afb5d40 Merge branch 'conditional-attachments' into 'develop'
Compose: pull accept content types from backend if available, fallback to all types

See merge request soapbox-pub/soapbox-fe!835
2021-10-31 21:27:51 +00: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
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
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
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
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
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
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
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
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
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
79f878db97
Status: improve "pinned" icon 2021-10-16 10:10:41 -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
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
e4b2021e8e
Search: display WhoToFollowPanel if supported 2021-10-15 11:30:03 -05:00
Alex Gleason
013594444d
AccountHeader: make profile share button work 2021-10-15 09:45:03 -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