From e64b4bd38292a7cb3aa9bf6eb7fc4442efbc08e5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 15 Feb 2021 20:27:20 -0700 Subject: [PATCH] Update Timeline component, add inline reports modal --- resources/assets/js/components/Timeline.vue | 644 +++++++++++++------- 1 file changed, 434 insertions(+), 210 deletions(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index a14f4cfb0..c3dc423d0 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -469,221 +469,323 @@ + -
-
Report
-
Unfollow
-
Follow
-
Go to post
-
Embed
- -
Copy Link
-
Moderation Tools
-
Delete
-
Cancel
-
-
- -
-
Unlist from Timelines
-
Remove Content Warning
-
Add Content Warning
-
Cancel
-
-
- -
Email
-
Facebook
-
Mastodon
-
Pinterest
-
Pixelfed
-
Twitter
-
VK
-
Cancel
-
- -
-
- -
-
-
- - + id="ctx-modal" + hide-header + hide-footer + centered + rounded + size="sm" + body-class="list-group-flush p-0 rounded"> +
+ +
View Post
+ +
Share
+
Moderation Tools
+
Report
+
Delete
+
Cancel
-
- - + + +
+

+

Moderation Tools
+
Select one of the following options
+

+
Unlist from Timelines
+
Remove Content Warning
+
Add Content Warning
+ +
Cancel
-
- - + + +
+

+

Moderation Tools
+
Select one of the following options
+

+
Unlist Posts
+
Moderation Log
+
Cancel
-
-
- -

By using this embed, you agree to our Terms of Use

-
- - -
- lightbox media -
-
- -
- - -
- -
-
+ + +
Copy Link
+
Embed
+ +
Cancel
+
+
- - {{replyText.length > config.uploader.max_caption_length ? config.uploader.max_caption_length - replyText.length : replyText.length}}/{{config.uploader.max_caption_length}} - +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +

By using this embed, you agree to our Terms of Use

+
+
+ +

+

Report
+
Select one of the following options
+

+
+
Spam
+
Sensitive Content
+
Abusive or Harmful
+
Other
+ +
Cancel
-
-
- - + + +

+

Report
+
Select one of the following options
+

+
+
Underage Account
+
Copyright Infringement
+
Impersonation
+
Scam or Fraud
+ + + +
Cancel
+
+
+ +
+
{{ this.confirmModalTitle }}
+
+
+ + +
+
+ +
+ lightbox media +
+
+ +
+ + +
+
- - +
+
+ + {{replyText.length > config.uploader.max_caption_length ? config.uploader.max_caption_length - replyText.length : replyText.length}}/{{config.uploader.max_caption_length}} + +
+
+
+ + +
+ + +
-
- + + + +