mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-24 18:13:20 +00:00
feat: restore opt-in review harness
This commit is contained in:
1 parent
71f1b63b9a
commit
f70779c352
14 files changed
+907
-5
No files matched your search
@@ -227,13 +227,16 @@ export class ReviewHarnessController {
|
||||
this.current = "compatibility-review";
|
||||
this.notify();
|
||||
try {
|
||||
const pauseWasPending = this.runtime.getCompatibilityPause() !== undefined;
|
||||
await this.runtime.openCompatibilityReview();
|
||||
const inspection = this.inspectCompatibilityReview();
|
||||
this.results["compatibility-review"] =
|
||||
inspection.status === "passed" && !this.runtime.getCompatibilityPause()
|
||||
? {
|
||||
status: "passed",
|
||||
detail: "The device-local compatibility pause was reviewed and cleared.",
|
||||
detail: pauseWasPending
|
||||
? "The device-local compatibility pause was reviewed and cleared."
|
||||
: inspection.detail,
|
||||
observations: inspection.observations,
|
||||
}
|
||||
: inspection.status === "failed"
|
||||
|
||||
Reference in new issue
Block a user