diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 570d216ab..ac9f20bce 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -599,7 +599,7 @@ class Helpers $reply_to = self::getReplyTo($activity); $ts = self::pluckval($activity['published']); $scope = self::getScope($activity, $url); - $commentsDisabled = $activity['commentsEnabled'] ?? false; + $commentsDisabled = isset($activity['commentsEnabled']) ? (bool)$activity['commentsEnabled'] == false : false; $cw = self::getSensitive($activity, $url); if ($profile->unlisted) { diff --git a/resources/assets/js/components/StoryCompose.vue b/resources/assets/js/components/StoryCompose.vue index ba6a35f70..a23427ca6 100644 --- a/resources/assets/js/components/StoryCompose.vue +++ b/resources/assets/js/components/StoryCompose.vue @@ -1,154 +1,167 @@ - - + + + diff --git a/resources/assets/js/components/StoryTimelineComponent.vue b/resources/assets/js/components/StoryTimelineComponent.vue index 659939505..721b8f336 100644 --- a/resources/assets/js/components/StoryTimelineComponent.vue +++ b/resources/assets/js/components/StoryTimelineComponent.vue @@ -11,7 +11,8 @@ v-for="(story, index) in stories" class="px-3 pt-3 text-center cursor-pointer" :class="{ seen: story.seen }" - @click="showStory(index)"> + @click="showStory(index)" + > {{story.username}} @@ -118,6 +121,18 @@ background: #fff; padding: 3px; } + + &.new { + background: none; + width: 70px; + height: 70px; + border: dashed 4px #d92d77; + + img { + width: 56px; + height: 56px; + } + } } .scrolly { diff --git a/resources/assets/js/components/StoryViewer.vue b/resources/assets/js/components/StoryViewer.vue index 9c7144d75..908e358f1 100644 --- a/resources/assets/js/components/StoryViewer.vue +++ b/resources/assets/js/components/StoryViewer.vue @@ -1,129 +1,987 @@ - \ No newline at end of file +