Commit graph

973 commits

Author SHA1 Message Date
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
721772b08f Fix hotkey navigation?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-17 15:09:53 +02:00
Alex Gleason
1fbde6bf66 Merge branch 'soapbox-config-file' into 'develop'
SoapboxConfig: use new FileInput

See merge request soapbox-pub/soapbox-fe!1402
2022-05-17 10:44:38 +00:00
Alex Gleason
a939d972c7
Tombstone: improve design 2022-05-16 21:30:30 -05:00
Alex Gleason
673b4a38b9
SoapboxConfig: use new FileInput 2022-05-16 18:33:44 -05:00
Justin
1d9cdb4645 Use 'primary' background on link button 2022-05-16 17:33:21 -04:00
Justin
74058a3a36 Dasherize file name 2022-05-16 14:34:17 -04:00
eecbbb839a Use FormattedList for 'Replying to'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 20:30:42 +02:00
Justin
008b51eef1 Merge branch 'ui-improvements' into 'develop'
Ui improvements

See merge request soapbox-pub/soapbox-fe!1394
2022-05-16 16:27:49 +00:00
Alex Gleason
91ec3b97a2 Merge branch 'sidenav-icon' into 'develop'
SidebarNavigationLink: use counter from icon component

See merge request soapbox-pub/soapbox-fe!1393
2022-05-16 16:21:35 +00:00
Justin
353030cde6 bump icon size 2022-05-16 12:01:13 -04:00
Alex Gleason
d6053f0789 Merge branch 'left-sidebar' into 'develop'
Rearrange SidebarNavigation

See merge request soapbox-pub/soapbox-fe!1372
2022-05-16 15:55:46 +00:00
Justin
857c63f2f5 Add FileInput component 2022-05-16 11:40:32 -04:00
Alex Gleason
5b00d1de13
SidebarNavigationLink: use counter from icon component 2022-05-16 10:32:00 -05:00