Optimize chat perf in long run
Previously the chat view would bloat and bloat over time. Added simple cutting to reduce visible chat messages to the newest 50 when you scroll all the way to the bottom, kinda like loading new on timelines cuts the older stuff out.
Merge request reports
Activity
241 241 this.fetchChat({ maxId: this.currentChatMessageService.minId }) 242 242 } else if (this.bottomedOut(JUMP_TO_BOTTOM_BUTTON_VISIBILITY_OFFSET)) { 243 243 this.jumpToBottomButtonVisible = false 244 this.$store.dispatch('cullOlderMessages', this.currentChatMessageService.chatId) there's not even a good way to do go back and forth in the UI. it's really a use-case that can't be handled very well and I don't know if should be considered. Simplest alternative is having the culling happen when new messages are added and you're scrolled to the bottom, but that also breaks the use-case of going back and forth between checking old messages and looking at and replying to recent ones (which seems like the likely use for going back and forth)
easiest way I can think of to go back and forth is using ctrl-f to search above and end key.
I'm pretty much bringing this usecase up because it's very annoying in skype trying to find some very old message, forward/copy-paste it, have screen scroll down and cull older messages and then having to scroll all the way back again.
Maybe it's not a problem at all, and just don't jump to bottom on new messages including user's posting if scroll is beyond certain limit
changed this line in version 2 of the diff
mentioned in commit 589ab651