Commit graph

4360 commits

Author SHA1 Message Date
Justin
e785fd2c63 Merge branch 'add-accounts-action-tests' into 'develop'
Add more tests for accounts action

See merge request soapbox-pub/soapbox-fe!1565
2022-06-27 12:28:50 +00:00
marcin mikołajczak
c203be1515 Merge branch 'crypto-limit-compare' into 'develop'
Fix: '0' Showing above instance name on the home page

Closes #1002

See merge request soapbox-pub/soapbox-fe!1575
2022-06-26 20:08:41 +00:00
64c37d9646 Fix: '0' Showing above instance name on the home page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-26 21:46:39 +02: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
8161009d5f
StatusContent: memoization performance enhancements 2022-06-25 12:00:00 -05:00
Alex Gleason
7e365897bb
Polls: handle long option text better with rounded-3xl 2022-06-25 11:42:32 -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
4004163fac actions/streaming: comment out unused import 2022-06-24 20:36:06 +00:00
Alex Gleason
d371ec506d
Chat: fix unread counter 2022-06-24 12:39:37 -05:00
Alex Gleason
d5ffce844d
ServiceWorker: display loading screen while updating 2022-06-24 11:52:57 -05:00
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
Alex Gleason
82122ffe45
Snackbar: refactor to use opts object 2022-06-23 17:54:38 -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
Alex Gleason
a8d4a08e15 Ignore streaming deletion events 2022-06-23 19:58:38 +00:00
Justin
86d6c519f0 Add tests for authorizeFollowRequest() action 2022-06-23 15:37:21 -04:00
Justin
7fc43f524a Add tests for expandFollowRequests() action 2022-06-23 15:31:32 -04:00
Justin
6775beba93 Add tests for fetchFollowRequests() action 2022-06-23 15:24:31 -04:00
Justin
ba595259c1 Add tests for fetchRelationships() action 2022-06-23 15:17:36 -04:00
Justin
2cc38554fa Add tests for expandFollowing() action 2022-06-23 15:08:53 -04:00
Justin
04a2d6be99 Add tests for fetchFollowing() action 2022-06-23 15:03:48 -04:00
Alex Gleason
638fc35f77
Merge remote-tracking branch 'origin/develop' into sw-skipwaiting 2022-06-23 14:01:22 -05:00
Justin
c2620b017b Add tests for expandFollowers() action 2022-06-23 14:59:37 -04:00
Justin
761d524fdb Add tests for fetchFollowers() action 2022-06-23 14:47:43 -04:00
b9fc2c6e58 reducers/scheduled_statuses: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-23 20:45:46 +02:00
Justin
931f2e16d8 Add tests for removeFromFollowers() action 2022-06-23 14:37:55 -04:00
Justin
11f8bf979a Improve RelativeTimestamp theme 2022-06-23 14:22:25 -04:00
Justin
0a9e1c808b Merge branch 'max-video-duration' into 'develop'
Implement 'video_duration_limit' from API

See merge request soapbox-pub/soapbox-fe!1561
2022-06-23 13:09:46 +00: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
Alex Gleason
df0fc3c1e1
RelativeTimestamp: make text muted 2022-06-22 16:34:57 -05:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Justin
d56739727e Implement 'video_duration_limit' from API 2022-06-22 15:40:26 -04: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
01d9f918ce Remove react-router-scroll-4
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:49:51 +02:00
b22512fb53 update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:47:20 +02:00
Alex Gleason
017ee90dfd Merge branch 'muted' into 'develop'
CSS: remove .muted styles

See merge request soapbox-pub/soapbox-fe!1556
2022-06-22 02:21:48 +00:00
Alex Gleason
a731a865f9
CSS: remove .muted styles 2022-06-21 21:08:20 -05:00
marcin mikołajczak
7a0dff1f33 Enable post editing on Pleroma 2022-06-21 22:43:51 +00: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
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