15 Commits

Author SHA1 Message Date
kushal-saha
fad7658ead chore: add loader, fix chat states 2026-05-04 06:19:56 +00:00
kusowl
9853c6128c wip 2026-05-03 22:26:46 +05:30
kusowl
7a2c1f03fa chore: add sancum_session on env, add installation steps on readme 2026-05-02 01:16:16 +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
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
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
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
66e858e386 feature: Fix Foritify error, implement logput on frontend. persist authentication on accross app 2026-04-28 05:25:06 +00:00
kushal-saha
19a05a1a5b feature: authentication using fortify and sanctum's cookie based SPA authentication 2026-04-27 05:39:09 +00:00
kushal-saha
b538bf8fee refactor: Move post generation to SocialMediaService 2026-04-27 05:04:04 +00:00
kushal-saha
5631bc3a3a feature: backend - create post and image prompt bases on user prompt 2026-04-24 08:33:56 +00:00
kushal-saha
265a134658 deps: laravel ai sdk 2026-04-24 06:25:45 +00:00
kushal-saha
0b776016d4 deps: sanctum 2026-04-24 06:17:33 +00:00
kushal-saha
246362a574 init frontend and backend 2026-04-24 05:35:01 +00:00