Commit graph

2262 commits

Author SHA1 Message Date
Alex Gleason
0c7f1628b0
Fix more types in tests 2022-07-06 12:31:11 -05:00
Alex Gleason
590e85ac59
Fix notification test types 2022-07-06 12:24:45 -05:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
Alex Gleason
354395501e
Fix verification tests types 2022-07-06 12:11:39 -05:00
Alex Gleason
9ce9a3f951
patchMe(): use multipart/form-data only optionally 2022-07-05 21:04:42 -05:00
Alex Gleason
82376d4b66
Merge remote-tracking branch 'origin/develop' into emoji-button 2022-07-04 16:52:59 -05:00
Alex Gleason
d168302e72
EditProfile: reenable birthdays with TextInput (for now) 2022-07-04 13:24:55 -05:00
Alex Gleason
388d887583
Upgrade axios to v1.0.0-alpha.1, remove custom toFormData implementation 2022-07-04 12:53:25 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
Alex Gleason
2f78b9ccc6 Merge branch 'remove-unauth-setting' into 'develop'
Remove the guestExperience setting

See merge request soapbox-pub/soapbox-fe!1582
2022-06-30 15:15:23 +00:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
marcin mikołajczak
afc933b3ef Merge branch 'preferences-features' into 'develop'
Don't display 'Always expand posts…' preference if spoilers feature not available

See merge request soapbox-pub/soapbox-fe!1589
2022-06-30 05:46:45 +00:00
dca0abed0f Don't display 'Always expand posts…' preference if spoilers feature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:54:56 +02:00
baaffa2d85 Allow up/down hotkey navigation in posts search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:50:45 +02:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Alex Gleason
2e3718e548
Make /search a non-public route 2022-06-29 10:14:04 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Justin
303ad10730 username -> acct 2022-06-29 11:10:00 -04:00
Justin
5f2e2c7fa4 Add tests for FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
9e6bb5264a Handle error state for carousels 2022-06-29 11:10:00 -04:00
Justin
14a9a2f4eb Update UI around Empty Message 2022-06-29 11:10:00 -04:00
Justin
1f3785c920 Add FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
8039772d05 Extend PlaceholderAvatar component to support "withText" prop 2022-06-29 11:10:00 -04:00
Justin
45147cd546 Fix spacing with PlaceholderStatus component 2022-06-29 11:10:00 -04:00
Alex Gleason
89e0eef60f
Remove the guestExperience setting 2022-06-28 14:43:03 -05:00
Justin
e3d976a2e7 Account for smaller screens 2022-06-28 14:26:59 -04:00
Justin
825f5566a0 Add CSS class with variables 2022-06-28 14:18:15 -04:00
Alex Gleason
b0b418d699
BackgroundShapes: use a CSS linear gradient 2022-06-28 10:47:41 -05:00
Justin
f6a6ad42b5 Fix spacing between hashtags 2022-06-27 14:37:53 -04:00
Justin
97b752c00c Fix link UX issue on linkfooter 2022-06-27 11:52:05 -04:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00:00
Alex Gleason
41e5104fac
Update Tabler to v1.71.0, use new pencil-plus and message-circle-2 icons 2022-06-26 10:41:02 -05:00
Alex Gleason
ed9aa7b9f5
ActionBar: display emoji reaction 2022-06-25 15:54:10 -05:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
Alex Gleason
bb55663830
Merge remote-tracking branch 'origin/develop' into sw-skipwaiting 2022-06-24 15:38:44 -05:00
Alex Gleason
d371ec506d
Chat: fix unread counter 2022-06-24 12:39:37 -05:00
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
9fff48a49f
Alerts: refactor notifications_container 2022-06-23 17:29:10 -05:00
Alex Gleason
421561f731
Alerts: use sm button 2022-06-23 16:24:10 -05:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
38c920e9e5
Snackbar: use 'ghost' theme button 2022-06-23 15:25:33 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
b9fc2c6e58 reducers/scheduled_statuses: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-23 20:45:46 +02:00
marcin mikołajczak
3bee246880 Merge branch 'update' into 'develop'
Update some dependencies, remove `react-router-scroll-4`

See merge request soapbox-pub/soapbox-fe!1557
2022-06-23 07:39:40 +00:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Alex Gleason
18df7c0c4a
Settings: pass an opts object instead of showAlert 2022-06-22 12:54:36 -05:00
Alex Gleason
c1a0b7a6a8
Settings: optionally show alert 2022-06-22 12:17:35 -05:00
b22512fb53 update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:47:20 +02:00
Alex Gleason
c42f60bc77
ChatRoom: autosize height on desktop 2022-06-21 15:58:03 -05:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
e5d6b4fd7b Merge branch 'hoverstatus' into 'develop'
Status reply hover

See merge request soapbox-pub/soapbox-fe!1550
2022-06-21 18:57:22 +00:00
Alex Gleason
572744a695
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 11:01:05 -05:00
Justin
4b25bdf635 Merge branch 'poll-improvements' into 'develop'
Refactor & Redesign Polls in Statuses

See merge request soapbox-pub/soapbox-fe!1533
2022-06-21 11:44:40 +00:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
88f690824c Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 22:44:40 +02:00
7d0247bc27 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:58 +02:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
Justin
b53527673f Fix spacing regression 2022-06-20 13:27:16 -04:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02: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
Alex Gleason
9365aa2cee
ChatWindow: don't focus on setting ref 2022-06-18 16:25:02 -05:00
Alex Gleason
9f0b7db8d8
ChatWindow: fix spacing between elements 2022-06-18 15:50:46 -05:00
0115f064a0 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 20:58:42 +02:00
ee5453c18f Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-18 12:11:03 +02:00
91a828555a Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 12:10:50 +02:00
ee55241792 Fix type errors, use () => RootState for getState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:51:02 +02:00
Alex Gleason
d2cfe93b6a
Chats: rename all files with dashes instead of underscores 2022-06-17 17:40:43 -05:00
Alex Gleason
5dc4980875
ChatMessageList: cleanup 2022-06-17 17:37:09 -05:00
Alex Gleason
a632bb99f9
ChatMessageList: fix pagination 2022-06-17 17:33:25 -05:00
Alex Gleason
bf01c42397
ChatMessageList: fix initial scroll position 2022-06-17 16:50:18 -05:00
Alex Gleason
a7e5281098
ChatMessageList: convert to TSX (sorta) 2022-06-17 15:37:54 -05:00
Alex Gleason
6459096b58
ChatWindow: convert to TSX 2022-06-17 14:39:53 -05:00
Alex Gleason
c35564c62b
ChatBox: convert to TSX 2022-06-17 13:45:52 -05:00
Alex Gleason
46c1185dad
Create generic UploadProgress component, have composer use it 2022-06-17 13:42:21 -05:00
Alex Gleason
fe9984dd9c
ChatRoom: convert to TSX 2022-06-17 13:05:37 -05:00
Justin
20e0692012 Merge branch 'lodash-imports' into 'develop'
Specifically import the single lodash function

See merge request soapbox-pub/soapbox-fe!1540
2022-06-17 13:47:23 +00:00
Justin
3d76853e93 Lint fix 2022-06-17 08:14:34 -04:00
Justin
16c06e1d60 Temporarily disable for non-PLEROMA/MASTODON 2022-06-17 07:47:21 -04:00
Justin
c16c363106 Remove unused translations 2022-06-17 07:44:34 -04:00
Justin
5fa875ef64 Add tests 2022-06-17 07:44:34 -04:00
Justin
0e1302587a Improve subscription button on header 2022-06-17 07:44:34 -04: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
4687f9b79b Lint 2022-06-16 11:47:57 -04:00
Justin
7a7fda0c08 Improve PollPreview 2022-06-16 11:08:57 -04:00
Justin
06888b8ebc Undo some accidental changes 2022-06-16 09:08:58 -04:00
Justin
fb9796b0c4 Redesign Poll within Status 2022-06-16 09:08:58 -04:00
cfacc23f5c Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-15 22:11:36 +02:00
Alex Gleason
e03a22f88d
guestExperience: add alternate user routes 2022-06-15 10:50:45 -05:00
Justin
97b282e4e4 Fix selecting emojis in Poll 2022-06-14 14:19:46 -04:00
Justin
e39c8d6713 Add danger-link button 2022-06-14 14:17:35 -04:00
Justin
fb94cb8cd1 Get rid of PollFormContainer 2022-06-14 14:07:43 -04:00
Justin
fe9ce637e8 Correctly autofocus on poll input 2022-06-14 13:52:08 -04:00
Justin
1e56c89f59 Handle custom error messages from API 2022-06-13 11:36:06 -04: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
5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +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
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
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
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
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
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
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
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
Alex Gleason
1a7a1cc802
QuotedStatus: add useState type 2022-06-08 10:56:27 -05:00