Backend: - fix(chat): ChatGateway stored the per-socket caller only after the async token check resolved, so a client that sent chat:join immediately on open raced ahead and got 4001. The caller is now stored as a promise that the message handlers await. Verified with a two-client send/receive E2E test against local Postgres. Client (client/app/): - Wahl screen gains a "Ergebnis" tab backed by GET /wahl/guest/results (PENDING / ASSIGNED with workshop + wish rank / UNASSIGNED). - Chat channel view loads history over REST, then connects the /chat WebSocket (chat_socket.dart): live chat:message stream + a compose bar that sends chat:send. Shows the socket status. - web_socket_channel dependency added. flutter analyze/test/build web all green; backend npm test 56. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
423 B
YAML
23 lines
423 B
YAML
name: kc_app
|
|
description: "KC-App client — multi-tenant event, election and communication platform for Konfi-Castle events."
|
|
publish_to: 'none'
|
|
version: 0.1.0+1
|
|
|
|
environment:
|
|
sdk: ^3.13.3
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
http: ^1.2.2
|
|
shared_preferences: ^2.3.2
|
|
web_socket_channel: ^3.0.1
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|