Commit graph

4185 commits

Author SHA1 Message Date
d4cc2ab29b Focus on selected status in status list, add moveUp/moveDown hotkeys to tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-04 15:20:19 +02:00
Justin
04d1879e5b Add more tests for accounts actions 2022-06-03 16:46:42 -04:00
Alex Gleason
859bc9c3b5
ScollTopButton: disable smooth scrolling 2022-06-03 14:00:56 -05:00
Alex Gleason
d0130fb296
ScrollTopButton: fix tests, actually don't use shortNumberFormat for now (it messes up pluralization) 2022-06-03 13:16:22 -05: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
0a34bcfcba
StatusList: fix infinite scrolling
(apparently I don't understand how useCallback works)
2022-06-03 12:24:55 -05:00
Alex Gleason
526d8a1d83
ScrollableList: track the second item instead of the top one 2022-06-02 21:22:40 -05:00
Alex Gleason
606d6297a8
TimelineQueueButtonHeader: use shortNumberFormat 2022-06-02 20:59:34 -05:00
Alex Gleason
973d3064b5
TimelineQueueButtonHeader: fix tests 2022-06-02 20:46:18 -05:00
Alex Gleason
8baa4cd262
ScrollableList: clear scrollData useMemo if scrollKey changes 2022-06-02 20:40:39 -05:00
Alex Gleason
36fb7fea7d
ScrollableList: reset topOffset if node doesn't match 2022-06-02 20:37:51 -05:00
Alex Gleason
68e80aa7be
ScrollableList: nuke the overscan 2022-06-02 20:37:05 -05:00
Alex Gleason
a4a20ddbe6
ScrollableList: use debounce, not throttle 2022-06-02 20:36:49 -05:00
Alex Gleason
509b7b871b
ScrollableList: useMemo, useCallback, throttle, refactor, make it nice 2022-06-02 19:31:25 -05:00
Alex Gleason
aecf539581
ScrollableList: only restore scroll position when navigating back 2022-06-02 17:00:58 -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
646006b22d Merge branch 'guest-profiles' into 'develop'
Allow guest browsing on Profiles and Statuses

See merge request soapbox-pub/soapbox-fe!1477
2022-06-02 19:27:58 +00:00
marcin mikołajczak
8aceefbbe8 Merge branch 'ts' into 'develop'
Lists modals: TypeScript, FC

See merge request soapbox-pub/soapbox-fe!1490
2022-06-02 19:03:23 +00:00
Alex Gleason
8624dbd5f2
StatusList: improve imports 2022-06-02 14:03:02 -05:00
Alex Gleason
a185ad45cd
StatusList TypeScript fixes 2022-06-02 14:00:35 -05:00
4ba2d08162 Lists modals: TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-02 20:51:09 +02:00
Alex Gleason
d0d9c0b460
StatusList: convert to TSX 2022-06-02 13:35:08 -05:00
Justin
7837c24d79 Merge branch 'fix-button-text' into 'develop'
Prevent button text wrapping

See merge request soapbox-pub/soapbox-fe!1488
2022-06-02 15:50:32 +00:00
Justin
6167219eed Use non-deprecated class 2022-06-02 11:40:58 -04:00
Justin
6eb6588492 Finish 'fetchAccountByUsername' tests 2022-06-02 11:37:18 -04:00
Justin
1e6f401a16 Prevent button text wrapping 2022-06-02 11:12:35 -04:00
Justin
14d614e055 Start adding 'fetchAccountByUsername' tests 2022-06-02 10:52:00 -04:00
Justin
621f8982f1 Allow guest browsing on Profiles and Statuses 2022-06-02 08:19:35 -04:00
Alex Gleason
697c028c4a
TimelineQueueButtonHeader: convert to tsx 2022-06-01 20:47:28 -05:00
Alex Gleason
577c391417
ScrollableList: fix desync scroll position, add 200px overscan 2022-06-01 19:36:55 -05:00
Alex Gleason
3d605913e8
Preserve scroll position perfectly 2022-06-01 18:47:07 -05:00
Alex Gleason
28bd9b0f4b
StatusList: don't dequeue timeline on mount 2022-06-01 18:00:35 -05:00
Alex Gleason
8052d5040a
ScrollableList: delete unused scrollerRef 2022-06-01 18:00:09 -05:00
Alex Gleason
e4b95534dc
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-06-01 14:29:45 -05:00
Justin
1d2c07f0a9 Merge branch 'set-color-scheme-css' into 'develop'
Add 'color-scheme' CSS prop for better browser rendering

See merge request soapbox-pub/soapbox-fe!1486
2022-06-01 19:25:08 +00:00
Justin
7f7b1aded5 Merge branch 'add-accounts-action-tests' into 'develop'
Add tests for 'createAccount' and 'fetchAccount'

See merge request soapbox-pub/soapbox-fe!1483
2022-06-01 19:23:01 +00:00
Justin
2d9e813fc3 Merge branch 'fix-input-text-color' into 'develop'
Use white text on dark inputs

See merge request soapbox-pub/soapbox-fe!1485
2022-06-01 19:22:34 +00:00
Alex Gleason
9686feea32 Merge branch 'iss_dein_schnitzel-develop-patch-41261' into 'develop'
Update de.json -  kleine Änderungen

See merge request soapbox-pub/soapbox-fe!1484
2022-06-01 19:21:54 +00:00
Justin
bca5a2988d Add 'color-scheme' CSS prop for better browser rendering 2022-06-01 14:27:04 -04:00
Justin
1ede064457 Use white text on dark inputs 2022-06-01 14:18:01 -04:00
Alex Gleason
56cbde77f4 Merge branch 'status-media' into 'develop'
Status media refactor (display media in QuotedStatus)

See merge request soapbox-pub/soapbox-fe!1478
2022-06-01 18:02:11 +00:00
Isabell Deinschnitzel
b098c23057 Update de.json - kleine Änderungen 2022-06-01 18:00:41 +00:00
Justin
46484bd940 Merge branch 'decrement-comment-count' into 'develop'
Decrement reply count

See merge request soapbox-pub/soapbox-fe!1481
2022-06-01 17:46:52 +00:00
Justin
6ba13239c6 Return the promise 2022-06-01 13:45:49 -04:00
Justin
190d94a438 Add tests for 'createAccount' and 'fetchAccount' 2022-06-01 12:58:01 -04:00
Justin
8847b3cc03 Decrement reply count when removing a status. 2022-06-01 09:13:07 -04:00
Alex Gleason
bf05abd53d
Disable birthdays 2022-05-31 18:40:44 -05:00
Alex Gleason
9772aa0d9c
Status: remove unused imports 2022-05-31 13:22:58 -05:00
Alex Gleason
335851b577
QuotedStatus: always display full media gallery 2022-05-31 13:21:07 -05:00
Alex Gleason
fb9acf4d64
QuotedStatus: use StatusMedia component 2022-05-31 13:11:50 -05:00
Alex Gleason
e1a0759c3a
DetailedStatus: clean up unused media methods 2022-05-31 12:52:06 -05:00
Alex Gleason
d6a7e38e56
DetailedStatus: use StatusMedia component 2022-05-31 12:49:24 -05:00
Alex Gleason
62d432a65d
Status: clean up now unused media methods, etc 2022-05-31 12:32:59 -05:00
Alex Gleason
ba8379c753
Break out StatusMedia into a separate component 2022-05-31 12:31:08 -05:00
marcin mikołajczak
8304f25577 Merge branch 'styles-cleanup' into 'develop'
Remove unused styles?

See merge request soapbox-pub/soapbox-fe!1476
2022-05-31 16:15:50 +00:00
Alex Gleason
edcbf1f849
PrivacyDropdownMenu: pass useEffect dependency array 2022-05-31 10:20:03 -05:00
Justin
bd13cba65b Apply 1 suggestion(s) to 1 file(s) 2022-05-31 15:04:57 +00:00
Justin
07ce1b4873 Apply 2 suggestion(s) to 1 file(s) 2022-05-31 15:03:41 +00:00
cd87b5262c Remove unused styles?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-31 14:55:31 +02:00
Alex Gleason
4bbc6d02b7
Merge remote-tracking branch 'origin/develop' into compose-tsx 2022-05-30 16:21:23 -05:00
marcin mikołajczak
182b51e275 Merge branch 'ts' into 'develop'
TypeScript, FC

See merge request soapbox-pub/soapbox-fe!1474
2022-05-30 21:06:55 +00:00
Alex Gleason
887302d642
Upload: fix backgroundPosition 2022-05-30 14:53:50 -05:00
Alex Gleason
0051fd8eec
PrivacyDropdown: fix Overlay target 2022-05-30 14:50:10 -05:00
Alex Gleason
faf48d17b9
PrivacyDropdown: convert to TSX 2022-05-30 14:43:35 -05:00
Alex Gleason
b02c80341b
ReplyIndicator: convert to TSX 2022-05-30 14:05:15 -05:00
de2422a97e TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 21:03:52 +02:00
Alex Gleason
6e2cc63b7d
ScheduleButton: convert to TSX 2022-05-30 13:55:46 -05:00
Alex Gleason
e813eecacb
Upload: convert to TSX 2022-05-30 13:53:14 -05:00
Alex Gleason
4821703edb
UploadButton: convert to TSX 2022-05-30 13:26:24 -05:00
7a35aa727b import from 'soapbox/…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +02:00
Alex Gleason
1beaccd3ac
TextIconButton: convert to TSX 2022-05-30 13:15:35 -05:00
Alex Gleason
a5fdfb31fd
Warning: convert to TSX 2022-05-30 13:11:44 -05:00
marcin mikołajczak
86438cc9fa Merge branch 'ts' into 'develop'
TypeScript, FC

See merge request soapbox-pub/soapbox-fe!1472
2022-05-30 18:01:09 +00:00
Alex Gleason
feba064066 Merge branch 'iss_dein_schnitzel-develop-patch-48539' into 'develop'
Update de.json Ergänzungen III

See merge request soapbox-pub/soapbox-fe!1470
2022-05-30 17:41:31 +00:00
beb7b8e713 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 18:44:32 +02:00
88637f55fb Fix: Change scope button no longer works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 10:01:52 +02:00
Isabell Deinschnitzel
e6c3f4fbdf Update de.json Ergänzungen III 2022-05-29 20:05:31 +00: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
marcin mikołajczak
6d8d92cd1b Merge branch 'hotkeys-thread' into 'develop'
Hotkey navigation in threads

See merge request soapbox-pub/soapbox-fe!1460
2022-05-28 06:22:56 +00:00
Alex Gleason
4c2be39ccb Merge branch 'homepage-fixes' into 'develop'
Improve very long title on homepage

See merge request soapbox-pub/soapbox-fe!1466
2022-05-28 01:02:13 +00:00
Alex Gleason
973492d96f
Improve very long title on homepage 2022-05-27 20:50:51 -04:00
Alex Gleason
139cd8f719
Chats: fix audio toggle styles 2022-05-27 20:22:56 -04:00
Alex Gleason
c1227079ac
Chats: fix unread counter 2022-05-27 20:14:41 -04:00
marcin mikołajczak
79a7b7998a Merge branch 'birthday-input' into 'develop'
Use BirthdayInput on Edit profile page

See merge request soapbox-pub/soapbox-fe!1462
2022-05-27 21:32:49 +00:00
Justin
3972e16e43 Add tests for alerts action 2022-05-27 15:22:20 -04:00
Justin
656f8038f6 Merge branch 'account-notes-test' into 'develop'
Add tests for account-notes action

See merge request soapbox-pub/soapbox-fe!1463
2022-05-27 18:32:36 +00:00
Justin
8433ff70b0 Add tests for account-notes action 2022-05-27 14:11:36 -04:00
afe670b8fc Use BirthdayInput on Edit profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-27 19:14:21 +02:00
Justin
4ad4414e08 Convert about action to TypeScript 2022-05-27 11:38:01 -04:00
68fa3fe339 Fix hotkey navigation in threads
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-27 16:29:54 +02:00
Justin
9b08a701b9 Merge branch 'improve-quote-visuals' into 'develop'
Improve Quote Status visuals

See merge request soapbox-pub/soapbox-fe!1455
2022-05-27 13:06:38 +00:00
Alex Gleason
45bb991993 Merge branch 'sw-typescript' into 'develop'
Convert ServiceWorker to TypeScript

See merge request soapbox-pub/soapbox-fe!1456
2022-05-26 22:38:36 +00:00
Alex Gleason
5c549a46e5
ServiceWorker: add missing jsdoc comment to expandNotification 2022-05-26 17:21:48 -04:00
Justin
03e97edff7 Improve Quote Status visuals 2022-05-26 15:19:44 -04:00
Alex Gleason
b8cfb567d1
ServiceWorker: alphabetize type definitions 2022-05-26 15:16:54 -04:00
Alex Gleason
d111c4c2d2
ServiceWorker: add jsdoc comments 2022-05-26 15:16:03 -04:00
Alex Gleason
5c49cc0b84
Convert ServiceWorker to TypeScript 2022-05-26 14:51:59 -04:00
Justin
b5d73cd2d0 Merge branch 'grouped-notifications' into 'develop'
Grouped notifications

See merge request soapbox-pub/soapbox-fe!1449
2022-05-26 18:19:13 +00:00
Justin
747c393c13 Merge branch 'test-blocks' into 'develop'
Convert blocks action to TypeScript

See merge request soapbox-pub/soapbox-fe!1454
2022-05-26 18:17:18 +00:00
Justin
a335c06f13 Convert blocks action to TypeScript 2022-05-26 13:37:22 -04:00
b54396588e Add outline in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-25 18:00:13 +02:00
Justin
517c21ae52 Add grouped notifications messaging 2022-05-24 17:11:47 -04:00
Justin
1eec48e7d3 Refactor notifications 2022-05-24 17:07:58 -04:00
Alex Gleason
ff7753cb42 Merge branch 'dvh' into 'develop'
d-screen: fall back to h-screen

See merge request soapbox-pub/soapbox-fe!1447
2022-05-24 20:54:43 +00: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
66a113b61a
d-screen: fall back to h-screen 2022-05-24 15:31:46 -04:00
Alex Gleason
7902908504 Merge branch 'gate-imports' into 'develop'
Fix feature gating of Pleroma data imports

See merge request soapbox-pub/soapbox-fe!1446
2022-05-24 18:47:30 +00:00
Alex Gleason
4873034206
Disable exports for now 2022-05-24 14:24:41 -04:00
Alex Gleason
2c69cc5de4 Merge branch 'loading' into 'develop'
Pageload improvements

Closes #976

See merge request soapbox-pub/soapbox-fe!1441
2022-05-24 18:17:39 +00:00
Alex Gleason
8c00f58162
Export: fix Mastodon fqn 2022-05-24 14:14:22 -04:00
Alex Gleason
86e673404e
Fix feature gating of Pleroma data imports 2022-05-24 14:06:59 -04:00
Justin
f2164f09d4 Add d-screen Tailwind utility 2022-05-24 13:45:00 -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
marcin mikołajczak
a7992addbd Merge branch 'i18n--' into 'develop'
Avoid inline message definitions

See merge request soapbox-pub/soapbox-fe!1444
2022-05-24 15:38:10 +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
marcin mikołajczak
788f6111a4 Merge branch 'scheduled-fixes' into 'develop'
Scheduled statuses: TypeScript, fix styles

Closes #977

See merge request soapbox-pub/soapbox-fe!1442
2022-05-24 15:14:59 +00:00
Justin
1133b05714 Fix key warnings 2022-05-24 09:46:21 -04:00
marcin mikołajczak
c6c816a6ec Merge branch 'post-privacy-settings' into 'develop'
Restore default post privacy/format settings

See merge request soapbox-pub/soapbox-fe!1443
2022-05-24 13:09:54 +00:00
682d2a3647 Avoid inline message definitions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 12:24:26 +02:00
1f85803e7f Restore default post privacy/format settings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 11:46:51 +02:00
marcin mikołajczak
9030b93c5b Merge branch 'sidebar-links' into 'develop'
Fix external links in sidebar/sidenav

See merge request soapbox-pub/soapbox-fe!1361
2022-05-23 19:41:00 +00:00
58ddda8246 Remove Invites link from sidebar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-23 21:20:38 +02:00
73c4457f28 Scheduled statuses: TypeScript, fix styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-23 21:14:42 +02:00
Alex Gleason
2b7f4694da
LoadingScreen: bump up spinner vertically to counteract optical illusion 2022-05-22 13:27:08 -05:00
Alex Gleason
4992862943
fetchMe: don't await verify_credentials if cached 2022-05-22 13:02:40 -05: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
b2d59f751b types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-21 14:37:41 +02:00
marcin mikołajczak
414abfb448 Merge branch 'delete-account-text' into 'develop'
DeleteAccount: Do not show explanation related to federation if not federating

See merge request soapbox-pub/soapbox-fe!1439
2022-05-21 12:32:03 +00:00
76cf741bf8 DeleteAccount: Do not show explanation related to federation if not federating
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-21 08:43:07 +02:00
10bdd664b0 split functions for admin api actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-21 08:35:33 +02:00
308877ab7b Use setRef in notifications list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-21 07:55:51 +02:00
Alex Gleason
40c3793d20
Notifications: use a ScrollableList again 2022-05-20 17:18:10 -05: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
marcin mikołajczak
f90f76ae02 Merge branch 'hotkey-nav' into 'develop'
Fix hotkey navigation?

See merge request soapbox-pub/soapbox-fe!1409
2022-05-20 21:17:34 +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
beef2de673 Merge remote-tracking branch 'soapbox/develop' into hotkey-nav
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 21:00:42 +02:00
marcin mikołajczak
21be58ecb4 Merge branch 'remove-from-followers' into 'develop'
Add 'Remove from followers'

See merge request soapbox-pub/soapbox-fe!1408
2022-05-20 18:58:36 +00:00
marcin mikołajczak
28c7a87913 Merge branch 'formatted-lists' into 'develop'
Use FormattedList for 'Replying to'

See merge request soapbox-pub/soapbox-fe!1396
2022-05-20 18:58:34 +00: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