retoor 0ee697be84 feat: conditionally scroll to last message only when it is visible
Add `isElementVisible` helper to check if an element is within the viewport using `getBoundingClientRect`. Modify `updateLayout` to accept a `doScrollDown` parameter that controls whether the last message is scrolled into view. In the message receive handler, compute `doScrollDownBecauseLastMessageIsVisible` by checking if the last message exists and is visible, then pass it to `updateLayout` to prevent automatic scrolling when the user has scrolled up.
2025-02-17 09:51:26 +00:00

Snek

Slack like chat application with focus on performance

This is a slack like chat application with focus on performance. Other slack-like applications became too heavy. My RocketChat just had an 'frontend' crash. Just an error from the system itself like it's the most normal thing in the world.

Running

At this point, there's nothing officially running but what you can do:

  • Install the project: make install
  • Run part of the project: ./venv/bin/python -m snek.app
  • Run other part of the project: ./venv/bin/python -m snek.models
S
Description
Chat for snek people made by snek people.
Readme
29 MiB
Languages
Python 60.6%
HTML 19%
JavaScript 17.1%
CSS 3.2%