diff --git a/public/style/plugin.css b/public/style/plugin.css index 39f4bb0..308fbfd 100644 --- a/public/style/plugin.css +++ b/public/style/plugin.css @@ -916,7 +916,7 @@ } #nb-app .nb-sidebar .thread-view .thread-row .footer > span .icon { height: 14px; - vertical-align: top; + vertical-align: bottom; } #nb-app-wrapper .thread-overflow-wrapper .tooltip-arrow { diff --git a/src/app.js b/src/app.js index 537cea2..7b28153 100644 --- a/src/app.js +++ b/src/app.js @@ -487,7 +487,9 @@ function embedNbApp() { let filterUpvotes = this.filter.upvotes if (filterUpvotes.length > 0) { items = items.filter(item => { - if ( (filterUpvotes.includes('anyone') && item.hasUpvotes()) || (this.currentConfigs.isExpClass && item.hasUserPost(this.user.id))) { + if ( (filterUpvotes.includes('anyone') && item.hasUpvotes()) + || (this.currentConfigs.isExpClass && item.hasUserPost(this.user.id)) + || (this.currentConfigs.isExpClass && item.hasReplyRequests())) { return true } if (filterUpvotes.includes('me') && item.hasMyUpvotes()) { diff --git a/src/components/editor/EditorView.vue b/src/components/editor/EditorView.vue index dae3eaa..faa5039 100644 --- a/src/components/editor/EditorView.vue +++ b/src/components/editor/EditorView.vue @@ -46,7 +46,9 @@
- + +
+
Max. # of threads
-
+
+ +
+
{{currentConfigs.isExpClass ? `Looking for Classmates' Perspectives` : 'Upvotes'}}
+
+
+ type="checkbox" + id="anyone-upvotes" + value="anyone" + v-model="filterUpvotes" + @change="onFilterChange('upvotes')"> + +
+
+ +
+
Users tagged
@@ -163,31 +188,7 @@
-
{{currentConfigs.isExpClass ? 'Discussion comments' : 'Upvotes'}}
-
-
- - -
-
- - -
-
+
Others
diff --git a/src/components/highlights/NbHighlight.vue b/src/components/highlights/NbHighlight.vue index 90d214c..2d7ecfa 100644 --- a/src/components/highlights/NbHighlight.vue +++ b/src/components/highlights/NbHighlight.vue @@ -190,7 +190,7 @@ export default { }, style: function () { if (this.isHidden) { - return "fill: none; stroke: rgb(255 204 1 / 75%); stroke-dasharray: 3;" + return "fill: none; stroke: rgb(255 204 1 / 95%); stroke-dasharray: 3;" } if (!this.thread) { return 'fill: rgb(231, 76, 60); fill-opacity: 0.3; cursor: pointer;' diff --git a/src/components/thread/ThreadComment.vue b/src/components/thread/ThreadComment.vue index 39d9ab2..9db0d7d 100644 --- a/src/components/thread/ThreadComment.vue +++ b/src/components/thread/ThreadComment.vue @@ -104,11 +104,11 @@  ·  - - - {{ comment.upvoteCount }} + 👁️‍🗨️ + + {{ comment.upvoteCount }}  ·