Commit graph

472 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
6143f8ddfb Merge branch 'tabs-bar-links' into 'develop'
Show nav bar links when in dashboard

See merge request soapbox-pub/soapbox-fe!926
2021-12-20 21:56:45 +00:00
5979aa14f8 Show nav bar links when in dashboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-20 22:41:40 +01:00
6cc20ff42a PendingStatus: display placeholder attachments
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-19 00:11:14 +01: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
99e3ec9ff9 Replace LineAwesome with Tabler icons in some more places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-16 23:05:33 +01:00
Alex Gleason
e283afe191
UI: fix the way initial data is loaded 2021-12-15 10:29:07 -05: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
efe74c3ddd remove size prop for them
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 19:51:59 +01: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
73208ebe4b
Mastodon: redirect ActivityPub ID for statuses 2021-12-10 16:05:28 -06:00
4e04f06142 eslint: add key-spacing and space-unary-ops rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-24 18:28:35 +01:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
28d6c93b39 Revert "Merge branch 'react-17-deprecated' into 'develop'"
This reverts merge request !871
2021-11-16 17:07:30 +00:00
Alex Gleason
e419f82b38
ActionsModal: check props before calling .map, fixes delete post on mobile 2021-11-16 10:52:13 -06:00
Alex Gleason
a3ce7b2afe
PendingStatus: display PlaceholderCard when a card is expected 2021-11-15 21:58:30 -06:00
Alex Gleason
926e92a742
Bundle: componentWillReceiveProps --> componentDidUpdate, React 17 compatibility 2021-11-15 14:34:33 -06:00
Alex Gleason
47a3ecc30e
ComposeModal: conditional title when replying 2021-11-12 12:28:58 -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
17b90a9b74
eslint: error on wrong indentation 2021-11-04 15:22:40 -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
9ccb295004 Restyle actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 17:44:19 +01:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
Alex Gleason
a1625308cb
Developers: scaffold createApp page at /developers/apps/create 2021-11-02 00:35:35 -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
a5bf105ccd
Search: autosuggest accounts in search bar on desktop 2021-11-01 12:25:18 -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
47c68014d0
TabsBar: fix unauthenticated buttons on mobile 2021-10-23 14:29:26 -05:00
Alex Gleason
fc6911caad
Push notifications: refactor, restore 2021-10-21 16:22:54 -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
0e8ed14ffe
TabsBar: add notifications back for desktop UI 2021-10-19 16:09:22 -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
b236e11225
Local timeline: restore column settings 2021-10-15 17:11:16 -05:00
Alex Gleason
f22037d51e
Handle /statuses/new route instead of just redirecting 2021-10-15 15:30:24 -05:00
Alex Gleason
4464a7f19e
Swap out a few more icons for svg icons 2021-10-14 14:14:13 -05:00
Alex Gleason
ef809a8d59
Delete ColumnBackButtonSlim, fix runtime warnings 2021-10-14 13:38:16 -05:00
Alex Gleason
8dd49343ad
ComposeModal, ComposeForm: adapt depending on privacy scope 2021-10-13 14:24:22 -05:00
Alex Gleason
4fb447596e
FAB: replace pen icon with new custom Tabler icon 2021-10-13 14:07:21 -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
59835087b5
ActionButton: remove minus icon from Unfollow button 2021-10-13 12:12:21 -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
0060667639
Optimistic statuses: add .thread__status className 2021-10-09 21:39:15 -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
e9b5a9cf2e
MediaModal: use Tabler next/prev arrows 2021-10-08 16:44:24 -05:00
Alex Gleason
92fc853642
AttachmentThumbs: display compact media thumbs instead of AttachmentList 2021-10-08 13:17:37 -05:00
Alex Gleason
b47e7a3197
Column: remove ColumnBackButton from most places, fix DetailedStatus border-bottom, improve HashtagTimeline 2021-10-08 11:53:15 -05:00
Alex Gleason
43c86ff85c
BetterColumn: remove ColumnBackButton, fix border-bottom 2021-10-08 11:20:41 -05:00
Alex Gleason
3a37635040
Get rid of unused DrawerLoading component 2021-10-08 10:43:29 -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
cf19366626
Rename .follow-button to .button--follow
The other classname is listed on Fanboy's Annoyances List
2021-10-06 18:48:13 -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
89ac03e07a
BundleErrorColumn: fix icon and rounded corners 2021-10-05 22:48:10 -05:00
Alex Gleason
1b7fe4ee04
Use custom Home and Post icons 2021-10-05 18:02:19 -05:00
Alex Gleason
dbf410e34c
Messages: prefer DirectTimeline, but fall back to Conversations 2021-10-05 17:24:01 -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
c222e0da9d
TabsBar: fall back to Home icon when no logo is provided 2021-10-05 13:14:55 -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
c789fba629
Notifications: use Markers for unread count
This works consistently across all backends
2021-10-04 13:27:05 -05:00
Alex Gleason
d3908f107a
AccountHeader: refactor Follow button, remove Message button in favor of a menu item
This is better on mobile and simpler to newcomers
2021-10-02 15:39:12 -05:00
Alex Gleason
5f7a201f08
Accounts: call isVerified in the places it's missing 2021-10-02 15:26:51 -05:00
Alex Gleason
ba09e2ebc9
Mastodon: redirect status route for "Share" functionality to work 2021-10-02 10:29:17 -05:00
Alex Gleason
415e744ddb
Merge remote-tracking branch 'origin/develop' into next 2021-10-02 10:12:25 -05:00
6235ca5ab2 Implement /share route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-01 19:53:46 +02: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
60c3243fcb
SubNavigation: refactor to be contextual based on Column 2021-09-27 13:38:02 -05:00
Alex Gleason
f6fdf46040
Use Tabler for missing LineAwesome icons 2021-09-27 00:00:03 -05:00
Alex Gleason
bc4f953af2
Improve display of LineAwesome icons 2021-09-26 23:28:45 -05:00
Alex Gleason
ca1b4ff73d
Merge remote-tracking branch 'origin/develop' into next 2021-09-24 12:53:42 -05:00
Alex Gleason
937cc18012
Add basic invite route, fix Chats fetch 2021-09-24 11:37:47 -05:00
Alex Gleason
165b924ce7
Merge remote-tracking branch 'origin/develop' into next 2021-09-22 11:17:21 -05:00
Alex Gleason
acbf890f35
Chats: fix fetching when instance is delayed 2021-09-22 11:15:05 -05:00
Alex Gleason
c869eeb003
Add Conversations to async-components 2021-09-21 20:48:33 -05:00
Alex Gleason
a8673c8e54
Add 3-level Mastodon compatibility route 2021-09-21 18:30:34 -05:00
Alex Gleason
1f474c167b
ProfileInfoPanel: call isVerified() 2021-09-21 17:29:47 -05:00
Alex Gleason
dbc8e3fc26
Add Mastodon compatibility routes for /web and /web/timelines/home 2021-09-21 16:29:50 -05:00
Alex Gleason
640891ded9
Style the floating action button 2021-09-20 21:56:06 -05:00
Alex Gleason
ecdca93c84
Merge remote-tracking branch 'origin/develop' into next 2021-09-20 13:17:40 -05:00
Alex Gleason
f1788dd206
RemoteTimeline: fix typos in async components 2021-09-20 10:21:43 -05:00
Alex Gleason
008d53a7d9
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 20:52:26 -05:00
Alex Gleason
08cdef59c9
Don't load TabsBar async 2021-09-18 20:09:29 -05:00
Alex Gleason
aeddec2892
UI: async UI components 2021-09-18 20:01:04 -05:00
Alex Gleason
1e77adda34
Admin: async components 2021-09-18 19:34:45 -05:00
Alex Gleason
aa54e0bd0b
RemoteInstance: async panels 2021-09-18 19:23:48 -05:00
Alex Gleason
abcdc1fd63
Profile: make account panels async 2021-09-18 19:17:55 -05:00
Alex Gleason
24c89537dc
Merge remote-tracking branch 'origin/develop' into async-improvements 2021-09-18 18:53:24 -05:00
Alex Gleason
aeef12acf0
Rip out react-redux-loading-bar 2021-09-18 18:31:22 -05:00
Alex Gleason
b0e37c773e
Load panels async 2021-09-18 17:48:13 -05:00
Alex Gleason
fe4a8b5728
Chunk modal components into features/ui 2021-09-18 17:10:39 -05:00
Alex Gleason
cdfd31372f
Suggestions: chunk the wtf panel 2021-09-18 16:54:47 -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
08a9602911
Merge remote-tracking branch 'origin/develop' into next 2021-09-17 17:26:01 -05:00
Alex Gleason
c92de334e8
Suggestions: consolidate reducers 2021-09-17 15:26:58 -05:00
Alex Gleason
630736757d
Merge remote-tracking branch 'origin/develop' into next 2021-09-17 11:50:24 -05:00
Alex Gleason
9faff939a0
SuggestionsV2: pull in Mastodon's upstream code 2021-09-16 18:46:04 -05:00
Alex Gleason
8faea0b3cc
ProfileInfoPanel: style join date and stats 2021-09-13 13:36:37 -05:00
Alex Gleason
0eed6405d2
ProfileStats: prettify code 2021-09-13 13:14:15 -05:00
Alex Gleason
5cbeaad97a
Add ProfileStats component 2021-09-13 13:09:11 -05:00
Alex Gleason
b3fee28863
ProfileInfoPanel: don't render badges unless some are found 2021-09-13 13:00:14 -05:00
Alex Gleason
016717ba0d
ProfileInfoPanel: move joined date below bio 2021-09-13 12:53:39 -05:00
Alex Gleason
e4e1f7e113
Profile: "Member since {date}" --> "Joined {date}" 2021-09-13 11:50:48 -05:00
Alex Gleason
41f2c6afd6
Status: hide column header and back button 2021-09-12 19:36:18 -05:00
Alex Gleason
9b723794b5
Add StatusPage 2021-09-12 19:16:28 -05:00
Alex Gleason
ca9ff1a0e6
TabsBar: move search to left 2021-09-12 19:08:41 -05:00
Alex Gleason
1ea45f7cdb
Gut the TabsBar 2021-09-12 18:51:39 -05:00
Alex Gleason
e0f97f4e99
Start navigation changes 2021-09-12 18:20:13 -05:00
Alex Gleason
5804285094
Webpack: fix CryptoDonateModal being added to the right chunk 2021-09-12 15:00:28 -05:00
Alex Gleason
3fd1a10b73
Webpack: optimize ScheduleForm 2021-09-11 18:00:48 -05:00
Alex Gleason
053ca9efff
Webpack: break out CryptoDonate into its own chunk 2021-09-11 16:56:39 -05:00
Alex Gleason
196284695b
SoapboxConfig: allow authenticated profiles to be configured 2021-09-10 11:44:18 -05:00
d60f187c98 Merge branch 'reactions-page' of https://gitlab.com/mkljczk/soapbox-fe into reactions-page 2021-09-09 23:35:51 +02:00
4c4739b5e8 Change chunk name
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 23:35:25 +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
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Louise Fleur-de-Sel
174bab0ca5 Export Follows, Blocks and Mutes as CSV Files 2021-08-31 14:58:16 +00: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
ThibG
4b4e815e40 Add hotkey for opening media files 2021-08-28 15:22:08 +02:00
Alex Gleason
504962b47b
ProfileInfoPanel: fix join date 2021-08-26 22:48:56 -07:00
Alex Gleason
be0f252351
Mastodon: conditionally display Markdown, emojiReact column settings, sidebar features, and account aliases 2021-08-23 15:31:42 -05: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
1579e047b5
Add displayName, use as app name 2021-08-21 22:46:33 -05:00
Alex Gleason
64e2f53692
Mastodon: don't conditionally render chat routes (this causes bugs) 2021-08-20 16:28:15 -05:00
Alex Gleason
893c903d71
Mastodon: conditionally disable chats 2021-08-20 15:46:17 -05:00
Alex Gleason
6961309b85
RemoteTimeline: allow pinning hosts 2021-08-11 18:55:10 -05:00
Alex Gleason
9e12e978d8
RemoteTimeline: rename InstanceInfoPanel 2021-08-11 18:35:31 -05:00
Alex Gleason
dcf7dd216f
AccountTimeline: let it be configurable like other timelines 2021-08-11 15:31:46 -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
29cdc4867b Merge branch 'attachment-list-boost-modal' into 'develop'
List attachments in reply indicator and boost modal

See merge request soapbox-pub/soapbox-fe!654
2021-08-02 16:02:51 +00:00
Claire
8a406d5736 List attachments in reply indicator and boost modal 2021-08-02 15:30:01 +02:00
Alex Gleason
e4dd720d51
EditFederationModal: use ConfigDB directly instead of /api/v1/instance 2021-07-28 17:06:21 -05:00
Alex Gleason
1fa3aa0008
EditFederationModal: handle submission 2021-07-27 14:40:41 -05:00
Alex Gleason
9536fba7a9
EditFederationModal: improve UI 2021-07-27 13:00:32 -05:00
Alex Gleason
6c4be4a515
Create EditFederationModal 2021-07-26 15:07:35 -05:00
Alex Gleason
846b73eb9d
RemoteTimeline: display dropdown menu to admins 2021-07-26 14:25:55 -05:00
Alex Gleason
61a4bc90b8
InstanceInfoPanel: refactor to reuse InstanceRestrictions component 2021-07-25 16:27:37 -05:00
Alex Gleason
d922c37891
FederationRestrictions: display a list of hosts with restrictions 2021-07-25 14:50:22 -05: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