react-visual-feedback 1.4.9 → 2.2.1
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 +89 -3
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/integrations/config.js +664 -0
- package/dist/integrations/config.js.map +1 -0
- package/dist/integrations/index.js +4 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/server/index.js +2907 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/jira.js +1565 -0
- package/dist/server/jira.js.map +1 -0
- package/dist/server/sheets.js +1448 -0
- package/dist/server/sheets.js.map +1 -0
- package/package.json +30 -3
package/README.md
CHANGED
|
@@ -15,17 +15,32 @@ A powerful, visual feedback collection tool for React applications with screen r
|
|
|
15
15
|
- **Keyboard Shortcuts** - `Alt+Q` (Selection), `Alt+A` (Manual), `Alt+W` (Record), `Esc` (Cancel)
|
|
16
16
|
|
|
17
17
|
### Session Replay
|
|
18
|
-
- **Video Playback** - Watch recorded user sessions
|
|
19
|
-
- **Console Logs** - See console.log, errors, warnings synced with video
|
|
18
|
+
- **Video Playback** - Watch recorded user sessions with fullscreen support
|
|
19
|
+
- **Console Logs** - See console.log, errors, warnings synced with video timeline
|
|
20
20
|
- **Network Requests** - Track API calls and responses
|
|
21
|
+
- **Video Mode** - Fullscreen playback with synced logs panel (scrollable even when paused)
|
|
21
22
|
- **Expandable Logs Panel** - Slide-out panel on the right side (customizable)
|
|
22
23
|
|
|
24
|
+
### Screen Recording
|
|
25
|
+
- **Draggable Indicator** - Recording overlay can be moved around the screen
|
|
26
|
+
- **Audio Capture** - Record microphone and system audio (mixed)
|
|
27
|
+
- **IndexedDB Storage** - Large videos stored locally to prevent quota errors
|
|
28
|
+
- **Download Videos** - Export recordings as WebM files
|
|
29
|
+
|
|
23
30
|
### Dashboard
|
|
24
31
|
- **Professional UI** - Clean 700px slide-out panel
|
|
25
32
|
- **Developer Mode** - Full technical details (source file, component stack, viewport)
|
|
26
33
|
- **User Mode** - Simplified view for end users
|
|
27
34
|
- **8 Status Options** - New, Open, In Progress, Under Review, On Hold, Resolved, Closed, Won't Fix
|
|
28
35
|
- **Status Callbacks** - Sync with your database on status changes
|
|
36
|
+
- **Search** - Search through feedback by title, description, or user
|
|
37
|
+
|
|
38
|
+
### Updates Modal
|
|
39
|
+
- **What's New** - Display product updates, bug fixes, and new features to users
|
|
40
|
+
- **Filter Tabs** - Filter by Fixed or New Feature
|
|
41
|
+
- **Smooth Animations** - Beautiful fade-in animations with staggered item entry
|
|
42
|
+
- **Mobile Responsive** - Works as a centered popup on all screen sizes
|
|
43
|
+
- **Dark/Light Mode** - Full theme support
|
|
29
44
|
|
|
30
45
|
### Theming
|
|
31
46
|
- **Light/Dark Mode** - Full theme support
|
|
@@ -189,6 +204,65 @@ import { SessionReplay } from 'react-visual-feedback';
|
|
|
189
204
|
/>
|
|
190
205
|
```
|
|
191
206
|
|
|
207
|
+
### UpdatesModal Props
|
|
208
|
+
|
|
209
|
+
Display product updates, bug fixes, and new features to your users with a beautiful modal.
|
|
210
|
+
|
|
211
|
+
```jsx
|
|
212
|
+
import { UpdatesModal } from 'react-visual-feedback';
|
|
213
|
+
|
|
214
|
+
const updates = [
|
|
215
|
+
{
|
|
216
|
+
id: '1',
|
|
217
|
+
type: 'solved', // 'solved' | 'new_feature'
|
|
218
|
+
title: 'Fixed login page performance issues',
|
|
219
|
+
description: 'Optimized the authentication flow, reducing load time by 40%',
|
|
220
|
+
date: '2024-11-30',
|
|
221
|
+
version: '2.1.0',
|
|
222
|
+
category: 'Performance'
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
id: '2',
|
|
226
|
+
type: 'new_feature',
|
|
227
|
+
title: 'Dark mode support added',
|
|
228
|
+
description: 'Full dark mode support across all components with smooth transitions',
|
|
229
|
+
date: '2024-11-28',
|
|
230
|
+
version: '2.1.0',
|
|
231
|
+
category: 'Feature'
|
|
232
|
+
}
|
|
233
|
+
];
|
|
234
|
+
|
|
235
|
+
<UpdatesModal
|
|
236
|
+
isOpen={showUpdates} // Control visibility
|
|
237
|
+
onClose={() => setShowUpdates(false)}
|
|
238
|
+
updates={updates} // Array of update objects
|
|
239
|
+
title="What's New" // Modal title (default: "What's New")
|
|
240
|
+
mode="light" // Theme mode: 'light' | 'dark'
|
|
241
|
+
/>
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
| Prop | Type | Default | Description |
|
|
245
|
+
|------|------|---------|-------------|
|
|
246
|
+
| `isOpen` | `boolean` | required | Control modal visibility |
|
|
247
|
+
| `onClose` | `() => void` | required | Callback when modal closes |
|
|
248
|
+
| `updates` | `Update[]` | `[]` | Array of update objects |
|
|
249
|
+
| `title` | `string` | `"What's New"` | Modal header title |
|
|
250
|
+
| `mode` | `'light' \| 'dark'` | `'light'` | Theme mode |
|
|
251
|
+
|
|
252
|
+
#### Update Object Structure
|
|
253
|
+
|
|
254
|
+
```typescript
|
|
255
|
+
interface Update {
|
|
256
|
+
id: string; // Unique identifier
|
|
257
|
+
type: 'solved' | 'new_feature'; // Update type
|
|
258
|
+
title: string; // Update title
|
|
259
|
+
description?: string; // Optional description
|
|
260
|
+
date?: string; // Date string (displayed as "Mon DD")
|
|
261
|
+
version?: string; // Version number (displayed as "vX.X.X")
|
|
262
|
+
category?: string; // Category tag
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
192
266
|
## Data Structures
|
|
193
267
|
|
|
194
268
|
### Feedback Data (submitted via onSubmit)
|
|
@@ -853,6 +927,7 @@ import {
|
|
|
853
927
|
FeedbackDashboard,
|
|
854
928
|
FeedbackTrigger,
|
|
855
929
|
CanvasOverlay,
|
|
930
|
+
UpdatesModal, // What's New modal for updates
|
|
856
931
|
|
|
857
932
|
// Hooks
|
|
858
933
|
useFeedback,
|
|
@@ -885,7 +960,18 @@ import {
|
|
|
885
960
|
|
|
886
961
|
## Changelog
|
|
887
962
|
|
|
888
|
-
###
|
|
963
|
+
### v2.2.0
|
|
964
|
+
- **Added**: `UpdatesModal` component - Display product updates, bug fixes, and new features
|
|
965
|
+
- **Added**: Draggable recording indicator - Move the recording overlay anywhere on screen
|
|
966
|
+
- **Added**: Video Mode with fullscreen playback and synced logs panel
|
|
967
|
+
- **Added**: Search functionality in feedback dashboard
|
|
968
|
+
- **Added**: IndexedDB storage for large video recordings (prevents quota errors)
|
|
969
|
+
- **Added**: Video download/export functionality
|
|
970
|
+
- **Improved**: Logs panel now scrollable when video is paused
|
|
971
|
+
- **Improved**: Audio mixing for microphone and system audio in recordings
|
|
972
|
+
- **Fixed**: Mobile responsive UpdatesModal - displays as centered popup
|
|
973
|
+
|
|
974
|
+
### v2.1.0
|
|
889
975
|
- **Added**: Manual feedback mode (`Alt+A`) - open form without selecting an element
|
|
890
976
|
- **Added**: `defaultOpen` prop to automatically open form on mount
|
|
891
977
|
- **Added**: Drag & Drop file upload support
|