diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml
index 9f07329ef..09b74deac 100644
--- a/.github/workflows/chromatic.yml
+++ b/.github/workflows/chromatic.yml
@@ -1,9 +1,13 @@
-name: "Chromatic Publish"
+name: Chromatic
-on: workflow_dispatch
+on:
+ workflow_dispatch:
+ pull_request_review:
+ types: [submitted]
jobs:
test:
+ if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
diff --git a/guideGlobalMetadata.json b/guideGlobalMetadata.json
index 856eefa6c..671e14938 100644
--- a/guideGlobalMetadata.json
+++ b/guideGlobalMetadata.json
@@ -41,6 +41,7 @@
"SpikeGLXConverterPipe",
"BrukerTiffSinglePlaneConverter",
"BrukerTiffMultiPlaneConverter",
- "MiniscopeConverter"
+ "MiniscopeConverter",
+ "CellExplorerRecordingInterface"
]
}
diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js b/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
index 86ff3c6e0..a3414cf75 100644
--- a/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
+++ b/src/renderer/src/stories/pages/guided-mode/data/GuidedSourceData.js
@@ -104,14 +104,11 @@ export class GuidedSourceDataPage extends ManagedPage {
if (isStorybook) return;
if (result.message) {
- const [
- type,
- text = `${result.traceback
- .trim()
- .split("\n")
- .slice(-2)[0]
- .trim()}
`,
- ] = result.message.split(":");
+ const [type, ...splitText] = result.message.split(":");
+ const text = splitText.length
+ ? splitText.join(":").replaceAll("<", "<").replaceAll(">", ">")
+ : `${result.traceback.trim().split("\n").slice(-2)[0].trim()}
`;
+
const message = `
${text}
`; this.notify(message, "error"); throw result;