e4310345dbe2a8b29353805064eb534412c1c33b
Replace the previous approach that relied on detecting visibility of the 10th message element with a new mechanism that loads older messages when the user scrolls past the halfway point of the scrollable content. Introduce `isScrolledPastHalf()` helper to compute scroll position relative to total scrollable height, and add `isLoadingExtra` guard to prevent concurrent requests. Remove the now-unused `offsetMessage` element selection and `dataset.seen` tracking logic.
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
Languages
Python
51.8%
HTML
28%
JavaScript
15.5%
CSS
4.6%