Commit graph

231 commits

Author SHA1 Message Date
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
c0bee9be3c Display quoted posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 17:55:03 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
bf3272d113 Replace link to /reblogs, require authentication
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 20:55:06 +01:00
2d3784eb88 Minor changes, port 'Generalize “press back to close modal” to any modal and to public pages' from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 17:45:10 +01:00
46ca470f01 Turn some pages into modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 14:43:58 +01:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
marcin mikołajczak
9c6f805499 Remote interactions modal 2022-01-02 20:43:53 +00:00
Alex Gleason
1b7c0adc58 Merge branch 'replace-icons' into 'develop'
Replace LineAwesome with Tabler icons in some places

See merge request soapbox-pub/soapbox-fe!915
2021-12-14 19:04:24 +00:00
68e05c803b Replace LineAwesome with Tabler Icons in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 19:48:18 +01:00
f52b69ebbb Don't show menu items requiring auth when not authenticated for detailed statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-11 21:51:10 +01:00
Alex Gleason
1714ac03d2
Status: display a placeholder Card on own links, poll for updated card 2021-11-15 19:10:38 -06:00
d25354013a Use .destructive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-08 17:21:33 +01:00
287bd6c7f5 Use warning color for delete actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-07 10:24:09 +01:00
Alex Gleason
0e95a64027
Card: fix empty card icon 2021-11-04 14:57:52 -05:00
bdb61c14e3 Add icons for status action bars
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 19:16:04 +01:00
Alex Gleason
4464a7f19e
Swap out a few more icons for svg icons 2021-10-14 14:14:13 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00
Alex Gleason
ecdef1d95b
Placeholder: render placeholder parent status in thread 2021-10-12 20:03:55 -05:00
Alex Gleason
891a65b66f
Favourites: display favourites for Mastodon (if exposableReactions is manually toggled) 2021-10-07 18:21:28 -05:00
Alex Gleason
5807b8f823
Thread: display status connectors (basic threading) 2021-10-06 17:50:43 -05:00
Alex Gleason
59e7c6538e
Audio: ingest attachment metadata 2021-10-05 00:44:49 -05:00
Alex Gleason
0a4ffc3624
Card: fix icons in embedded video player 2021-10-02 15:02:07 -05:00
Alex Gleason
d85b6742fa
Use SVG icons in more places 2021-09-27 23:47:43 -05:00
Alex Gleason
5ac5ef2e38
StatusActionBar: update "share" icon to Feather svg 2021-09-22 13:14:31 -05:00
Alex Gleason
f4be2e87a2
Status: use svg icon for h-menu 2021-09-21 13:52:45 -05:00
Alex Gleason
ce97520b11
DetailedStatus: use svg icons 2021-09-21 13:31:40 -05:00
Alex Gleason
074604a1c9
Put Bookmarks and Lists behind feature flags 2021-09-18 15:03:38 -05:00
Alex Gleason
33aaffa22d
Use immutable.js consistently 2021-09-12 11:25:44 -05:00
660661451c Conditionally link to emoji reaction list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:44:12 +02:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
e5e15fc3f0
Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
e5184642fe Put poll options behind content warnings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:14:33 +02:00
5ee92b47ce Keyboard-accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 13:58:22 +02:00
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02:00
Alex Gleason
58c142306d
Rename occurrences of self variable to ownAccount 2021-07-15 11:25:32 -05:00
Alex Gleason
ffbdfb5712
Statuses: refactor visibility of moderator actions 2021-07-15 11:20:15 -05:00
Alex Gleason
92794847bc
Hide AdminFE from non-admin staff users 2021-07-13 10:41:31 -05:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
bbeecddc37
Greentext support 2021-06-30 21:39:27 -05:00
78c55e8798 status.favourite: like
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:56:23 +02:00
f8deb13345 status.favourite: favorite
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:50:27 +02:00
998e129072 Reaction labels
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:33:42 +02:00
Alex Gleason
dedac70e58
Fix display of multiple rich media items 2021-06-16 15:20:14 -05:00
Alex Gleason
4d22bdfe28
Fix video meta dimensions 2021-05-17 17:02:23 -05:00
Alex Gleason
60f4385fe6
Card: ignore dimensions for links 2021-05-13 15:44:39 -05:00
Alex Gleason
93e866c7ad
Always display embed description, even in timelines 2021-05-12 12:13:10 -05:00
Alex Gleason
87fd056d57
Stack link previews on mobile 2021-05-11 22:35:02 -05:00
Alex Gleason
b2fde53adc
Improve link previews 2021-05-11 18:15:39 -05:00
Alex Gleason
c6e6c07f49
Rich media improvements, fixes #633 2021-05-11 16:54:12 -05:00
Alex Gleason
55902f1d80
Emoji reacts: use hover or click depending on isUserTouching, fixes #629 2021-05-02 15:55:10 -05:00
Alex Gleason
ebef1ece7a
Conservative rich media parsing 2021-03-06 23:38:26 -06:00
Sean King
9309ef4893
Fix merge conflicts 2021-01-18 20:09:35 -07:00
Sean King
39b50e8fe1
Add moderator button for marking posts sensitive or not sensitive 2021-01-18 19:59:07 -07:00
Alex Gleason
498471958b
Use short names for admin quick actions 2021-01-18 18:25:36 -06:00
Alex Gleason
c80797ccf8
Admin: delete status directly from menu 2021-01-18 15:57:20 -06:00
Alex Gleason
926335b268
Add "deactivate" and "delete" user modals to every status and account profile 2021-01-18 15:27:35 -06:00
Alex Gleason
e4344c9561
Let allowedEmoji be customizable by the admin, fixes #538 2020-12-24 18:17:53 -06:00
Alex Gleason
f587369af0
RemoteTimeline: click favicon to visit remote timeline 2020-12-24 16:57:53 -06:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
3d81dd2892
DetailedStatus: fix link on display name 2020-09-27 23:53:43 -05:00
Alex Gleason
72659f27c1
Hovercard: attach to each element for better positioning 2020-09-11 12:17:32 -05:00
Alex Gleason
24bf880e0b
Hovercard: refactor detailed status 2020-09-11 11:42:02 -05:00
Alex Gleason
4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Alex Gleason
5f25ddb27c Merge branch 'bookmark_detailed_status' into 'develop'
Add bookmark button to detailed status action bar view, fixes #366

Closes #366

See merge request soapbox-pub/soapbox-fe!196
2020-09-03 17:57:12 +00:00
Alex Gleason
865d251ae0
Favicons: empty alt text 2020-09-03 00:26:50 -05:00
Alex Gleason
4b1606e8dd
Favicon: refactor, show domain in alt/title 2020-09-02 22:38:04 -05:00
Alex Gleason
a98fadb4d4
Show remote favicons on statuses, #258 2020-09-02 21:40:26 -05:00
Sean King
f9d7da0d51
Add bookmark button to detailed status action bar view 2020-08-30 23:09:02 -06:00
Alex Gleason
9afac986fb
Refactor oembed card to work with videos on Pleroma 2020-08-15 19:40:08 -05:00
Mary Kate
5349045e51 Revert "only render emoji selector in the dom when needed"
This reverts commit 769a512445.
2020-08-10 15:06:39 -05:00
Mary Kate
42a7a61ce7 border radius fixes 2020-08-10 15:05:24 -05:00
Mary Kate
769a512445 only render emoji selector in the dom when needed 2020-08-05 15:53:30 -05:00
Alex Gleason
eeaf9f0b8e
HoverCard: Do the JS way on DetailedStatus too 2020-08-03 00:40:13 -05:00
Alex Gleason
2c010768e9 Merge branch 'profile-hover-cards' into 'develop'
Profile hover cards

See merge request soapbox-pub/soapbox-fe!114
2020-08-03 02:27:14 +00:00
Alex Gleason
690d7154c4
HoverCard: Fix JS console errors 2020-08-02 21:05:21 -05:00
Alex Gleason
a7463dd3fc
HoverCard: Add floating NavLinks for clickthrough 2020-08-02 18:53:47 -05:00
Alex Gleason
1f5898b67d
Bring HoverCard out of NavLink 2020-08-02 18:39:32 -05:00
Sean King
84b4681b50 Fix detailed status 2020-07-29 11:51:29 -06:00
Mary Kate
d76f4d422e update detail status page and mobile settings for porfile hover card 2020-07-28 20:59:14 -05:00
Bárbara de Castro Fernandes
563e4e5bab Show profile preview on hover 2020-07-28 14:15:57 -05:00
Mary Kate
a3201605b4 add uploads to polls 2020-07-28 14:15:15 -05:00
Alex Gleason
06c4f88802
DetailedStatus: Small reblog tweaks 2020-07-08 21:42:34 -05:00
Sean King
f99db09c8d Change the repost to be alongside emoji reacts 2020-07-06 15:35:27 -06:00
Sean King
64477f3b7f Remove the applicationLink 2020-07-05 22:27:14 -06:00
Alex Gleason
853dad032c
componentWillReceiveProps fixes, fixes #184, #231, !80 2020-07-04 19:14:12 -05:00
Sean King
6d9a2fab27 Update detailed_status.js 2020-07-03 00:06:26 +00:00
Alex Gleason
4e94c5d2ca
Merge branch 'develop' into audio-player 2020-07-02 16:32:50 -05:00
Sean King
01d042f80d
Update of work on audio player 2020-07-02 16:31:43 -05:00
crockwave
81f9a1da3a Final commit on replacing componentWillReceiveProps deprecated method 2020-06-24 16:02:14 -05:00
Alex Gleason
aa0a4e49be
Disable "Embed" button for now, fixes #192 2020-06-12 18:45:17 -05:00
Alex Gleason
af8d35469c
Add many more translatable fields 2020-06-06 14:57:05 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00