diff --git a/.changeset/shiny-webs-write.md b/.changeset/shiny-webs-write.md new file mode 100644 index 000000000..ae072b41d --- /dev/null +++ b/.changeset/shiny-webs-write.md @@ -0,0 +1,12 @@ +--- +"@knocklabs/client": patch +"@knocklabs/react": patch +--- + +[Guides] Add additional debug settings to guide client, and improvements to the guide toolbar V2 + +- Add `focusedGuideKeys` debug setting to pin a target guide during preview +- Add `ignoreDisplayInterval` debug setting to ignore throttling during preview +- Add `skipEngagementTracking` debug setting to skip sending engagement updates to the API during preview +- Add control UIs to the guide toolbar V2 for the newly added debug settings +- Add a drag handle to the guide toolbar for drag and drop diff --git a/packages/react/src/modules/guide/components/Toolbar/KnockButton.tsx b/packages/react/src/modules/guide/components/Toolbar/KnockButton.tsx index 31462a59f..dca4d4b41 100644 --- a/packages/react/src/modules/guide/components/Toolbar/KnockButton.tsx +++ b/packages/react/src/modules/guide/components/Toolbar/KnockButton.tsx @@ -5,15 +5,19 @@ import "./styles.css"; type Props = { onClick: () => void; + positioned?: boolean; }; -export const KnockButton = ({ onClick }: Props) => { +export const KnockButton = ({ onClick, positioned = true }: Props) => { return (