Commit graph

4185 commits

Author SHA1 Message Date
Justin
e60db6decb Add period after index 2022-06-09 09:43:37 -04:00
Justin
3dc60f2cd8 Add Divider 2022-06-09 09:43:36 -04:00
Justin
7782c96ba4 Improve design of the Poll Form 2022-06-09 09:43:17 -04:00
Justin
354159e1fa Toggle placeholder text 2022-06-09 09:42:39 -04:00
2cd11adf79 Fix delete/migrate settings visibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 00:13:21 +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
53cb5f723b
actions/accounts: remove n/a test 2022-06-08 16:18:51 -05:00
Alex Gleason
1aef2eaf22
Redirect to /login if viewing an account 401's 2022-06-08 16:00:12 -05:00
Justin
6ce7c866df Fix responsiveness of datepicker on Age Verification 2022-06-08 13:13:51 -04:00
Justin
cedbc468bd Merge branch 'improve-datepicker' into 'develop'
Add new custom datepicker for improved UX

See merge request soapbox-pub/soapbox-fe!1507
2022-06-08 17:12:54 +00:00
Justin
471b2caa3f Fix test 2022-06-08 13:03:12 -04: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
8a6ba4f048
Add basic QuotedStatus test 2022-06-08 11:25:41 -05:00
Alex Gleason
f3178ac911
Move/rename QuotedStatus file 2022-06-08 11:07:41 -05:00
Alex Gleason
9a68b64315
defaultMediaVisibility() tests 2022-06-08 11:06:14 -05:00
Justin
5900068144 Use new Datepicker on AgeVerification step 2022-06-08 12:06:05 -04:00
Justin
165a4cc469 Add new Datepicker component 2022-06-08 12:05:41 -04:00
Alex Gleason
1a7a1cc802
QuotedStatus: add useState type 2022-06-08 10:56:27 -05: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
Alex Gleason
735d04b007
QuotedStatus: properly display sensitive media 2022-06-07 14:26:12 -05:00
Alex Gleason
1e8e1fd071
QuotedStatus: use thumbs in composer 2022-06-07 13:59:08 -05:00
Alex Gleason
edffe9a837
SensitiveButton: use UI components 2022-06-07 13:55:34 -05:00
Alex Gleason
08daa19f2c
Add back SensitiveButton, convert to TSX 2022-06-07 13:46:21 -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
Alex Gleason
ddd0cc2d27 Merge branch 'tsx-conversions' into 'develop'
TSX conversions

See merge request soapbox-pub/soapbox-fe!1495
2022-06-06 18:57:06 +00:00
Alex Gleason
e54d666b90
HomeTimeline: move useEffect above return 2022-06-06 13:43:38 -05:00
Alex Gleason
2c4a28288d
PollForm: autosuggest fix 2022-06-06 13:38:48 -05:00
Alex Gleason
7e7dd19b02 Merge branch 'chats-fixes' into 'develop'
Small chats fixes & TSX conversions

See merge request soapbox-pub/soapbox-fe!1496
2022-06-06 18:31:27 +00:00
Justin
6f030011ba Convert PollForm to TSX 2022-06-06 13:19:45 -04:00
Justin
d0b9de6341 Merge branch 'add-accounts-action-tests' into 'develop'
Add more tests for accounts actions

See merge request soapbox-pub/soapbox-fe!1493
2022-06-06 14:09:00 +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
328d3b9b59
Suggestion --> AutoSuggestion 2022-06-04 18:36:34 -05:00
Alex Gleason
318b9f0d3b
AutosuggestAccountInput: improve types 2022-06-04 18:35:04 -05:00
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
Alex Gleason
8dbee455f1
Chats: fix search input on /chats 2022-06-04 17:10:41 -05:00
Alex Gleason
54b6df719c
Layout: fix compose block spacing 2022-06-04 15:58:41 -05:00
Alex Gleason
131fcef7d6
HomeTimeline: convert to TSX 2022-06-04 15:51:59 -05:00
Alex Gleason
4c87573972
HomeTimeline: remove suggestions 2022-06-04 15:31:24 -05:00
Alex Gleason
71362a922a
QuotedStatus: convert to FC 2022-06-04 15:30:15 -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
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