Commit graph

890 commits

Author SHA1 Message Date
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02:00
Alex Gleason
bcc9ff5066 Merge branch 'ts-tests' into 'develop'
Make TypeScript work correctly in tests

Closes #1010

See merge request soapbox-pub/soapbox-fe!1610
2022-07-07 13:39:51 +00:00
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
3e8ebb1661 Improve UX after subscribing to account 2022-07-06 14:20:20 -04:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
Alex Gleason
2f78b9ccc6 Merge branch 'remove-unauth-setting' into 'develop'
Remove the guestExperience setting

See merge request soapbox-pub/soapbox-fe!1582
2022-06-30 15:15:23 +00:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Alex Gleason
2e3718e548
Make /search a non-public route 2022-06-29 10:14:04 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Alex Gleason
89e0eef60f
Remove the guestExperience setting 2022-06-28 14:43:03 -05:00
Justin
e3d976a2e7 Account for smaller screens 2022-06-28 14:26:59 -04:00
Justin
825f5566a0 Add CSS class with variables 2022-06-28 14:18:15 -04:00
Alex Gleason
b0b418d699
BackgroundShapes: use a CSS linear gradient 2022-06-28 10:47:41 -05:00
Justin
97b752c00c Fix link UX issue on linkfooter 2022-06-27 11:52:05 -04:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00: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
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
9fff48a49f
Alerts: refactor notifications_container 2022-06-23 17:29:10 -05:00
Alex Gleason
421561f731
Alerts: use sm button 2022-06-23 16:24:10 -05:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
38c920e9e5
Snackbar: use 'ghost' theme button 2022-06-23 15:25:33 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
e5d6b4fd7b Merge branch 'hoverstatus' into 'develop'
Status reply hover

See merge request soapbox-pub/soapbox-fe!1550
2022-06-21 18:57:22 +00:00
Alex Gleason
572744a695
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 11:01:05 -05:00
Justin
4b25bdf635 Merge branch 'poll-improvements' into 'develop'
Refactor & Redesign Polls in Statuses

See merge request soapbox-pub/soapbox-fe!1533
2022-06-21 11:44:40 +00:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02:00
ae3277bbb3 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:39:49 +02:00
6214084890 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:38:51 +02:00
ee5453c18f Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-18 12:11:03 +02:00
ee55241792 Fix type errors, use () => RootState for getState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:51:02 +02:00
Alex Gleason
d2cfe93b6a
Chats: rename all files with dashes instead of underscores 2022-06-17 17:40:43 -05:00
Justin
20e0692012 Merge branch 'lodash-imports' into 'develop'
Specifically import the single lodash function

See merge request soapbox-pub/soapbox-fe!1540
2022-06-17 13:47:23 +00:00
Justin
3d76853e93 Lint fix 2022-06-17 08:14:34 -04:00
Justin
16c06e1d60 Temporarily disable for non-PLEROMA/MASTODON 2022-06-17 07:47:21 -04:00
Justin
5fa875ef64 Add tests 2022-06-17 07:44:34 -04:00
Justin
0e1302587a Improve subscription button on header 2022-06-17 07:44:34 -04:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
ewwwwwwww
cc7058349f add status reply hover 2022-06-16 21:19:53 -07:00
Justin
4687f9b79b Lint 2022-06-16 11:47:57 -04:00
Justin
7a7fda0c08 Improve PollPreview 2022-06-16 11:08:57 -04:00
Justin
06888b8ebc Undo some accidental changes 2022-06-16 09:08:58 -04:00
Justin
fb9796b0c4 Redesign Poll within Status 2022-06-16 09:08:58 -04:00
Alex Gleason
e03a22f88d
guestExperience: add alternate user routes 2022-06-15 10:50:45 -05:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +02:00
228fef77a4 Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-10 19:57:07 +02:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
marcin mikołajczak
ff79329dd6 Merge branch 'develop' into 'ts'
# Conflicts:
#   app/soapbox/features/verification/registration.tsx
2022-06-10 16:16:31 +00:00
309e6c1a67 Reactions modal fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:47:21 +02:00
2786fa257b Use import type in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:08:51 +02:00
95e037f8c0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 20:56:14 +02:00
a8a1567917 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 00:05:04 +02:00
a66c174c2d Add normalizers, fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-08 23:43:27 +02:00
Alex Gleason
4457a0613c Merge branch 'quote-sensitive' into 'develop'
Sensitive quotes

Closes #930

See merge request soapbox-pub/soapbox-fe!1504
2022-06-08 16:34:50 +00:00
Alex Gleason
a02efcadd4
Preserve password reset URL query 2022-06-07 16:57:50 -05:00
5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
Alex Gleason
da70097960
Convert QuotedStatus containers to TSX 2022-06-07 14:48:24 -05:00
6c45dcb109 TypeScript, FC (reducers, search)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 18:25:53 +02:00
marcin mikołajczak
bdb958a613 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1498
2022-06-06 19:03:34 +00:00
41a2b1f08f Reducers: TypeScript, fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 20:21:25 +02:00
5bb26c9b47 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:07:19 +02:00
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
5bc8108e26 Move account migration to settings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 08:56:22 +02:00
Alex Gleason
fbb460817f
Add JSDoc comments to timeline components 2022-06-03 13:09:46 -05:00
Alex Gleason
aad192d150
ScrollTopButton: restore count prop so it works in Notifications again 2022-06-03 12:38:54 -05:00
Alex Gleason
6da72d874e
TimelineQueueButtonHeader --> ScrollTopButton 2022-06-03 12:34:30 -05:00
Alex Gleason
2aa4b41528
StatusListContainer --> Timeline 2022-06-03 12:31:23 -05:00
Alex Gleason
edf366858a
StatusListContainer: bust useCallback if timelineId changes 2022-06-03 12:25:59 -05:00
Alex Gleason
7b1190e6cd
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-06-02 15:52:04 -05:00
Alex Gleason
47e43b6540
StatusList: break out TimelineQueueButtonHeader into StatusListContainer 2022-06-02 15:29:20 -05:00
Alex Gleason
878d26cb4b
StatusListContainer: convert to TSX 2022-06-02 15:15:30 -05:00
Justin
621f8982f1 Allow guest browsing on Profiles and Statuses 2022-06-02 08:19:35 -04:00
7a35aa727b import from 'soapbox/…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +02:00
beb7b8e713 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 18:44:32 +02:00
a3d1d2dc91 TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 21:53:22 +02:00
9b5c342a27 Merge remote-tracking branch 'soapbox/develop' into ts 2022-05-28 18:03:22 +02:00
1e74c6d3d7 TypeScript, FC, styles and fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 18:03:19 +02:00
Justin
8433ff70b0 Add tests for account-notes action 2022-05-27 14:11:36 -04:00
Justin
b4f76d276b Merge branch 'fix-keys' into 'develop'
Fix key warnings

See merge request soapbox-pub/soapbox-fe!1448
2022-05-24 20:50:30 +00:00
Alex Gleason
4873034206
Disable exports for now 2022-05-24 14:24:41 -04:00
Alex Gleason
86e673404e
Fix feature gating of Pleroma data imports 2022-05-24 14:06:59 -04:00
Alex Gleason
5bfec696d9 Merge branch 'gate-messaging' into 'develop'
Fix feature-gating of messages

See merge request soapbox-pub/soapbox-fe!1445
2022-05-24 16:12:16 +00:00
Alex Gleason
9401493af1
Fix feature-gating of messages 2022-05-24 11:24:47 -04:00
38b3b7150f string | React.ReactNode -> React.ReactNode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 17:16:07 +02:00
Justin
1133b05714 Fix key warnings 2022-05-24 09:46:21 -04:00
marcin mikołajczak
7c3d0c821b Merge branch 'mastodon-admin-api' into 'develop'
Mastodon admin API

See merge request soapbox-pub/soapbox-fe!1387
2022-05-21 18:23:45 +00:00
Alex Gleason
c729f30efa Merge branch 'loading-screen' into 'develop'
Refactor SoapboxMount

See merge request soapbox-pub/soapbox-fe!1436
2022-05-20 21:20:20 +00:00
2ec9cacb27 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 21:06:10 +02:00
960dd0ed89 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 20:57:14 +02:00
3cd8a4b966 Use useFeatures hook
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 20:54:24 +02:00
Alex Gleason
4e8a3cdce5
SoapboxMount: load WaitlistPage async 2022-05-20 13:29:17 -05:00
Alex Gleason
f0ba5a5a8c
SoapboxMount: load onboarding flow async, refactor 2022-05-20 13:13:17 -05:00
Alex Gleason
e298115fcf
SoapboxMount: async import NotificationsContainer, ModalContainer, remove them elsewhere 2022-05-20 13:00:38 -05:00
Alex Gleason
f3f6a15686
LandingPageModal: use Text component 2022-05-20 10:15:47 -05:00
0aede77a52 Do not show follow requests hotkey if not feature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-19 12:57:21 +02:00
Justin
b3d2306aaf Merge branch 'improve-test-coverage-for-trends' into 'develop'
Improve Trends test coverage

See merge request soapbox-pub/soapbox-fe!1416
2022-05-18 18:41:32 +00:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
Justin
330bf8e74d Improve Trends test coverage 2022-05-17 12:47:32 -04:00
marcin mikołajczak
e61cf05a0d Merge branch 'hotkey-modal' into 'develop'
Restyle hotkeys modal

See merge request soapbox-pub/soapbox-fe!1411
2022-05-17 15:45:38 +00:00
marcin mikołajczak
417ac96ffb Restyle hotkeys modal 2022-05-17 15:45:38 +00:00
Justin
990214d02c Convert 'AttachmentThumbs' to TSX 2022-05-17 10:03:37 -04:00
Justin
7571af38cb Force authentication to see public content 2022-05-16 17:33:45 -04:00
Justin
1e634ce7aa Remove statuses count from profile popper 2022-05-16 14:35:02 -04:00
Justin
c0d94896aa Underline links 2022-05-16 14:34:35 -04:00
Justin
74058a3a36 Dasherize file name 2022-05-16 14:34:17 -04:00
f70d44f67c Display familiar followers on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 19:32:35 +02:00
88b91bce3e Mastodon admin API
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 17:40:47 +02:00
30017d62c9 Use arrow-left for ReplyMentionsModal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-15 09:06:40 +02:00
Alex Gleason
22d37a2f10
ActionButton: remove empty variable(?) 2022-05-14 11:49:28 -05:00
Alex Gleason
6fa6e5b3b4
ActionButton: add jsdoc comments 2022-05-14 11:48:57 -05:00
Alex Gleason
9e09823f80
ActionButton: remove most calls to .get, fix relationship loading bug 2022-05-14 11:44:31 -05:00
Alex Gleason
3d898957e3
ActionButton: put remote follow behind feature detection 2022-05-14 11:42:12 -05:00
Justin
771ce85ec1 Merge branch 'update-banner' into 'develop'
Improve design of CTA Banner

See merge request soapbox-pub/soapbox-fe!1371
2022-05-13 12:54:23 +00:00
Justin
87dccd79ae Merge branch 'add-login-form-to-navbar' into 'develop'
Add login form to navbar

See merge request soapbox-pub/soapbox-fe!1368
2022-05-13 12:35:13 +00:00
Justin
aeb523be1d Improve design of CTA Banner 2022-05-13 08:35:03 -04:00
a297b7daec Use onSubmit in remote interactions form
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-13 13:01:10 +02:00
Justin
de1d630daa Add login form to navbar 2022-05-12 17:02:29 -04:00
Alex Gleason
938665f157 Merge branch 'thread-cta' into 'develop'
Display a CTA in threads to log in

See merge request soapbox-pub/soapbox-fe!1353
2022-05-12 20:36:56 +00:00
marcin mikołajczak
8deb92cd44 Merge branch 'sessions-page' into 'develop'
Restore session management

See merge request soapbox-pub/soapbox-fe!1360
2022-05-12 20:35:14 +00:00
Justin
086acccbf4 Add dynamic help links to landing page 2022-05-12 15:41:37 -04:00
Alex Gleason
c7375a2e01
Merge remote-tracking branch 'origin/develop' into thread-cta 2022-05-12 14:41:16 -05:00
Justin
c8166cedf1 Lint switch 2022-05-12 15:32:32 -04:00
Justin
fe77a22da2 Merge branch 'report-rule-types' into 'develop'
Account for different 'rule_type' on rules

See merge request soapbox-pub/soapbox-fe!1350
2022-05-12 19:29:00 +00:00
Alex Gleason
80f5c75a1a Merge branch 'site-logo' into 'develop'
Replace logos with SiteLogo component, fixes #937

Closes #937

See merge request soapbox-pub/soapbox-fe!1356
2022-05-12 19:22:46 +00:00
c540ae2201 Restore session management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-12 17:45:40 +02:00
Alex Gleason
530b2838f3
Replace questionable icons 2022-05-12 07:56:22 -05:00
Alex Gleason
01ec7bc279
Replace logos throughout the UI with SiteLogo component 2022-05-11 19:54:23 -05:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
2a9f1ccb91
UnauthorizedModal: convert to TSX 2022-05-11 15:26:37 -05:00
Alex Gleason
31486b1320
Link various sign up buttons to /signup 2022-05-11 14:55:40 -05:00
Alex Gleason
64cce966a2
Simplify signup routing 2022-05-11 14:50:53 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Alex Gleason
2ebf735884 Merge branch 'remote-instance' into 'develop'
Remote instance TSX conversions

See merge request soapbox-pub/soapbox-fe!1341
2022-05-11 17:38:48 +00:00
Justin
cb5fbdf7d9 Account for different 'rule_type' on rules 2022-05-11 09:25:48 -04:00
Alex Gleason
3785a2890f
Registrations aren't really open unless accountCreation is supported 2022-05-10 19:04:29 -05:00
Alex Gleason
7fecd521d7
Treat Pepe API as an extension, not a feature 2022-05-10 18:48:57 -05:00
Justin
173fbd6535 Include CtaBanner in layouts 2022-05-10 06:17:14 -04:00
Justin
a8142d9e2b Add CtaBanner component 2022-05-10 06:17:01 -04:00