Commit graph

3653 commits

Author SHA1 Message Date
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
3b0543eb66
reducers/status-hover-card: add tests 2022-06-21 13:39:47 -05:00
Alex Gleason
145c6efa4e
MockAdapter: add types 2022-06-21 13:14:45 -05:00
Alex Gleason
55892e0a82
Poll: convert vote to string 2022-06-21 11:25:20 -05: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
Justin
4ff54095fd Add help text for selecting multiple 2022-06-21 07:35:19 -04:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
Alex Gleason
729cf6f6f6
ProfileHoverCard: z-[100] no longer necessary 2022-06-20 17:37:56 -05:00
Alex Gleason
3e531b6827
Disallow status card nested hovering 2022-06-20 17:37:20 -05:00
Alex Gleason
01e643e4f6
StatusHoverCard: ahh, I understand the z-index issue 2022-06-20 17:28:59 -05:00
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
3bbc4cffe8
actions/status-hover-card: convert to TypeScript 2022-06-20 16:55:08 -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
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
Alex Gleason
ff903e0d2b Merge branch 'sentry-fixes' into 'develop'
Sentry fixes

See merge request soapbox-pub/soapbox-fe!1548
2022-06-20 18:19:56 +00:00
Justin
b53527673f Fix spacing regression 2022-06-20 13:27:16 -04:00
Alex Gleason
2acd0abab0
useSystemTheme: wrap addEventListener in try-catch for old iOS Safari 2022-06-20 12:03:33 -05:00
Alex Gleason
01b46e249b
actions/alerts: access properties more carefully 2022-06-20 11:52:36 -05:00
Alex Gleason
6530fcf37b
actions/auth: don't call deprecated DELETE /api/sign_out 2022-06-20 11:27:40 -05:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
877cae1bf4 Fix deleteStatus tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 11:19:09 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02:00
ewwwwwwww
1d79b59bbc fix z-index 2022-06-19 15:50:51 -07:00
f3b0230480 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 22:54:20 +02:00
4719cf6b5b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 21:26:57 +02:00
86511dc26b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:54:02 +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
fe636bc4e4 fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 13:27:05 +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
47b67df323 Use RootState in AppDispatch type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:34:38 +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
ewwwwwwww
ba086918b2 fix reply hover oopsie 2022-06-17 13:24:52 -07:00
ewwwwwwww
05ccbb9e01 fix hover reply locales 2022-06-17 12:48:45 -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
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
2f4f2c02b1 Dark mode support for Polls 2022-06-16 14:22:00 -04:00
Justin
4687f9b79b Lint 2022-06-16 11:47:57 -04:00
Justin
dcde237fc9 Add test for handling the Refresh button 2022-06-16 11:40:58 -04:00
Justin
7a7fda0c08 Improve PollPreview 2022-06-16 11:08:57 -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
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
97b4b9cfd4 Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-15 16:24:30 +02: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
3a09a91dd7 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-13 23:23:49 +02:00
Justin
316818736e Merge branch 'handle-error-messages-from-api' into 'develop'
Handle custom error messages from API

See merge request soapbox-pub/soapbox-fe!1525
2022-06-13 15:45:37 +00:00
Justin
1e56c89f59 Handle custom error messages from API 2022-06-13 11:36:06 -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
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
921d7c1935 Change confirmation modal for edited posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-11 23:36:40 +02:00
marcin mikołajczak
615ff427e4 Merge branch 'ts' into 'develop'
TypeScript: ChatPanes, CryptoDonate, utils/ethereum

See merge request soapbox-pub/soapbox-fe!1521
2022-06-10 21:23:36 +00:00
f29d8a11c4 fix instance test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 20:49:36 +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
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