@alliance-droid/status-feedback-system 2.3.2 → 3.1.0
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/CHANGELOG.md +78 -67
- package/LICENSE +11 -11
- package/README.md +275 -273
- package/dist/api.d.ts +3 -1
- package/dist/components/DevFeedback.svelte +589 -585
- package/dist/components/DevFeedback.svelte.d.ts +7 -2
- package/dist/components/FeedbackBoard.svelte +110 -110
- package/dist/components/FeedbackButton.svelte +72 -72
- package/dist/components/FeedbackForm.svelte +155 -155
- package/dist/components/StatusBanner.svelte +105 -105
- package/dist/components/StatusPage.svelte +244 -244
- package/dist/components/board/FeedbackDetail.svelte +299 -299
- package/dist/components/board/FeedbackItem.svelte +117 -117
- package/dist/components/board/FeedbackList.svelte +58 -58
- package/dist/components/board/FeedbackSidebar.svelte +60 -60
- package/dist/components/board/FeedbackSubmitForm.svelte +123 -123
- package/dist/components/board/utils.d.ts +5 -2
- package/dist/components/board/utils.js +20 -6
- package/dist/components/dev/DevContextMenu.svelte +178 -178
- package/dist/components/dev/DevOnboardingToast.svelte +73 -73
- package/dist/components/dev/environment.d.ts +2 -6
- package/dist/components/dev/environment.js +2 -23
- package/dist/components/shared/IncidentTimeline.svelte +55 -55
- package/dist/components/shared/PasteImageInput.svelte +169 -169
- package/dist/components/shared/StatusIndicator.svelte +50 -50
- package/dist/components/shared/SystemCard.svelte +30 -30
- package/dist/components/shared/UptimeBar.svelte +85 -85
- package/dist/types.d.ts +9 -1
- package/package.json +66 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,67 +1,78 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### Changed
|
|
6
|
-
|
|
7
|
-
- `<DevFeedback>`
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- Add
|
|
57
|
-
- Add
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Changed (BREAKING)
|
|
6
|
+
|
|
7
|
+
- `<DevFeedback>` no longer auto-detects the environment. The `enabled` prop is now **required** and is the single gate: the widget shows only when `enabled` is `true` and `userEmail` is non-empty. Wire `enabled` to your own rule — typically a role/permission check (e.g. `enabled={userHasFeedbackRole}`). The `PUBLIC_FEEDBACK_ENABLED` env var and the localhost / `*.local` / Vercel-preview heuristics are removed.
|
|
8
|
+
- Activation is now reactive: a role check that resolves after mount arms the widget, and disabling it tears the listeners back down.
|
|
9
|
+
|
|
10
|
+
### Migration
|
|
11
|
+
|
|
12
|
+
- Replace environment / `PUBLIC_FEEDBACK_ENABLED` enabling with an explicit `enabled`. For "dev only", pass `enabled={import.meta.env.DEV}` (or your framework's dev flag). For role-based access, see [docs/role-based-access.md](docs/role-based-access.md).
|
|
13
|
+
|
|
14
|
+
## 2.3.2
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `<DevFeedback>` *Report Bug* form: when the consumer app's render-token endpoint is unreachable or returns an error, the form now shows paste-screenshot instructions ("Paste a screenshot to attach one — capture with ⌘⇧4 / Win+Shift+S, then ⌘V / Ctrl+V into the description") instead of the dead-end "Screenshot setup failed / Retry" panel. The previous panel offered a Retry button that could never succeed when the endpoint was simply not configured.
|
|
19
|
+
|
|
20
|
+
## 2.3.1
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- `<FeedbackSubmitForm>` paste-to-attach was missing from 2.3.0 (commit didn't land on main before merge). Now included.
|
|
25
|
+
|
|
26
|
+
## 2.3.0
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- `<FeedbackBoard>` submit form and reply threads: paste a screenshot from clipboard (Cmd/Ctrl+V) into the textarea. Pasted images are sent to the server as `metadata.pastedScreenshot` (submit form) or `pastedImage` (reply). Existing responses with `imageUrl` render inline on reload.
|
|
31
|
+
- `FeedbackResponse.imageUrl` field for persisted image rendering.
|
|
32
|
+
|
|
33
|
+
## 2.2.0
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- `<DevFeedback>` *Report Bug* form: paste a screenshot from clipboard (Cmd/Ctrl+V) into the description textarea. Pasted images attach to the resulting ADO work item. When both a pasted image and a server-side capture are available, the pasted image wins.
|
|
38
|
+
- `<PasteImageInput>` shared component exported from the package root for consumers that want to build their own paste-to-attach inputs.
|
|
39
|
+
|
|
40
|
+
## 2.0.0
|
|
41
|
+
|
|
42
|
+
### Breaking Changes
|
|
43
|
+
|
|
44
|
+
- `userEmail` prop on `DevFeedback` is now **required** (was optional). Pass the authenticated user's email; pass an empty string when no user is signed in.
|
|
45
|
+
- Widget renders nothing (no bubble, no context menu) when `userEmail` is empty. The previous lock-screen UI for unauthenticated users is removed.
|
|
46
|
+
- Anonymous feedback submission is no longer possible through the widget.
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
|
|
50
|
+
- Dev-mode console warning when `userEmail` is empty, to surface misconfigurations in consumer apps.
|
|
51
|
+
|
|
52
|
+
## 1.3.0
|
|
53
|
+
|
|
54
|
+
- Add composable FeedbackBoard components (FeedbackSidebar, FeedbackList, FeedbackItem, FeedbackDetail, FeedbackSubmitForm)
|
|
55
|
+
- Add `createFeedbackBoard()` reactive state manager
|
|
56
|
+
- Add voting and response support to board API client
|
|
57
|
+
- Add FeedbackBoard all-in-one component
|
|
58
|
+
|
|
59
|
+
## 1.2.0
|
|
60
|
+
|
|
61
|
+
- Add DevFeedback component (auto-detect dev/staging, right-click context menu, screenshot capture)
|
|
62
|
+
- Add DevOnboardingToast for first-time setup
|
|
63
|
+
- Add environment detection utilities
|
|
64
|
+
|
|
65
|
+
## 1.1.0
|
|
66
|
+
|
|
67
|
+
- Add FeedbackButton component (floating feedback trigger)
|
|
68
|
+
- Add StatusBanner component (compact status bar)
|
|
69
|
+
- Add public feedback board API methods (getBoard, vote, getResponses)
|
|
70
|
+
|
|
71
|
+
## 1.0.0
|
|
72
|
+
|
|
73
|
+
- Initial release
|
|
74
|
+
- StatusPage component (self-fetching and pass-through modes)
|
|
75
|
+
- FeedbackForm component
|
|
76
|
+
- Shared components: StatusIndicator, UptimeBar, IncidentTimeline, SystemCard
|
|
77
|
+
- API client: createStatusClient()
|
|
78
|
+
- Full TypeScript types
|
package/LICENSE
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
Copyright (c) 2026 Alliance Technical Group. All rights reserved.
|
|
2
|
-
|
|
3
|
-
This software and associated documentation files (the "Software") are the
|
|
4
|
-
proprietary property of Alliance Technical Group. No part of the Software may
|
|
5
|
-
be reproduced, distributed, or transmitted in any form or by any means,
|
|
6
|
-
including photocopying, recording, or other electronic or mechanical methods,
|
|
7
|
-
without the prior written permission of Alliance Technical Group.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1
|
+
Copyright (c) 2026 Alliance Technical Group. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software and associated documentation files (the "Software") are the
|
|
4
|
+
proprietary property of Alliance Technical Group. No part of the Software may
|
|
5
|
+
be reproduced, distributed, or transmitted in any form or by any means,
|
|
6
|
+
including photocopying, recording, or other electronic or mechanical methods,
|
|
7
|
+
without the prior written permission of Alliance Technical Group.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|