Skip to content

Feature/socket.io handling#12

Open
danielsaggir wants to merge 6 commits into
mainfrom
feature/socket.io-handling
Open

Feature/socket.io handling#12
danielsaggir wants to merge 6 commits into
mainfrom
feature/socket.io-handling

Conversation

@danielsaggir

Copy link
Copy Markdown
Collaborator

No description provided.

- Updated AGENTS.md and CLAUDE.md to reflect changes in font loading and layout structure, replacing Google Fonts with offline-safe fallbacks defined in globals.css.
- Removed Google Fonts imports from layout.tsx, simplifying the component and enhancing performance.
- Added CSS variables for font stacks in globals.css to improve consistency and maintainability across the application.
- Cleaned up tsconfig.json by excluding unnecessary type definitions for the .next directory.

These changes streamline font management and improve the overall structure of the layout component.
…bals.css

- Revised AGENTS.md and CLAUDE.md to clarify the use of CSS variables for editorial tokens and font stacks in globals.css.
- Removed references to `@theme inline` in favor of direct CSS variable usage, enhancing clarity and maintainability.
- Updated documentation to ensure consistency across files regarding the styling approach.
…setup

- Modified AGENTS.md to clarify the use of `pnpm --filter web dev` with `next dev --webpack` to address Turbopack persistence issues.
- Updated CLAUDE.md to reflect the same changes in the development command for consistency.
- Adjusted package.json to include `--webpack` in the dev script, ensuring a smoother local development experience.
…ment

- Updated `RealtimeGateway` to support authenticated Socket.IO room lifecycle, chat, movie updates, and playback synchronization.
- Introduced countdown functionality for playback starts and improved user readiness tracking in `RoomStateService`.
- Added tests for `RealtimeGateway` to ensure proper countdown and playback behavior.
- Revised `AGENTS.md` to document new features and usage patterns for the Realtime module.
- Adjusted `RoomRepository` and `RoomService` to integrate with the updated room status management and playback synchronization.

These changes improve the real-time interaction capabilities of the application, enhancing user experience during movie playback in rooms.
- Updated `RealtimeGateway` to support per-user multi-socket tracking, allowing multiple active sockets for each user while maintaining unique user representation in the UI.
- Improved `RoomStateService` to manage multiple socket IDs per user, ensuring accurate user presence and readiness status across socket connections.
- Added tests for `RealtimeGateway` to validate socket management and user disconnection behavior.
- Revised documentation in `AGENTS.md` to reflect the new multi-socket capabilities and usage patterns.

These changes enhance the real-time interaction capabilities of the application, improving user experience during collaborative movie playback in rooms.
- Updated `RealtimeGateway` to implement a thin transport layer for Socket.IO, integrating authentication and payload validation.
- Enhanced `RoomStateService` to manage real-time user presence and socket connections, supporting multiple sockets per user.
- Introduced new services for connection management, playback countdown, and room moderation, improving the overall architecture.
- Revised documentation in `AGENTS.md` to reflect the new structure and capabilities of the Realtime module.
- Added tests for the updated functionalities to ensure reliability and performance.

These changes significantly improve the real-time interaction capabilities of the application, enhancing user experience during collaborative movie playback in rooms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant