react-os-shell 0.2.38 → 0.2.39
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/index.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -339,6 +339,11 @@ type ReportType = 'bug' | 'suggestion';
|
|
|
339
339
|
interface BugReportSubmission {
|
|
340
340
|
description: string;
|
|
341
341
|
reportType: ReportType;
|
|
342
|
+
/** The screenshot the user actually wants to send. Reflects any in-dialog
|
|
343
|
+
* annotation: callers should upload THIS blob, not the original capture
|
|
344
|
+
* they passed into `openBugReportDialog`. May be null if the original
|
|
345
|
+
* capture failed and the user submitted without uploading a fallback. */
|
|
346
|
+
screenshot: Blob | null;
|
|
342
347
|
}
|
|
343
348
|
/** Generic bug-report record shape consumed by the shell's list/detail UI. */
|
|
344
349
|
interface BugReport {
|
package/dist/index.js
CHANGED
|
@@ -509,7 +509,7 @@ function BugReportProvider({ children }) {
|
|
|
509
509
|
const handleSubmit = () => {
|
|
510
510
|
setAnnotating(false);
|
|
511
511
|
setOpen(false);
|
|
512
|
-
resolveRef.current?.({ description: description.trim(), reportType });
|
|
512
|
+
resolveRef.current?.({ description: description.trim(), reportType, screenshot });
|
|
513
513
|
};
|
|
514
514
|
const handleCancel = () => {
|
|
515
515
|
setAnnotating(false);
|
|
@@ -861,7 +861,7 @@ function StatusBadge({ status }) {
|
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
// src/version.ts
|
|
864
|
-
var VERSION = "0.2.
|
|
864
|
+
var VERSION = "0.2.39" ;
|
|
865
865
|
var APP_VERSION = VERSION;
|
|
866
866
|
|
|
867
867
|
// src/changelog.ts
|