7 Commits

Author SHA1 Message Date
kushal-saha
98cef31ae2 feat: infinite scroll in messages, add loader in sidebar 2026-05-04 10:31:49 +00:00
kushal-saha
fad7658ead chore: add loader, fix chat states 2026-05-04 06:19:56 +00:00
kusowl
d57346f3e6 refactore: show sidebar only on chats page, fix width of login and register page, add login button if user is not authenticated
on sidebar
2026-05-02 01:15:42 +05:30
kushal-saha
ad0f0bf67b feature(chat): implement sidebar, chat listing, and improved chat handling
- Added `Sidebar` component with responsive layout for chat navigation.
- Implemented `ChatStore` for managing chat data and fetching user chats.
- Integrated JSON:API `ChatCollection` for consistent backend responses.
- Added `GetUserChatsAction` to retrieve paginated user chats.
- Refactored frontend to separate `ChatStore` and `MessageStore` for improved state management.
- Updated styles, components, and tests for seamless chat interactions.
2026-04-30 13:06:47 +00:00
kushal-saha
20a56d4adc refactor(core): replace SocialMediaService with GeneratePostService, add message fetching and JSON:API resources
- Removed `SocialMediaService` and migrated core post generation logic to `GeneratePostService`.
- Added `GetAllChatMessagesAction` for fetching chat history.
- Introduced `MessageDto`, `MessageResource`, and `MessageCollection` for consistent backend API responses.
- Updated frontend state and services to support JSON:API-compliant chat messages and history retrieval.
- Improved typings and casting for chat message data.
2026-04-30 09:00:14 +00:00
kushal-saha
d818c5f05d refactor(core): restructure chat models and services, integrate route-based chat IDs
- Updated `Chat` and `ChatMessage` models for new table structures with UUIDs and attributes.
- Integrated `ChatPolicy` for authorization checks.
- Updated `ChatMessageController` with authorization and refined logic.
- Adjusted routes and state in the frontend to handle chat IDs from the URL.
- Enhanced `SocialMediaService` for handling chat-specific user prompts.
- Removed unused migrations related to chats and chat messages.
2026-04-29 15:36:56 +00:00
kushal-saha
9c070e0f5c refactor: follow latest component naming 2026-04-24 11:52:45 +00:00