Commit graph

350 commits

Author SHA1 Message Date
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
Alex Gleason
6f2ba29f81
Merge remote-tracking branch 'origin/develop' into phone-input 2022-07-13 19:15:46 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
Alex Gleason
efa19a9230
Upgrade react-virtuoso to v2.16.2 2022-07-11 12:18:26 -05:00
Alex Gleason
022474718b
Merge remote-tracking branch 'origin/upgrade-jest' into tabler-v1.73.0 2022-07-09 14:03:02 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
06d3f00170
Switch to @jedmao/redux-mock-store 2022-07-06 13:56:55 -05:00
Alex Gleason
d6d4fd2b91
Merge remote-tracking branch 'origin/develop' into edit-profile-fixes 2022-07-05 20:59:45 -05:00
Alex Gleason
2704e38758
Upgrade Jest to v28 2022-07-05 11:30:08 -05:00
Alex Gleason
db56044f24
Revert "Remove react-router-scroll-4"
This reverts commit 01d9f918ce.
2022-07-04 16:21:35 -05:00
Alex Gleason
388d887583
Upgrade axios to v1.0.0-alpha.1, remove custom toFormData implementation 2022-07-04 12:53:25 -05:00
Alex Gleason
3ab5cdf2bb Merge branch 'twemoji-update' into 'develop'
Upgrade Twemoji to v14.0.2

See merge request soapbox-pub/soapbox-fe!1590
2022-06-30 15:14:47 +00:00
Alex Gleason
fde2cb4b51
Upgrade Twemoji to v14.0.2 2022-06-29 21:09:22 -05:00
Justin
bdee28fd07 Add "useDimensions" hook 2022-06-29 11:10:00 -04:00
Alex Gleason
41e5104fac
Update Tabler to v1.71.0, use new pencil-plus and message-circle-2 icons 2022-06-26 10:41:02 -05:00
01d9f918ce Remove react-router-scroll-4
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:49:51 +02:00
b22512fb53 update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:47:20 +02:00
Alex Gleason
e472092bec
Upgrade axios-mock-adapter to ^1.21.1 2022-06-21 13:11:13 -05:00
Alex Gleason
ea9a02f7d7
Sentry: upgrade to ^7.2.0 2022-06-20 11:07:48 -05:00
Alex Gleason
9046a30656
Revert "Remove Danger CI"
This reverts commit ae4a770d6b.
2022-06-17 18:21:45 -05:00
Alex Gleason
ae4a770d6b
Remove Danger CI 2022-06-17 17:59:54 -05:00
Alex Gleason
7dd40c46c5
Add Danger
https://danger.systems/js/
2022-06-15 16:24:52 -05:00
Alex Gleason
0c173d5757
Produce a junit.xml during test:coverage 2022-06-13 13:26:51 -05:00
58539146a4 TypeScript: ChatPanes, CryptoDonate, utils/ethereum
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:34:17 +02:00
Alex Gleason
9be325d78f
Upgrade all the Webpack Babel things 2022-06-01 13:32:01 -05:00
Alex Gleason
580542fbb8
Upgrade to Node 18 2022-06-01 13:22:49 -05:00
Alex Gleason
4e3935d044
Upgrade to React 17 2022-05-28 13:34:20 -05:00
Alex Gleason
b0b0d5a76e
eslint: enforce jsdoc comments on UI components 2022-05-11 21:08:04 -05:00
Alex Gleason
1bd81a2f0f
SoapboxConfig: break extraneous components out into their own files 2022-05-05 13:08:45 -05:00
Alex Gleason
2cbea4aa5b
Upgrade axios to v0.27, fix EditProfile uploads 2022-04-29 16:01:46 -05:00
Alex Gleason
535cca7599
Convert a few files into TypeScript 2022-04-27 20:01:31 -05:00
Alex Gleason
fa0d08c09f
Add redux-toolkit, configureStore() 2022-04-25 12:43:13 -05:00
Justin
af5be1c276 Remove Lottie 2022-04-25 12:40:27 -04:00
Alex Gleason
7038d6a844
Convert a bunch of files to TypeScript 2022-04-24 14:28:07 -05:00
Alex Gleason
f476b5ce96
Mock IndexedDB in tests 2022-04-21 17:03:29 -05:00
Alex Gleason
1deb4dfd2d
Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
Alex Gleason
862d345e26
Replace react-lottie with lottie-web, move that giant Pulse animation into a chunk 2022-04-19 17:03:28 -05:00
Alex Gleason
712b4c5a42
Add Virtuoso 2022-04-15 15:19:23 -05:00
Alex Gleason
4adb42e426
Webpack: add DeadCodePlugin to detect unused files 2022-04-14 15:22:37 -05:00
Justin
98c77006ce
Add Onboarding components 2022-04-14 10:42:56 -05:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
fe4c2d5c5b
Try using react-sticky-box instead of react-stickynode 2022-04-06 10:04:06 -05:00
Alex Gleason
48fb37a90d
Layout: convert to tsx, use react-stickynode again 2022-04-05 18:06:30 -05:00
Alex Gleason
ddc71e5d59
Add cross-env again, so yarn test actually works without environment variables 2022-04-05 14:32:41 -05:00
Alex Gleason
3cc37dd9ce
Upgrade other jest-related packages 2022-04-05 14:27:33 -05:00
Alex Gleason
89c84b9241
Upgrade Jest to v27.5, remove jest-transform-stub, add a custom transformer 2022-04-05 14:21:01 -05:00
Justin
9a099b3fa7 Add "react-testing-library"
This commit also removes our older testing libraries like Enzyme and React Test Renderer.
2022-04-04 11:51:32 -04:00
Alex Gleason
0cdf898b37
Convert Polls to TSX 2022-03-26 18:11:26 -05:00
Alex Gleason
05f5045648
Convert utils/features.ts to TypeScript 2022-03-26 14:23:29 -05:00
Alex Gleason
c62d402a4e
DetailedCryptoAddress: convert to tsx 2022-03-25 16:27:37 -05:00
Alex Gleason
53b920c297
ThemeToggle: convert to TSX 2022-03-24 16:03:02 -05:00
Alex Gleason
3775ea40d6
Update caniuse browserlist 2022-03-24 14:55:40 -05:00
Justin
97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Justin
40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04: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
c9cef587a6
Merge remote-tracking branch 'origin/develop' into react-router-5 2022-03-21 15:30:26 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
09b9df7c80
Add Tailwind 2022-03-19 13:24:16 -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
608958f1e8
Add @types/http-link-header 2022-03-18 11:32:05 -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
c75965c2b4
Update browserlist 2022-03-16 22:06:51 -05:00
Alex Gleason
d07d9b5bed
Mock API with MSW 2022-03-16 13:55:18 -05:00
Alex Gleason
27564dd360
WIP: reducer typescript 2022-03-15 09:40:19 -05:00
Alex Gleason
a91fe1db91
configureStore: typescript conversion 2022-03-14 13:43:18 -05:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
e8e1ab74ed
Polyfill require.context in tests only 2022-03-04 11:33:22 -06:00
Alex Gleason
6df5e070a5
Upgrade immutable.js to v14 2022-03-02 14:48:51 -06:00
Alex Gleason
3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason
1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason
0e34ddba60
Typescript: IT WORKS 2022-02-19 15:53:52 -05:00
Alex Gleason
2b235a80e4
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-19 01:25:06 -05:00
409cb3819e Show birth date field on registration page when required
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 00:21:40 +01:00
5e76b5afca Birth dates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-19 21:47:37 +01:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
2d3784eb88 Minor changes, port 'Generalize “press back to close modal” to any modal and to public pages' from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 17:45:10 +01:00
bb1ac3e3b7 Add lazy load to emoji-mart
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-31 13:59:33 +01:00
Alex Gleason
f826d620b4
Start adding Typescript support 2021-11-04 19:28:04 -05:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
Alex Gleason
3c5384f318
localforage: add localforage, remember a fetched instance 2021-10-20 13:18:55 -05:00
Alex Gleason
6b77a4a62a
Remove react-content-loader
I will create custom placeholder components
2021-10-09 21:45:37 -05:00
Alex Gleason
53ce30e472
Add react-content-loader 2021-10-08 17:11:18 -05:00
Alex Gleason
2015560a42
Replace ForkAwesome with LineAwesome 2021-09-26 23:09:19 -05:00
Alex Gleason
58adc67e4b
Webpack: serve SVG icons as files 2021-09-26 20:00:16 -05:00
Alex Gleason
b0f860e292
Upgrade core-js: fix redundant entrypoint bloat 2021-09-23 10:14:26 -05:00
Alex Gleason
a0de32bcb0
StatusActionBar: update icons 2021-09-20 20:49:24 -05:00
Alex Gleason
3a1b660269
Make column panels sticky 2021-09-20 17:53:08 -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
aeef12acf0
Rip out react-redux-loading-bar 2021-09-18 18:31:22 -05:00
Alex Gleason
630736757d
Merge remote-tracking branch 'origin/develop' into next 2021-09-17 11:50:24 -05:00
Alex Gleason
4cac9ab1c3
Run yarn upgrade 2021-09-16 11:28:52 -05:00
Alex Gleason
b244b5b832
Remove deprecated babel-runtime package 2021-09-16 11:20:33 -05:00
Alex Gleason
02aaf357a2
Upgrade immutable to 4.0.0-rc.14 2021-09-16 11:18:34 -05:00
Alex Gleason
bc0e80ad18
Upgrade stylelint to latest versions 2021-09-16 11:15:28 -05:00
Alex Gleason
ca28ef7be6
Upgrade eslint and related deps 2021-09-16 11:13:15 -05:00
Alex Gleason
ad86a8a85e
Remove unused file-loader package 2021-09-16 11:07:42 -05:00
Alex Gleason
cb23506c49
Properly upgrade axios, redux, react-redux, @gamestdio/websocket, and react-swipeable-views. Fixes redux. 2021-09-16 11:04:42 -05:00
Alex Gleason
a5e8f399f1
Upgrade babel to latest versions 2021-09-16 10:57:54 -05:00
Alex Gleason
722f10b3e1
Upgrade react-swipeable-views to v0.14.0 2021-09-15 23:36:49 -05:00
Alex Gleason
724ee569a1
Merge remote-tracking branch 'origin/develop' into upgrade-axios-0.21.4 2021-09-15 23:11:44 -05:00
Alex Gleason
eee0b92313
Upgrade redux and react-redux 2021-09-15 22:19:46 -05:00
Alex Gleason
a8b4b288f3 Revert "Merge branch 'upgrade-redux-4.1.1' into 'develop'"
This reverts merge request !758
2021-09-16 03:08:35 +00:00
Alex Gleason
cc7637556c
Upgrade axios to v0.21.4 2021-09-15 21:46:15 -05:00
Alex Gleason
7993fb9071
Upgrade Redux to v4.1.1 2021-09-15 21:32:41 -05:00
Alex Gleason
b993056f76
Upgrade websocket.js to @gamestdio/websocket 2021-09-15 21:09:59 -05:00
Alex Gleason
53a0213fbf
Merge remote-tracking branch 'origin/develop' into next 2021-09-15 11:27:56 -05:00
Alex Gleason
38bac67b71
Use lint-staged with Husky to only lint changed files 2021-09-15 11:00:50 -05:00
Alex Gleason
dbc20362fd
Lint code on commit with Husky npm 2021-09-15 10:47:10 -05:00
Alex Gleason
3bf15df730
Add SVG icon support 2021-09-12 18:57:30 -05:00
Alex Gleason
d040de4c15
Remove wdyr 2021-09-11 17:03:53 -05:00
Alex Gleason
c2560064e3
Sentry: basic monitoring 2021-09-11 13:44:54 -05:00
Alex Gleason
35d18fbe33
Jest: fix SVG import breaking tests 2021-09-10 20:27:13 -05:00
Alex Gleason
2dd559ba63
Update browserlist 2021-09-06 19:32:37 -05:00
Alex Gleason
7540570ff5
Webpack: get rid of CompressionPlugin 2021-09-06 17:59:50 -05:00
Alex Gleason
36b648a2bf
Upgrade eslint plugins, jest, make tests run again 2021-09-05 19:59:46 -05:00
Alex Gleason
15283102d1
Upgrade Webpack to v5 2021-09-05 19:34:05 -05:00
Alex Gleason
b47685c596
Webpack: upgrade webpack-cli to latest version 2021-09-05 15:58:20 -05:00
Alex Gleason
0c75d42caf
JSDoc scaffolding 2021-09-05 14:49:38 -05:00
Alex Gleason
9700deeba5
Webpack: add SpeedMeasurePlugin 2021-09-04 15:19:50 -05:00
6c034e3a41 Minor accessibility improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:22:04 +02:00
Sean King
3fcee10887
Move to new fontsource packages 2021-08-12 09:06:28 -06:00
Alex Gleason
b9901cf638
Lint: add terser-webpack-plugin as a package.json dep 2021-07-11 22:41:10 -05:00
Alex Gleason
cc5084c481
Remove deprecated uglifyjs-webpack-plugin 2021-07-11 22:13:18 -05:00
Alex Gleason
4f51f1cea6
ErrorBoundary: display user's browser info 2021-07-11 18:19:18 -05:00
Alex Gleason
4f54031fb9
Upgrade jest 2021-07-10 02:58:01 -05:00
Alex Gleason
469115cf85
Upgrade react-router-dom to 4.3.1 2021-07-10 02:13:42 -05:00
Alex Gleason
225f61cc5b
Merge branch 'upgrade-emoji-mart' into fix-notifications-tab 2021-07-10 02:00:29 -05:00
Alex Gleason
a3d5d1a882
Upgrade emoji-datasource to 5.0.0 2021-07-10 00:43:49 -05:00
Alex Gleason
5789b8338b
Upgrade emoji-mart to 3.0.1 2021-07-09 23:57:54 -05:00
Alex Gleason
08d38f09e2
Babel: enable useBuiltIn option to turn on polyfills 2021-07-09 20:47:35 -05:00
Alex Gleason
3afdef38b9
Upgrade babel to v7.14 2021-07-09 11:40:01 -05:00
Alex Gleason
c5672806cb
Add "Why Did You Render" for debugging 2021-07-01 15:48:10 -05:00
Alex Gleason
689d524b02
Upgrade react-textarea-autosize to 8.3.3 2021-07-01 14:05:33 -05:00
Alex Gleason
cffe1b7ff5
Switch to my build of ForkAwesome with fixed bell-ringing icons 2021-06-27 12:11:53 -05:00
Alex Gleason
6f4aeac0ba
Upgrade ForkAwesome to latest git commit on master 2021-06-27 11:35:27 -05:00
NEETzsche
3a209e2fea Schedule posts 2021-06-18 16:04:31 +00:00
Alex Gleason
149c7718c3
Cryptocoin: display images and QR codes 2021-06-09 15:58:35 -05:00
Alex Gleason
f725433cfe
Switch to soapbox-pub/emoji-mart repo 2021-04-17 15:13:18 -05:00
Alex Gleason
a36394c47f
Pin emoji-datasource@4.0.4
https://github.com/tootsuite/mastodon/pull/7746#issue-192999215
2021-04-17 14:28:51 -05:00
Alex Gleason
ba062a0c7d
Include sheet_10.png in build 2021-04-17 14:21:12 -05:00
Alex Gleason
651e45b96d
Package emojis as a dependency of twemoji 2021-04-17 13:30:22 -05:00
Alex Gleason
fc13afff17
npx browserslist@latest --update-db 2021-03-29 17:03:59 -05:00
Alex Gleason
4d49a2e9b1
Downgrade babel-plugin-react-intl, make yarn manage:translations work again, fixes #558 2021-03-29 16:50:08 -05:00
Alex Gleason
85939e9ec6
Add UnusedFilesWebpackPlugin to detect unused files 2021-03-23 15:22:10 -05:00
Sean King
a21bedfabc
Use fontsource to handle Montserrat and Roboto, and use SASS to import dependency fonts 2020-11-11 10:01:59 -07:00