@lightworkai.official/debug-capture-vue 0.6.0 → 0.7.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.
Files changed (35) hide show
  1. package/README.md +12 -8
  2. package/dist/components/{ToolbarButton.vue.d.ts → SupportPortalButton.vue.d.ts} +12 -7
  3. package/dist/index.d.ts +2 -8
  4. package/dist/index.mjs +762 -2319
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +2 -2
  7. package/src/components/SupportPortalButton.vue +50 -0
  8. package/src/index.ts +11 -16
  9. package/dist/components/ImageAnnotatorDialog.vue.d.ts +0 -19
  10. package/dist/components/MyTicketsPanel.vue.d.ts +0 -17
  11. package/dist/components/ReopenPanel.vue.d.ts +0 -12
  12. package/dist/components/RichReplyEditor.vue.d.ts +0 -59
  13. package/dist/components/StatusHero.vue.d.ts +0 -10
  14. package/dist/components/StatusPill.vue.d.ts +0 -16
  15. package/dist/components/TicketBody.vue.d.ts +0 -6
  16. package/dist/components/TicketConversation.vue.d.ts +0 -22
  17. package/dist/components/TicketDetail.vue.d.ts +0 -28
  18. package/dist/components/TicketScreenshots.vue.d.ts +0 -8
  19. package/dist/components/TicketTable.vue.d.ts +0 -25
  20. package/dist/components/TicketTimeline.vue.d.ts +0 -11
  21. package/dist/components/icons.d.ts +0 -38
  22. package/src/components/ImageAnnotatorDialog.vue +0 -160
  23. package/src/components/MyTicketsPanel.vue +0 -312
  24. package/src/components/ReopenPanel.vue +0 -47
  25. package/src/components/RichReplyEditor.vue +0 -321
  26. package/src/components/StatusHero.vue +0 -85
  27. package/src/components/StatusPill.vue +0 -14
  28. package/src/components/TicketBody.vue +0 -50
  29. package/src/components/TicketConversation.vue +0 -227
  30. package/src/components/TicketDetail.vue +0 -130
  31. package/src/components/TicketScreenshots.vue +0 -47
  32. package/src/components/TicketTable.vue +0 -142
  33. package/src/components/TicketTimeline.vue +0 -86
  34. package/src/components/ToolbarButton.vue +0 -33
  35. package/src/components/icons.ts +0 -90
package/README.md CHANGED
@@ -29,19 +29,23 @@ is created imperatively by `installDebugCapture` and never appears in a template
29
29
  so Vue's compiler never sees an unknown tag. Absorbing that is most of why this
30
30
  wrapper exists.
31
31
 
32
- **`MyTicketsPanel` shows what this person has reported** the list, the
33
- conversation, and "still a problem". It needs `identity` in the config: a token
34
- your *server* signs, because `realmKey` is public and can authorise filing a
35
- report but never reading one back. See
32
+ **`SupportPortalButton` sends someone to their tickets** on the support host,
33
+ already signed in. It needs `identity` in the config: a token your *server*
34
+ signs, because `realmKey` is public and can authorise filing a report but never
35
+ reading one back. See
36
36
  [the core README](../debug-capture/README.md#it-needs-to-know-who-is-asking).
37
37
 
38
+ This replaced an embedded panel. The panel was a ticket list, a thread and a
39
+ reply editor in three frameworks over a read API — which meant every change to
40
+ the way a ticket looks landed in four repositories. The support host renders
41
+ that screen already, so it owns it now; the cost is a context switch, and the
42
+ panel is still in the 0.6.x line if you would rather pay the other price.
43
+
38
44
  ```vue
39
- <!-- a route of your own -->
40
- <MyTicketsPanel />
45
+ <SupportPortalButton />
46
+ <SupportPortalButton new-tab @error="notify" />
41
47
  ```
42
48
 
43
- Bind `:refresh-key` to make it re-read the list — after filing a report, say.
44
-
45
49
  **Components are `defineComponent` + `h`, not SFCs**, so the package ships as
46
50
  plain TypeScript with no build step of its own and nothing for a consumer to
47
51
  configure. There are two components and neither has a template worth the
@@ -1,17 +1,22 @@
1
1
  type __VLS_Props = {
2
- label: string;
3
- active?: boolean;
4
- disabled?: boolean;
2
+ label?: string;
3
+ /** Open in a new tab instead of navigating away. */
4
+ newTab?: boolean;
5
+ };
6
+ declare var __VLS_1: {
7
+ pending: boolean;
5
8
  };
6
- declare var __VLS_1: {};
7
9
  type __VLS_Slots = {} & {
8
10
  default?: (props: typeof __VLS_1) => any;
9
11
  };
10
12
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
- activate: () => any;
13
+ error: (err: unknown) => any;
12
14
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- onActivate?: (() => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ onError?: ((err: unknown) => any) | undefined;
16
+ }>, {
17
+ label: string;
18
+ newTab: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
20
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
21
  export default _default;
17
22
  type __VLS_WithSlots<T, S> = T & {
package/dist/index.d.ts CHANGED
@@ -13,12 +13,6 @@
13
13
  */
14
14
  export { default as DebugCaptureInit } from "./components/DebugCaptureInit.vue";
15
15
  export { default as ReportProblemButton } from "./components/ReportProblemButton.vue";
16
- export { default as MyTicketsPanel } from "./components/MyTicketsPanel.vue";
17
- export { default as TicketTable } from "./components/TicketTable.vue";
18
- export { default as TicketDetail } from "./components/TicketDetail.vue";
19
- export { default as TicketConversation } from "./components/TicketConversation.vue";
20
- export { default as RichReplyEditor } from "./components/RichReplyEditor.vue";
21
- export { default as TicketBody } from "./components/TicketBody.vue";
22
- export { default as ImageAnnotatorDialog } from "./components/ImageAnnotatorDialog.vue";
16
+ export { default as SupportPortalButton } from "./components/SupportPortalButton.vue";
23
17
  export { configureDebugCapture, launch, onCrash } from "@lightworkai.official/debug-capture";
24
- export type { DebugCaptureConfig, DebugReason, ErroredQuery, MyTicketListItem, MyTicketDetail, } from "@lightworkai.official/debug-capture";
18
+ export type { DebugCaptureConfig, DebugReason, ErroredQuery } from "@lightworkai.official/debug-capture";