@nivaro/react 0.3.128 → 0.3.129
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/dist/components/slots/CommentsSlot.js +124 -95
- package/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/shared/components/ItemEditForm.js +2187 -2158
- package/dist/shared/components/ai/AiMarkdown.js +215 -196
- package/dist/shared/components/item-edit/HeaderTools.js +216 -210
- package/dist/shared/components/panels/CommentPanel.js +345 -327
- package/dist/shared/components/support/TicketDetailSheet.js +161 -139
- package/dist/shared/components/trackers/MirroredText.js +40 -0
- package/dist/shared/components/trackers/SourceTracker.js +168 -0
- package/dist/shared/components/trackers/TrackerChip.js +71 -0
- package/dist/shared/components/trackers/TrackerLinkPanel.js +1039 -0
- package/dist/shared/components/trackers/TrackerPickers.js +245 -0
- package/dist/shared/components/trackers/tracker-model.js +126 -0
- package/dist/shared/components/trackers/use-tracker-link.js +159 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { noteReplayIdle as Me, createReplayIdleState as Ne, REPLAY_IDLE_RESTART_
|
|
|
10
10
|
import { noteReplayEvent as Ue, createReplayCheckoutState as We } from "../shared/lib/replay-checkout.js";
|
|
11
11
|
import { instrumentConsole as He, instrumentRequests as Ke, redactSecrets as $e } from "../shared/lib/replay-context.js";
|
|
12
12
|
import { instrumentSocket as Be } from "../shared/lib/replay-socket.js";
|
|
13
|
-
const ze = "nivaro-react@0.3.
|
|
13
|
+
const ze = "nivaro-react@0.3.129", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
14
14
|
function Je(o) {
|
|
15
15
|
return typeof o.url != "string" || typeof fetch != "function" ? null : (f, u) => {
|
|
16
16
|
const l = typeof o.getToken == "function" ? o.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -433,7 +433,7 @@ export declare function AiFeedbackButtons({ requestId, className }: {
|
|
|
433
433
|
className?: string;
|
|
434
434
|
}): JSX.Element | null;
|
|
435
435
|
|
|
436
|
-
export declare function AiMarkdown({ content, className, autolink, switchable, onChartPoint }: {
|
|
436
|
+
export declare function AiMarkdown({ content, className, autolink, switchable, onChartPoint, mirrored }: {
|
|
437
437
|
content: string;
|
|
438
438
|
className?: string;
|
|
439
439
|
/** Turn friendly ids into record links. Default: on whenever a NivaroProvider is present. */
|
|
@@ -442,6 +442,9 @@ export declare function AiMarkdown({ content, className, autolink, switchable, o
|
|
|
442
442
|
switchable?: boolean;
|
|
443
443
|
/** Make chart points clickable (drill into the rows behind a bar, point or slice). */
|
|
444
444
|
onChartPoint?: ChartPointHandler;
|
|
445
|
+
/** Written outside Nivaro (mirrored in from GitLab): no in-app links, charts or record links;
|
|
446
|
+
* images read as links. */
|
|
447
|
+
mirrored?: boolean;
|
|
445
448
|
}): JSX.Element;
|
|
446
449
|
|
|
447
450
|
/**
|
|
@@ -13005,6 +13008,11 @@ export declare interface SupportTicketDetail extends SupportTicket {
|
|
|
13005
13008
|
user_name: string | null;
|
|
13006
13009
|
created_at: string;
|
|
13007
13010
|
from_requester: boolean;
|
|
13011
|
+
/** Mirrored in from GitLab: the GitLab author (the writer is the GitLab machine user). */
|
|
13012
|
+
tracker?: {
|
|
13013
|
+
provider: 'gitlab';
|
|
13014
|
+
author: string | null;
|
|
13015
|
+
} | null;
|
|
13008
13016
|
}>;
|
|
13009
13017
|
history: Array<{
|
|
13010
13018
|
id: number;
|