Commit graph

1086 commits

Author SHA1 Message Date
Alex Gleason
c78e398dad
StatusHoverCard: fix useEffect conditional 2022-06-20 17:20:51 -05:00
Alex Gleason
f1f6892d92
StatusHoverCard: prefer attachment thumbs 2022-06-20 17:06:48 -05:00
Alex Gleason
0292e4f428
StatusHoverCard: fix lint stuff, cleanup 2022-06-20 17:04:57 -05:00
Alex Gleason
2d3d834a83
StatusReplyMentions: linter fixes 2022-06-20 16:51:25 -05:00
Alex Gleason
f1023b3f80
ProfileHoverCard: set z-index with Tailwind class 2022-06-20 16:49:23 -05:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
ewwwwwwww
1d79b59bbc fix z-index 2022-06-19 15:50:51 -07:00
4719cf6b5b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 21:26:57 +02:00
ae3277bbb3 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:39:49 +02:00
6214084890 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:38:51 +02:00
ewwwwwwww
ba086918b2 fix reply hover oopsie 2022-06-17 13:24:52 -07:00
Alex Gleason
6459096b58
ChatWindow: convert to TSX 2022-06-17 14:39:53 -05:00
ewwwwwwww
3299d0b972 fix reply hover blocking bug 2022-06-17 12:39:17 -07:00
Alex Gleason
46c1185dad
Create generic UploadProgress component, have composer use it 2022-06-17 13:42:21 -05:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
ewwwwwwww
cc7058349f add status reply hover 2022-06-16 21:19:53 -07:00
Justin
2f4f2c02b1 Dark mode support for Polls 2022-06-16 14:22:00 -04:00
Justin
dcde237fc9 Add test for handling the Refresh button 2022-06-16 11:40:58 -04:00
Justin
a66814d11d Add tests for PollFooter 2022-06-16 09:20:33 -04:00
Justin
06888b8ebc Undo some accidental changes 2022-06-16 09:08:58 -04:00
Justin
b124705bfd Refactor polls 2022-06-16 09:08:58 -04:00
Justin
fb9796b0c4 Redesign Poll within Status 2022-06-16 09:08:58 -04:00
Justin
e39c8d6713 Add danger-link button 2022-06-14 14:17:35 -04:00
marcin mikołajczak
aec85d6db7 Merge branch 'editing-confirmation' into 'develop'
Change confirmation modal for edited posts

See merge request soapbox-pub/soapbox-fe!1523
2022-06-13 12:07:13 +00:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
e78108efe2 TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 20:15:34 +02:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +02:00
921d7c1935 Change confirmation modal for edited posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-11 23:36:40 +02:00
228fef77a4 Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-10 19:57:07 +02:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +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
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
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
Justin
4fc43afe1b Add new ValidationCheckmark component 2022-06-09 13:45:09 -04:00
Justin
c2551b9e35 Revert commit for poll design
This reverts commit 2a29a050a6.
2022-06-09 11:49:17 -04: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
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
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
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
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
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
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
edffe9a837
SensitiveButton: use UI components 2022-06-07 13:55:34 -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
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
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
54b6df719c
Layout: fix compose block spacing 2022-06-04 15:58:41 -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
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
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
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
Alex Gleason
d0d9c0b460
StatusList: convert to TSX 2022-06-02 13:35:08 -05: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
1ede064457 Use white text on dark inputs 2022-06-01 14:18:01 -04:00
Alex Gleason
9772aa0d9c
Status: remove unused imports 2022-05-31 13:22:58 -05:00
Alex Gleason
fb9acf4d64
QuotedStatus: use StatusMedia component 2022-05-31 13:11:50 -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
cd87b5262c Remove unused styles?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-31 14:55:31 +02:00
Alex Gleason
b02c80341b
ReplyIndicator: convert to TSX 2022-05-30 14:05:15 -05:00
beb7b8e713 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 18:44:32 +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
afe670b8fc Use BirthdayInput on Edit profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-27 19:14:21 +02:00
b54396588e Add outline in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-25 18:00:13 +02:00
Alex Gleason
66a113b61a
d-screen: fall back to h-screen 2022-05-24 15:31:46 -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
Justin
f2164f09d4 Add d-screen Tailwind utility 2022-05-24 13:45:00 -04: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
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
682d2a3647 Avoid inline message definitions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 12:24:26 +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
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
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
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
Alex Gleason
f0ba5a5a8c
SoapboxMount: load onboarding flow async, refactor 2022-05-20 13:13:17 -05:00
Alex Gleason
84b04250ac
Add LoadingScreen for fullscreen, theme-specific loading 2022-05-20 12:20:31 -05:00
Alex Gleason
f0cab57ae8 Merge branch 'whitescreen' into 'develop'
SoapboxMount: display a spinner while API requests are loading

Closes #967

See merge request soapbox-pub/soapbox-fe!1424
2022-05-20 15:22:10 +00:00
Alex Gleason
1fb9525635
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-05-19 20:09:56 -05:00
Alex Gleason
533c356d60
ScrollableList: preserve index rather than scrollTop 2022-05-19 20:03:52 -05:00
Alex Gleason
c3ef55613d Merge branch 'infinite-scroll-suggestions' into 'develop'
Add infinite scroll to suggestions onboarding

See merge request soapbox-pub/soapbox-fe!1430
2022-05-19 21:18:49 +00:00
Alex Gleason
ba0b4851f6
ScrollableList: save and restore scroll position 2022-05-19 16:09:22 -05:00
Alex Gleason
362f7520ae
Fix Tombstone margins in threads, fixes #971 2022-05-19 12:42:01 -05:00
Justin
c6c65a0d48 Add infinite scroll to suggestions onboarding 2022-05-19 12:29:28 -04:00
Alex Gleason
93187c8eed
SoapboxMount: display a spinner while API requests are loading 2022-05-18 14:38:49 -05:00
Justin
b3d2306aaf Merge branch 'improve-test-coverage-for-trends' into 'develop'
Improve Trends test coverage

See merge request soapbox-pub/soapbox-fe!1416
2022-05-18 18:41:32 +00:00
Justin
bfe96be123 Merge branch 'improve-test-coverage-for-account' into 'develop'
Improve Account test coverage

See merge request soapbox-pub/soapbox-fe!1417
2022-05-18 18:41:23 +00:00
Justin
3ceb3a1d01 Merge branch 'waitlist-improvements' into 'develop'
Allow waitlisted users to verify their SMS

See merge request soapbox-pub/soapbox-fe!1422
2022-05-18 18:41:12 +00:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
f33e491c0c Make 'Switch accounts' string translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-18 14:49:35 +02:00
Justin
506b962421 Improve Account test coverage 2022-05-17 13:11:22 -04:00
Justin
330bf8e74d Improve Trends test coverage 2022-05-17 12:47:32 -04:00
marcin mikołajczak
e61cf05a0d Merge branch 'hotkey-modal' into 'develop'
Restyle hotkeys modal

See merge request soapbox-pub/soapbox-fe!1411
2022-05-17 15:45:38 +00:00
marcin mikołajczak
417ac96ffb Restyle hotkeys modal 2022-05-17 15:45:38 +00:00
Justin
25f865272f Merge branch 'convert-display-name' into 'develop'
Convert display-name to TS

See merge request soapbox-pub/soapbox-fe!1375
2022-05-17 15:23:24 +00:00
Justin
990214d02c Convert 'AttachmentThumbs' to TSX 2022-05-17 10:03:37 -04:00
Justin
4c5bff2fb5 Remove unused ColumnBackButton component 2022-05-17 09:46:55 -04:00