Commit graph

3377 commits

Author SHA1 Message Date
Alex Gleason
0ff1887fec
AutosuggestEmoji: convert to TSX 2022-06-04 18:29:58 -05:00
Alex Gleason
ba803e200c
AutosuggestInput: convert to TSX 2022-06-04 18:21:16 -05:00
Alex Gleason
e6c25a1887
AutosuggestAccountInput: convert to TSX 2022-06-04 17:47:40 -05:00
Alex Gleason
a261e02329
Chats: fix search results position on main pane 2022-06-04 17:23:25 -05:00
marcin mikołajczak
de2c9148eb Merge branch 'status-focus' into 'develop'
Focus on selected status in status list, add moveUp/moveDown hotkeys to tombstone

See merge request soapbox-pub/soapbox-fe!1494
2022-06-04 15:50:44 +00:00
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
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