Commit graph

4224 commits

Author SHA1 Message Date
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
Alex Gleason
656dd45502
Precheck: don't take <title> into consideration 2022-06-10 12:46:52 -05:00
58539146a4 TypeScript: ChatPanes, CryptoDonate, utils/ethereum
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:34:17 +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
marcin mikołajczak
76bdb3b148 Merge branch 'reactions-modal' into 'develop'
Reactions modal fixes

See merge request soapbox-pub/soapbox-fe!1516
2022-06-10 16:14:32 +00:00
Justin
a8c10b9709 Merge branch 'password-requirements' into 'develop'
Password Requirements

See merge request soapbox-pub/soapbox-fe!1517
2022-06-10 16:06:07 +00:00
Justin
56715757b8 Lint 2022-06-10 10:34:35 -04:00
7d8c33625d Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-10 12:37:40 +02:00
Justin
ecb3362ce2 Ensure whole number 2022-06-09 16:44:49 -04:00
Alex Gleason
122876025d Merge branch 'lookup-relationship' into 'develop'
Account lookup: fetch relationship

See merge request soapbox-pub/soapbox-fe!1518
2022-06-09 20:19:59 +00:00
Alex Gleason
28f0274b46
Fix actions/accounts test for accountLookup 2022-06-09 15:10:49 -05:00
Alex Gleason
f5024d6c8e
Account lookup: fetch relationship 2022-06-09 14:59:27 -05:00
Justin
1b88f2f36e Fix test 2022-06-09 15:53:03 -04:00
Justin
a8b738a719 Add to other Password inputs 2022-06-09 15:51:50 -04:00
7578ca2ee0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:49:25 +02:00
309e6c1a67 Reactions modal fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:47:21 +02:00
Alex Gleason
00f6df3f37
Properly import quotes from reblogs 2022-06-09 14:29:01 -05:00
d1a5da97b8 TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:22:19 +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
Alex Gleason
e4d34f6d69 Merge branch 'security-features' into 'develop'
Settings: fix feature detection of change email, mfa, etc

See merge request soapbox-pub/soapbox-fe!1514
2022-06-09 18:02:29 +00:00
Alex Gleason
6f52c18c05
Settings: fix feature detection of change email, mfa, etc 2022-06-09 12:51:10 -05:00
Justin
cf128d70b4 Apply new ValidationCheckmark component to Registration 2022-06-09 13:45:23 -04:00
Justin
4fc43afe1b Add new ValidationCheckmark component 2022-06-09 13:45:09 -04:00
Justin
08f114a15c min chars 2022-06-09 12:51:27 -04:00
Justin
10ff430cca Merge branch 'revert-poll-commit' into 'develop'
Revert commit for poll design

See merge request soapbox-pub/soapbox-fe!1513
2022-06-09 16:02:00 +00:00
Justin
5e0e86a864 Merge branch 'improve-polls' into 'develop'
Block button on polls

See merge request soapbox-pub/soapbox-fe!1511
2022-06-09 15:51:19 +00:00
Justin
7b9b0e9e34 Remove icon from 'add poll answer' button 2022-06-09 11:49:59 -04:00
Justin
c2551b9e35 Revert commit for poll design
This reverts commit 2a29a050a6.
2022-06-09 11:49:17 -04:00
Justin
4d7ce0a6d9 Fix emoji picker no longer opening 2022-06-09 11:38:52 -04:00
Justin
138ca824f8 Block button on polls 2022-06-09 10:30:34 -04:00
Justin
6328b03783 Merge branch 'improve-polls' into 'develop'
Poll Form improvement

See merge request soapbox-pub/soapbox-fe!1501
2022-06-09 14:15:45 +00:00
Justin
45a5e2fd39 Use smaller delete button 2022-06-09 10:06:58 -04:00
Justin
e0e1abc5c9 Improve UX 2022-06-09 09:58:19 -04:00
Alex Gleason
bd95c9f7e8 Merge branch 'lookup-401' into 'develop'
Redirect to /login if viewing an account 401's

See merge request soapbox-pub/soapbox-fe!1509
2022-06-09 13:57:36 +00:00
Justin
2a29a050a6 d 2022-06-09 09:43:37 -04:00
Justin
2c3bfefa4c Small UX improvements 2022-06-09 09:43:37 -04:00
Justin
6b07a7c3b6 Dark mode support for Polls 2022-06-09 09:43:37 -04:00
Justin
9da4de3538 Add multi-select toggle 2022-06-09 09:43:37 -04:00
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