Commit Graph

5349 Commits

Author SHA1 Message Date
a261e02329 Chats: fix search results position on main pane 2022-06-04 17:23:25 -05:00
8dbee455f1 Chats: fix search input on /chats 2022-06-04 17:10:41 -05:00
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
908623622e Merge branch 'unsmooth-scroll' into 'develop'
ScollTopButton: disable smooth scrolling

See merge request soapbox-pub/soapbox-fe!1492
2022-06-03 19:11:04 +00:00
859bc9c3b5 ScollTopButton: disable smooth scrolling 2022-06-03 14:00:56 -05:00
4afc38ba0f Merge branch 'timeline-fixes' into 'develop'
TImeline fixes

See merge request soapbox-pub/soapbox-fe!1491
2022-06-03 18:45:30 +00:00
d0130fb296 ScrollTopButton: fix tests, actually don't use shortNumberFormat for now (it messes up pluralization) 2022-06-03 13:16:22 -05:00
fbb460817f Add JSDoc comments to timeline components 2022-06-03 13:09:46 -05:00
aad192d150 ScrollTopButton: restore count prop so it works in Notifications again 2022-06-03 12:38:54 -05:00
6da72d874e TimelineQueueButtonHeader --> ScrollTopButton 2022-06-03 12:34:30 -05:00
2aa4b41528 StatusListContainer --> Timeline 2022-06-03 12:31:23 -05:00
edf366858a StatusListContainer: bust useCallback if timelineId changes 2022-06-03 12:25:59 -05:00
0a34bcfcba StatusList: fix infinite scrolling
(apparently I don't understand how useCallback works)
2022-06-03 12:24:55 -05:00
666c2dd0ce Merge branch 'scroll-position' into 'develop'
Preserve scroll position in feeds

See merge request soapbox-pub/soapbox-fe!1435
2022-06-03 12:42:25 +00:00
526d8a1d83 ScrollableList: track the second item instead of the top one 2022-06-02 21:22:40 -05:00
606d6297a8 TimelineQueueButtonHeader: use shortNumberFormat 2022-06-02 20:59:34 -05:00
973d3064b5 TimelineQueueButtonHeader: fix tests 2022-06-02 20:46:18 -05:00
8baa4cd262 ScrollableList: clear scrollData useMemo if scrollKey changes 2022-06-02 20:40:39 -05:00
36fb7fea7d ScrollableList: reset topOffset if node doesn't match 2022-06-02 20:37:51 -05:00
68e80aa7be ScrollableList: nuke the overscan 2022-06-02 20:37:05 -05:00
a4a20ddbe6 ScrollableList: use debounce, not throttle 2022-06-02 20:36:49 -05:00
509b7b871b ScrollableList: useMemo, useCallback, throttle, refactor, make it nice 2022-06-02 19:31:25 -05:00
aecf539581 ScrollableList: only restore scroll position when navigating back 2022-06-02 17:00:58 -05:00
7b1190e6cd Merge remote-tracking branch 'origin/develop' into scroll-position 2022-06-02 15:52:04 -05:00
47e43b6540 StatusList: break out TimelineQueueButtonHeader into StatusListContainer 2022-06-02 15:29:20 -05:00
878d26cb4b StatusListContainer: convert to TSX 2022-06-02 15:15:30 -05:00
a05726e689 Merge branch 'node-18' into 'develop'
Upgrade to Node 18

See merge request soapbox-pub/soapbox-fe!1487
2022-06-02 19:29:21 +00:00
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
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
8624dbd5f2 StatusList: improve imports 2022-06-02 14:03:02 -05:00
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
d0d9c0b460 StatusList: convert to TSX 2022-06-02 13:35:08 -05:00
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
a13b3b92ba Merge branch 'more-tests-accounts' into 'develop'
Add tests for 'fetchAccountByUsername' function

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