5 Commits

Author SHA1 Message Date
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
cde80dbf08 refactor(core): restructure namespaces for chat-related requests, resources, and responses
- Moved chat-related controllers, resources, requests, and DTOs into their respective `Chats` namespaces.
- Updated route imports to reflect new namespace structure.
2026-04-29 15:39:44 +00:00
kushal-saha
8e2ced8bed Implement new JSON:API Resource for the api responses.
Implement Authentication States, show logout options in auth store and services.
Make DB and controllers to make messages grouped by chats.
Refactor backend code to use DTO.
2026-04-28 12:38:46 +00:00
kushal-saha
19a05a1a5b feature: authentication using fortify and sanctum's cookie based SPA authentication 2026-04-27 05:39:09 +00:00