diff --git a/znai-reactjs/src/App.jsx b/znai-reactjs/src/App.jsx index 01439dd19..f3a069cc8 100644 --- a/znai-reactjs/src/App.jsx +++ b/znai-reactjs/src/App.jsx @@ -114,6 +114,9 @@ const docMeta = { previewEnabled: true, slackChannel: "help-domain-name", sendToSlackUrl: "http://localhost:5111/ask-in-slack", + slackActiveQuestionsUrl: "http://localhost:5111/active-questions", + sendToSlackIncludeContentType: true, + resolveSlackQuestionUrl: "http://localhost:5111/resolve-slack-question", viewOn: { link: "https://github.com/testingisdocumenting/znai/znai-cli/documentation", title: "View On GitHub", diff --git a/znai-reactjs/src/diff/DiffTracking.demo.tsx b/znai-reactjs/src/diff/DiffTracking.demo.tsx index ab73dfe88..be863d769 100644 --- a/znai-reactjs/src/diff/DiffTracking.demo.tsx +++ b/znai-reactjs/src/diff/DiffTracking.demo.tsx @@ -24,7 +24,7 @@ import { enableDiffTracking, enableDiffTrackingForOneDomChangeTransaction, } from "./DiffTracking"; -import { mainPanelClassName } from "../layout/classNames"; +import { mainPanelClassName } from "../layout/classNamesAndIds"; const [getTextValue, setTextValue] = simulateState("hello"); const [getSvgTextValue, setSvgTextValue] = simulateState("svg hello"); @@ -37,22 +37,14 @@ const [getScrollCaseBeforeItems, setScrollCaseBeforeItems] = simulateState([ "line4", "line5", ]); -const [getScrollCaseAfterItems, setScrollCaseAfterItems] = simulateState([ - "line1", - "line2", - "line3", - "line4", - "line5", -]); +const [getScrollCaseAfterItems, setScrollCaseAfterItems] = simulateState(["line1", "line2", "line3", "line4", "line5"]); export function diffTrackingDemo(registry: Registry) { registry.add("tracking control", () => (