ajaxter-chat 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
A production-ready **drawer/slider-based** chat widget for React.js and Next.js.
|
|
4
4
|
All configuration is loaded remotely from your hosted `chatData.json`.
|
|
5
5
|
|
|
6
|
+
**Backend developers:** see **[BACKEND.md](./BACKEND.md)** for WebSocket/REST events, auth, payloads (`ChatMessage`, `Ticket`, users, history), and WebRTC signalling.
|
|
7
|
+
|
|
6
8
|
---
|
|
7
9
|
|
|
8
10
|
## Setup (2 env vars only)
|
|
@@ -109,7 +111,7 @@ export default function MyApp({ Component, pageProps }) {
|
|
|
109
111
|
|
|
110
112
|
| Feature | Details |
|
|
111
113
|
|---|---|
|
|
112
|
-
| **Drawer/Slider UI** | Slides in from right (or left) with smooth animation.
|
|
114
|
+
| **Drawer/Slider UI** | Slides in from right (or left) with smooth animation. |
|
|
113
115
|
| **Home Screen** | "Hi there 👋" hero, cards for Support / New Conversation / Raise Ticket |
|
|
114
116
|
| **User List** | Slide-in panel with online status dot, designation, project |
|
|
115
117
|
| **Chat Screen** | Matches the UI image — hamburger back, title "Support", phone + fullscreen icons |
|
|
@@ -127,7 +129,7 @@ export default function MyApp({ Component, pageProps }) {
|
|
|
127
129
|
| **Ticket Screen** | Raise tickets with title, description, priority selector |
|
|
128
130
|
| **Ticket History** | Shows all tickets with status badge and priority color |
|
|
129
131
|
| **Recent Chats Tab** | Shows past conversations with unread badges |
|
|
130
|
-
| **
|
|
132
|
+
| **Responsive width** | ~30% width on desktop; full width on small screens |
|
|
131
133
|
| **Slide Close** | Smooth slide-out animation on close |
|
|
132
134
|
| **SSR Safe** | isMounted guard, works in Next.js App Router and Pages Router |
|
|
133
135
|
| **CHAT_STATUS** | ACTIVE / DISABLE / MAINTENANCE handled |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ajaxter-chat",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "Drawer-based chat widget with support chat, tickets, WebRTC calling, voice messages, block list, and transcript download.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|