Commit graph

2520 commits

Author SHA1 Message Date
Alex Gleason
36fb3759a0 Merge branch 'next' into 'next'
typescript, ThumbNavigationLink component

See merge request soapbox-pub/soapbox-fe!1165
2022-03-30 15:55:18 +00:00
Justin
6099b520a3 Merge branch 'video-upload-progress' into 'next'
Convert VideoProgress to TW and TSX

See merge request soapbox-pub/soapbox-fe!1164
2022-03-30 15:48:38 +00:00
cf0307af0f typescript, ThumbNavigationLink component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 17:37:30 +02:00
Justin
6ccc1f10ec Improve style of UploadProgress 2022-03-30 11:22:37 -04:00
Justin
a15697faef Convert UploadProgress to TSX 2022-03-30 10:51:07 -04:00
Justin
08a56082a9 Use intl to format messages 2022-03-30 10:40:09 -04:00
Justin
1ce5b5b34f Handle max file size before we process with server 2022-03-30 10:40:09 -04:00
Justin
c38ed64308 Add fallback for missing errors 2022-03-30 10:40:09 -04:00
Justin
9352638761 Convert media.js to TSX 2022-03-30 10:40:09 -04:00
Justin
fbd8fa87ae Improve error handling 2022-03-30 10:40:09 -04:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02:00
Alex Gleason
8dfda97fea
Actually, keep some of the good locale changes 2022-03-29 15:34:07 -05:00
Alex Gleason
f5a4a6fb39
Take locales from origin/develop 2022-03-29 15:20:47 -05:00
Alex Gleason
b1d2681115
WIP emoji reacts 2022-03-29 15:17:39 -05:00
36c0fb5882 Support trending statuses from Mastodon 3.5
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 21:15:06 +02:00
6d4d96528c quote posts?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 20:12:49 +02:00
6023f69b2e remove duplicate column headings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 16:26:02 +02:00
e5f06bf0aa Update snapshots
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:58:11 +02:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
7006af2803
ui/column: fix snapshot 2022-03-28 19:02:21 -05:00
Alex Gleason
570164de33
ui/column: add relative class 2022-03-28 18:55:28 -05:00
Alex Gleason
75adf65ee9
Helmet: fix title 2022-03-28 18:55:21 -05:00
Alex Gleason
a8eed4192d
tintify: tweak color intensity 2022-03-28 18:21:43 -05:00
Alex Gleason
51fc8402f2
MediaGallery: use original image 2022-03-28 18:00:21 -05:00
Alex Gleason
c8bb99af60
Improve color normalization 2022-03-28 18:00:04 -05:00
Alex Gleason
4e5422ec61
SoapboxConfig: normalize cryptoAddresses 2022-03-28 15:29:39 -05:00
Alex Gleason
483b28988f
Normalize SoapboxConfig 2022-03-28 14:58:50 -05:00
Alex Gleason
2c0ce084c3
Chats: remove duplicate navigation 2022-03-28 11:07:26 -05:00
Alex Gleason
32085632fa
ComposeForm minor improvements 2022-03-26 23:53:44 -05:00
Alex Gleason
1a1464f5ba
Poll: convert to React.FC, remove PollContainer 2022-03-26 22:24:52 -05:00
Alex Gleason
cc1df1bd09
Polls: style with Tailwind 2022-03-26 22:06:18 -05:00
Alex Gleason
9262d5c26b
Poll: break into smaller components 2022-03-26 19:53:51 -05:00
Alex Gleason
e78ea4aaf3
Polls: break out PollOptionText into a React.FC 2022-03-26 19:05:16 -05:00
Alex Gleason
334b45ec74
Polls: break out PollPercentageBar into separate component 2022-03-26 18:52:48 -05:00
Alex Gleason
0cdf898b37
Convert Polls to TSX 2022-03-26 18:11:26 -05:00
Alex Gleason
4322712bfb
Convert OptionalMotion and ReducedMotion to TypeScript 2022-03-26 17:26:26 -05:00
Alex Gleason
c0c758c103
Typescript: reducers/polls.ts 2022-03-26 16:20:45 -05:00
Alex Gleason
1ce340c1c5
Make polls look mostly okay 2022-03-26 15:39:50 -05:00
Alex Gleason
05f5045648
Convert utils/features.ts to TypeScript 2022-03-26 14:23:29 -05:00
Alex Gleason
55c99f0207
utils/features.js: TruthSocial features 2022-03-26 14:06:25 -05:00
Alex Gleason
da17562e0a
Features conditional routing 2022-03-26 13:53:01 -05:00
Alex Gleason
f83119bfc9
Filter statuses by full acct with @ symbol 2022-03-26 11:17:27 -05:00
Alex Gleason
24a78f7740
Merge remote-tracking branch 'origin/develop' into next 2022-03-26 11:15:06 -05:00
Alex Gleason
f7425d80eb
Add test for search_index with mentions 2022-03-26 10:45:45 -05:00
ea57d1c4a7 Fix filtering, allow filtering by mentioned usernames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-26 10:57:48 +01:00
Alex Gleason
ced665a446
CryptoDonate tailwind refactors 2022-03-25 17:53:59 -05:00
Alex Gleason
18323cdc75
CryptoAddress: convert to tsx 2022-03-25 16:59:05 -05:00
Alex Gleason
5d4eb96cca
CryptoDonate: convert utils to ts 2022-03-25 16:39:26 -05:00
Alex Gleason
c62d402a4e
DetailedCryptoAddress: convert to tsx 2022-03-25 16:27:37 -05:00
Alex Gleason
d8bde70043
CryptoIcon: convert to tsx 2022-03-25 16:22:09 -05:00
Alex Gleason
7e2a74b05d
CryptoDonate: convert to tsx 2022-03-25 15:24:10 -05:00
Alex Gleason
13c4948ad2
Restore /crypto/donate page 2022-03-25 15:16:05 -05:00
Alex Gleason
c8c2f40e38
SiteWallet: convert to tsx 2022-03-25 14:42:04 -05:00
Alex Gleason
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -05:00
Alex Gleason
999f518f10
Display CryptoDonatePanel, convert to tsx 2022-03-25 13:38:03 -05:00
Alex Gleason
75f78dc5cb
Jest: update snapshots 2022-03-24 19:06:36 -05:00
Alex Gleason
ef0de13c91
Improve dark mode 2022-03-24 18:56:22 -05:00
Alex Gleason
ee691e0cc8
LinkFooter: remove "Legal" link 2022-03-24 16:59:25 -05:00
Alex Gleason
ae2153dffe
Add ThemeToggle to Navbar (developers only) 2022-03-24 16:17:39 -05:00
Alex Gleason
53b920c297
ThemeToggle: convert to TSX 2022-03-24 16:03:02 -05:00
Alex Gleason
f8592b3616
Jest: fix tests 2022-03-24 14:44:39 -05:00
Alex Gleason
dec49003f4
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 14:30:39 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin
867912aa1b Wrap profile fields 2022-03-24 14:08:54 -04:00
Alex Gleason
ca68bc9df8 Merge branch 'next-ts-strict' into 'next'
Typescript: Start fixing strictFunctionTypes errors

See merge request soapbox-pub/soapbox-fe!1143
2022-03-24 17:41:19 +00:00
Alex Gleason
84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05:00
Alex Gleason
67471638c3
Typescript: Start fixing strictFunctionTypes errors 2022-03-24 11:53:09 -05:00
Justin
e0b1abdfc0 Merge branch 'fix-effect' into 'next'
Remove conditional to run style logic

See merge request soapbox-pub/soapbox-fe!1142
2022-03-24 16:34:12 +00:00
Alex Gleason
29e434d31f Merge branch 'next-ts-strict' into 'next'
Next: Typescript: start fixing 'strict' mode errors

See merge request soapbox-pub/soapbox-fe!1138
2022-03-24 16:27:17 +00:00
Justin
ea6cf58cb5 Merge branch 'fix-colors' into 'next'
Resolve missing CSS variables in the theme

See merge request soapbox-pub/soapbox-fe!1140
2022-03-24 16:17:04 +00:00
Justin
63bafc41a1 Remove conditional to run style logic 2022-03-24 12:16:41 -04:00
Alex Gleason
161cd3d1fc
Revert lazy type changes to actions/instance.ts 2022-03-24 11:09:30 -05:00
Alex Gleason
53e997beb0
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 10:51:56 -05:00
Justin
97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Justin
a9c83ed294 Make sure the current element is present before execution 2022-03-24 11:06:01 -04:00
Justin
2094f9673d Fix bug when clicking on a Status 2022-03-24 08:23:18 -04:00
Alex Gleason
5f4930dba3 Merge branch 'next-dark-mode' into 'next'
Next: dark mode

See merge request soapbox-pub/soapbox-fe!1136
2022-03-24 03:04:40 +00:00
Alex Gleason
09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason
14ec40ee95
Typescript: start fixing 'strict' mode errors 2022-03-23 21:43:36 -05:00
Alex Gleason
be690255cb
Hooks: get rid of useAccount, create useOwnAccount 2022-03-23 21:05:55 -05:00
Alex Gleason
2da31341c4
Custom hooks: useAccount, useSettings, useSoapboxConfig 2022-03-23 20:29:35 -05:00
Alex Gleason
793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Alex Gleason
1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -05:00
Alex Gleason
fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason
7fc4950387
utils/tailwind.ts: Tailwind/SoapboxConfig conversion functions 2022-03-23 14:28:51 -05:00
Alex Gleason
12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05:00
Justin
95a5ca2115 Convert Permalink to TSX 2022-03-23 13:50:45 -04:00
Justin
f0a9ed8ad4 Fix prop warnings 2022-03-23 13:50:45 -04:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Alex Gleason
5ffb9828ba
LinkFooter: restore copyright message, let it be overridden 2022-03-22 17:43:42 -05:00
Alex Gleason
8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason
9e16d992e6
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-22 13:57:09 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Justin
9af141dd87 Merge branch 'fix-logout' into 'next'
Remove unneeded 'event' when using Reach Menu

See merge request soapbox-pub/soapbox-fe!1130
2022-03-22 15:59:34 +00:00
Justin
614228a130 Merge branch 'improve-sensitive-design' into 'next'
Improve design of sensitive media

See merge request soapbox-pub/soapbox-fe!1129
2022-03-22 15:42:53 +00:00
Justin
430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00
Justin
02d65a527c Merge branch 'add-preferences-clarification' into 'next'
Add hint to clarify Feed settings

See merge request soapbox-pub/soapbox-fe!1128
2022-03-22 15:19:54 +00:00
Justin
122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Justin
69035c3dab Add hint to clarify Feed settings 2022-03-22 08:58:12 -04:00
Justin
40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04:00
Justin
12ed6889a4 Use React Router Link in MenuLink 2022-03-22 08:28:18 -04:00
Alex Gleason
18bad4a5ab
Typescript: utils/theme.ts 2022-03-21 18:57:23 -05:00
Alex Gleason
0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00
Alex Gleason
61fd48204b
ComposeForm: convert some buttons into TSX 2022-03-21 17:28:57 -05:00
Alex Gleason
890299ead0
ComposeForm: convert buttons to ComposeFormButton component 2022-03-21 17:04:44 -05:00
Alex Gleason
d34937e959
UnauthorizedModal: use withRouter history 2022-03-21 16:08:03 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason
c6ab95349e Merge branch 'next-logo' into 'next'
Next: fix logo

See merge request soapbox-pub/soapbox-fe!1123
2022-03-21 20:41:28 +00:00
Justin
012138829c Fix tests 2022-03-21 16:30:46 -04:00
Alex Gleason
c9cef587a6
Merge remote-tracking branch 'origin/develop' into react-router-5 2022-03-21 15:30:26 -05:00
Justin
b6985f836a Use MenuItem if action 2022-03-21 16:29:33 -04:00
Alex Gleason
4ccbce71e0
Fetch frontend_configurations once again, reenable /soapbox/config route 2022-03-21 15:13:33 -05:00
Justin
e02d5142e5 Properly handle navigating to previous page if 'backHref' is undefined 2022-03-21 15:23:57 -04:00
Justin
b4d677dfde Use new Icon comp with Tabler version 2022-03-21 15:09:46 -04:00
Justin
72acda8c5d Remove dynamic import of Tabler icons 2022-03-21 15:05:52 -04:00
Alex Gleason
cda823f33f
Restore locale-data/README.md 2022-03-21 13:52:03 -05:00
Alex Gleason
c5e89969c8
Generalize homepage 2022-03-21 13:45:57 -05:00
Alex Gleason
32686f3a40
AgeVerification: generalize language 2022-03-21 13:40:43 -05:00
Alex Gleason
787c6600a0
SidebarMenu: fix missing message 2022-03-21 13:39:12 -05:00
Alex Gleason
83137498d9
Generalize some language 2022-03-21 13:33:10 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
fb9c665e3e
Typescript: utils/config_db.ts 2022-03-20 19:40:08 -05:00
Alex Gleason
b3de700732
Fix Soapbox Config 2022-03-20 18:41:47 -05:00
Alex Gleason
a59daacc04
Fix calculateStatus export 2022-03-19 17:29:46 -05:00
Alex Gleason
47653546de
Statuses reducer: refactor search_index 2022-03-19 15:04:28 -05:00
Alex Gleason
9d79b60134
Typescript: reducers/statuses.ts 2022-03-19 14:41:16 -05:00
Alex Gleason
b71a592f95
Typescript: reducers/accounts.ts 2022-03-19 14:22:52 -05:00
Alex Gleason
ed692c8bef
Fix build >:( 2022-03-18 16:23:14 -05:00
Alex Gleason
12c57e02a5
Fix Instance types 2022-03-18 16:04:08 -05:00
Alex Gleason
c420e83bff
Throw out accidental badge.tsx changes 2022-03-18 15:35:22 -05:00
Alex Gleason
c8c5a6b077
Merge remote-tracking branch 'origin/develop' into ts-redux 2022-03-18 15:33:56 -05:00
Alex Gleason
3be0ddaa25
Merge remote-tracking branch 'origin/develop' into ts-redux-first 2022-03-18 13:17:19 -05:00
Alex Gleason
0daa53c03c
Fix Typescript eslint 2022-03-18 13:16:59 -05:00
Alex Gleason
1fe7a72790
Fix API mock 2022-03-18 12:20:03 -05:00
Alex Gleason
8587bd4bf6 Revert "Merge branch 'msw' into 'develop'"
This reverts merge request !1100
2022-03-18 16:08:42 +00:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
Alex Gleason
da07c9355a
Account: normalize fqn 2022-03-17 15:52:57 -05:00
Alex Gleason
19e8751178
Change default avatar, add default header 2022-03-17 15:21:55 -05:00
Alex Gleason
7c6c373eb2
Support account website field 2022-03-17 14:49:42 -05:00
Alex Gleason
9c0a304926
External auth: normalize instance 2022-03-16 22:44:30 -05:00
Alex Gleason
58466ce79c
Normalize Mastodon RC version 2022-03-16 22:41:25 -05:00
Alex Gleason
c413d94459 Merge branch 'normalizer-exports' into 'develop'
Normalizer exports, use fromJS in all normalizers

See merge request soapbox-pub/soapbox-fe!1105
2022-03-17 03:03:43 +00:00
Alex Gleason
10b2e10a97 Merge branch 'pleroma-redraft-quirk' into 'develop'
Delete+Redraft: drop attachments with integer IDs from Pleroma

See merge request soapbox-pub/soapbox-fe!1104
2022-03-17 02:59:45 +00:00
Alex Gleason
b0623597ea
Fix comment 2022-03-16 21:58:30 -05:00
Alex Gleason
f1a286f5e0
Don't call fromJS in some reducers 2022-03-16 21:52:20 -05:00
Alex Gleason
8167b72762
Call fromJS in all normalizers 2022-03-16 21:47:58 -05:00
Alex Gleason
6b8e79d898
Export Record entities 2022-03-16 21:15:38 -05:00
Alex Gleason
db38d3cd59 Merge branch 'msw' into 'develop'
Mock API with MSW

See merge request soapbox-pub/soapbox-fe!1100
2022-03-17 02:02:34 +00:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00