Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Read marker tweaks
Adjust design a bit of the marker.

Debounce read marker processor on focus to delay it a bit.

Signed-off-by: Vincent Petry <[email protected]>
  • Loading branch information
PVince81 committed Mar 8, 2021
commit 4d5ad40f26b1c8749c4bcd3350724f6b8d13d40a
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ the main body of the message as well as a quote.
<div v-if="isLastReadMessage"
v-observe-visibility="lastReadMessageVisibilityChanged">
<div v-if="!isLastMessage" class="new-message-marker">
<span>{{ t('spreed', 'New messages') }}</span>
<span>----- {{ t('spreed', 'Unread messages') }} -----</span>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MessagesList/MessagesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ export default {
},

onWindowFocus() {
this.updateReadMarkerAfterScroll()
this.debounceUpdateReadMarkerAfterScroll()
},
},
}
Expand Down