Repository navigation
This release makes live updates dependable in the first second after a page opens, puts the chat on the connection the board already holds, and trims a few requests and queries. Nothing breaks API clients.
Features
Chat and live updates
- A chat message sent right after opening the panel is shown at once; before, it was stored but did not appear until the panel was reopened
- The chat panel shows your own join notice, and catches up on anything said while it was connecting
- A board change made just after a page load or a reconnect is no longer missed: the board reads itself once more when its live connection is confirmed
- The send button stays disabled until the chat can actually receive the answer
Architecture
- One socket per page. The board and the chat share a single connection, so opening the chat panel costs no second socket, sign-in or broker session
- A subscription counts as live only when the broker confirms it. RabbitMQ takes up to a second to open one and drops what is published before then, so the client acts on the broker's receipt and not on having asked
- Fewer requests and queries. No avatar is requested for a board member who has none, a card's next move is numbered with one query, a board's task deletes go out in batches, and the fonts are served from the hashed bundle with long-lived caching
- The API image is layered. Dependencies, the loader and the application code sit in separate layers, so a code change pulls only the last one
- The chat is covered end to end. A Cypress spec sends board and direct messages between two accounts on the running stack
Operations
- CI: a new push to a pull request cancels its superseded runs in six more workflows
- Local stack: Grafana gets the memory version 13.3.1 needs to start
Images
ghcr.io/dominiksmolinski3/kanbanproject-app:2.1.0
ghcr.io/dominiksmolinski3/kanbanproject-web:2.1.0
ghcr.io/dominiksmolinski3/kanbanproject-grafana:2.1.0
All three carry the same tag and must be deployed together.
Full history: 11 commits since v2.0.0.