Commit graph

246 commits

Author SHA1 Message Date
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
4b1be99639 this should be a HStack, actually
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-23 18:39:34 +02:00
marcin mikołajczak
ffba24bc94 Minor styles improvements
Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-15 15:02:08 +02:00
marcin mikołajczak
67f5f5fb8b Merge branch 'cleanup' into 'develop'
Use Array.includes instead of indexOf

See merge request soapbox-pub/soapbox-fe!1727
2022-08-12 22:07:19 +00:00
541521ae6f Restore hotkey navigataion for statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:21:44 +02:00
12eeffecc4 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 22:59:26 +02:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
Alex Gleason
ca4821abf7
Nuke ActionBar component 2022-08-09 18:40:33 -05:00
Alex Gleason
82d717d8ce
Move getActualStatus logic to utils 2022-08-08 22:28:01 -05:00
Alex Gleason
748b48f84c
DetailedStatus: clean up unused props 2022-08-08 20:22:15 -05:00
Alex Gleason
3ced53a948
DetailedStatus: convert to React.FC 2022-08-08 20:13:43 -05:00
Alex Gleason
3971d724d3
Status Card: shrink link text size 2022-08-03 11:15:30 -05:00
Alex Gleason
0bffe4a227
Refactor status Card description with UI components 2022-08-03 11:05:57 -05:00
Alex Gleason
19ffcd2233
Merge remote-tracking branch 'origin/develop' into ads 2022-08-03 10:51:07 -05:00
Alex Gleason
1c78a2ea46
Refactor status Card description 2022-08-03 10:48:50 -05:00
Alex Gleason
77ad89bc48
Fix height of horizontal link cards 2022-08-03 10:33:35 -05:00
Alex Gleason
ad7ec8b1a6
Make ads horizontal cards 2022-08-02 20:14:28 -05:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
a3afeb6c54 Fix: When I visit a link to a status, the user's avatar is focused
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:47:21 +02:00
c43ad4fe88 Add cursor-pointer to emoji reactions in StatusInteractionBar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 12:35:41 +02:00
Alex Gleason
16c08b23a8
Fix improper import of Tabler icons 2022-07-09 11:22:38 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
82376d4b66
Merge remote-tracking branch 'origin/develop' into emoji-button 2022-07-04 16:52:59 -05: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
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
4719cf6b5b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 21:26:57 +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
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
Alex Gleason
1a7a1cc802
QuotedStatus: add useState type 2022-06-08 10:56:27 -05: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
1e8e1fd071
QuotedStatus: use thumbs in composer 2022-06-07 13:59:08 -05: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
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
Alex Gleason
71362a922a
QuotedStatus: convert to FC 2022-06-04 15:30:15 -05:00
Alex Gleason
335851b577
QuotedStatus: always display full media gallery 2022-05-31 13:21:07 -05:00
Alex Gleason
fb9acf4d64
QuotedStatus: use StatusMedia component 2022-05-31 13:11:50 -05:00
Alex Gleason
e1a0759c3a
DetailedStatus: clean up unused media methods 2022-05-31 12:52:06 -05:00
Alex Gleason
d6a7e38e56
DetailedStatus: use StatusMedia component 2022-05-31 12:49:24 -05:00
7a35aa727b import from 'soapbox/…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +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
Justin
03e97edff7 Improve Quote Status visuals 2022-05-26 15:19:44 -04: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
Justin
990214d02c Convert 'AttachmentThumbs' to TSX 2022-05-17 10:03:37 -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
Alex Gleason
b80571437a
Contexts: component TypeScript fixes 2022-05-13 15:02:20 -05:00
Alex Gleason
9f89c31bd3
Create a logged-out call-to-action on threads 2022-05-11 14:35:56 -05:00
Alex Gleason
44c234e3db
Fix external video embed height 2022-05-06 12:11:59 -05:00
marcin mikołajczak
8f09fcab2e Merge branch 'edit-posts' into 'develop'
Allow editing posts on Mastodon

See merge request soapbox-pub/soapbox-fe!1271
2022-05-04 18:57:34 +00:00
Alex Gleason
47d1a8e5d6
ActionBar: fix repost active state, fixes #936 2022-05-04 12:08:17 -05:00
Alex Gleason
851c28a3a8
EmbedModal: fix styles 2022-05-03 16:23:26 -05:00
Alex Gleason
0d0d12489e
Merge remote-tracking branch 'origin/develop' into next-embeds 2022-05-03 15:43:55 -05:00
f6f8ef99d9 Merge remote-tracking branch 'soapbox/develop' into edit-posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:29:38 +02:00
023b327751 Add break-words to quoted status content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-01 17:17:44 +02:00
Alex Gleason
1588f9c94a
QuotedStatus: hide relationship 2022-04-29 22:26:44 -05:00
d487e34548 Merge remote-tracking branch 'soapbox/next' into edit-posts 2022-04-29 23:07:34 +02:00
Alex Gleason
12a99b3635
Card: display Blurhash behind link preview cards
8e96510b25
2022-04-29 09:46:33 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
190829fd09
StatusInteractionBar: fix emoji react styles 2022-04-25 17:02:37 -05:00
Alex Gleason
ab5b8f747e
Make handleShare use status.uri instead of status.url 2022-04-20 10:54:12 -05:00
Justin
76a04ccbb9 Improve Pending Status design 2022-04-18 15:08:41 -04:00
Alex Gleason
704524ea34
QuotedStatus: stopPropogation 2022-04-16 19:46:55 -05:00
Alex Gleason
53a54bcc96
Convert Status Card to TSX+FC, trim obscenely long titles 2022-04-16 12:48:05 -05:00
Alex Gleason
bf8de20e0d
Prevent clicking stuff in statuses from expanding the status 2022-04-16 11:53:00 -05:00
Alex Gleason
21d7cafe26 Merge branch 'next-emoji-reacts' into 'next'
Next: Emoji reacts pt 2

See merge request soapbox-pub/soapbox-fe!1204
2022-04-12 17:22:55 +00:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
ba5c3b224c
EmojiButtonWrapper: handle click 2022-04-10 20:41:00 -05:00
Alex Gleason
0912700d15
Create preliminary EmojiButtonWrapper component 2022-04-10 20:31:24 -05:00
Alex Gleason
37a8bc7083
WIP: embeds 2022-04-10 17:52:42 -05:00
Alex Gleason
ae48c6e619
Fix action bar emoji labels 2022-04-10 16:07:23 -05:00
Alex Gleason
b3d510911c
StatusInteractionBar: convert to tsx and React.FC 2022-04-04 16:17:02 -05:00
Alex Gleason
d976811cf1
Convert DetailedStatus to tsx, pretty much 2022-04-04 15:55:28 -05:00
Alex Gleason
1a4401ce75
Convert ThreadStatus to tsx 2022-04-04 15:20:17 -05:00
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05:00
Alex Gleason
fdb44d615d
Convert features/status/index to typescript (pretty much) 2022-04-04 14:17:24 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
99b89d2230
external_video_id hotfix 2022-03-30 14:01:05 -05:00
Alex Gleason
ebc2bf96ac
external_video_id: render card html instead of hardcoding the provider 2022-03-30 11:03:35 -05:00
6d4d96528c quote posts?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 20:12:49 +02:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
bb6e904642 Use gavel icon from Tabler icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 13:32:54 +01:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
c672f7a6ae Don't show 'Bookmark' item menu if not authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-09 23:11:45 +01:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
ae7f2f86a0 Add quoted status tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 17:26:39 +01:00
8277d78f4c Quote posts: Shift+Click for normal repost
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:00:30 +01:00
af9b69271b change reblogIcon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 18:47:10 +01:00
22a70a7595 Quote posts: Compose box improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 18:18:10 +01:00
fc0a5aea9c Normalization, process quotes in importFetchedStatuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 16:52:15 +01:00
c5e34de79a Do not use reblogIcon before initialization
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 00:18:20 +01:00
289cdcc776 Use dropdown for reposts, do not display cards for quote posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 22:15:25 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00