retoor bdf04e3023 fix: add delayed layout recalculation after chat message insertion
The commit adds a 200ms setTimeout call to trigger updateLayout() a second time after a new chat message is appended to the DOM. This addresses a layout timing issue where the initial synchronous updateLayout() call may execute before the browser has fully rendered the newly inserted message element, causing incorrect scroll or sizing calculations. The delayed call ensures layout metrics are recalculated after the browser's rendering pipeline has completed for the new content.
2025-02-09 12:07:38 +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
58 MiB
Languages
Python 51.8%
HTML 28%
JavaScript 15.5%
CSS 4.6%