Nurmuhammet Allanov nurmuhammet
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 19:36:06 +05:00
c78f9bc944 Enhance audio notification system in chat.js: refactor sound handling for incoming messages, ensuring proper audio element management and improved playback logic. Add audio element in chat.blade.php for seamless integration.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 18:06:05 +05:00
f4f781b835 Add sound notifications for incoming messages in chat.js: implement audio playback for new messages, ensuring unique notifications per conversation. Enhance inbox loading logic to trigger sounds when new messages arrive after initial load.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 17:56:22 +05:00
9fd01d6f78 only bugs man
5a9ba0cc23 Update broadcasting configuration in .env.example and broadcasting.php: replace REVERB_* variables with REVERB_BROADCAST_* for clarity, ensuring proper local and production settings for websocket connections.
Compare 2 commits »
nurmuhammet pushed to main at nurmuhammet/mm.com.tm-frontend 2026-08-16 17:56:08 +05:00
9e555a8c57 Add socket connection management to ChatWidget and enhance channel authorization in echo.js. Implemented socket status tracking and improved error handling for channel subscriptions, ensuring better reliability in chat interactions.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 17:34:01 +05:00
87bc7d9591 Change MessageSent event to implement ShouldBroadcastNow for immediate broadcasting. This improves performance by eliminating the need for queued broadcasting in chat functionality.
nurmuhammet pushed to main at nurmuhammet/mm.com.tm-frontend 2026-08-16 17:33:58 +05:00
d2196398cc Update polling behavior in ChatWidget to adjust interval based on chat visibility. Introduced a visibility change listener to refresh chat data when the document becomes visible, enhancing user experience during active conversations.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 17:28:48 +05:00
0cf106994f Refactor broadcasting configuration and enhance chat authorization: update middleware in BroadcastServiceProvider, add support user check in ChatSupport, and improve chat.js for dynamic auth endpoint handling. Update channels.php to restrict access for support conversation.
nurmuhammet pushed to main at nurmuhammet/mm.com.tm-frontend 2026-08-16 17:18:35 +05:00
d6d5dd785d Refactor API URL handling in echo.js to improve path normalization and enhance auth endpoint configuration. Updated apiOrigin to apiUrl for better flexibility and added support for an optional API token in headers.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 17:18:30 +05:00
57dd8ee378 Update BroadcastServiceProvider to include API versioning and enhanced middleware configuration. Revise Nginx configuration comments for clarity on broadcasting and websocket proxy setup.
nurmuhammet pushed to main at nurmuhammet/mm.com.tm-frontend 2026-08-16 17:01:43 +05:00
347ec3536d Refactor chat API and UI components to support new chat target functionality. Introduced getChatTargets and startChatTarget endpoints, updated ChatWidget to handle chat targets and conversations, and added new styles for improved UI. Updated localization files for new terms related to admin support and channels.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-16 17:01:35 +05:00
550ffea5c0 Refactor and enhance codebase: remove unused docblocks, adjust product search limits, and improve Nova resource visibility based on user roles. Update middleware imports and streamline query return types for better clarity and maintainability.
5c17c35741 Enhance chat functionality: add support for vendor-specific chat channels, implement methods for managing conversations with admin and store owners, and improve conversation payload structure. Update middleware and policies for better access control, and refine chat UI to indicate view-only status for store owner replies.
Compare 2 commits »
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 21:01:15 +05:00
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 20:52:09 +05:00
nurmuhammet pushed to main at nurmuhammet/mm.com.tm-frontend 2026-08-15 20:51:50 +05:00
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 20:50:15 +05:00
f68db67465 Refactor chat configuration: update .env.example for Reverb settings, streamline Pusher configuration in SupportChatController, and enhance chat.js to dynamically determine websocket endpoint based on host. This improves flexibility for local and production environments.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 19:46:00 +05:00
3a415edb6e fix bug
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 19:42:13 +05:00
cdbad87958 Update chat view to load Pusher and Echo scripts from local assets instead of external CDN links for improved performance and reliability.
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 19:38:02 +05:00
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 19:37:11 +05:00
nurmuhammet pushed to main at nurmuhammet/backend-mm 2026-08-15 19:36:46 +05:00
8080f8ea73 test chat