Skip to content

Commit ce58937

Browse files
committed
ENG-1965: Rename Template-Block-props buffer block to Template (editing)
Not plain "Template" because getSubTree({parentUid: node.type, key: "Template"}) in NodeConfig.tsx and DiscourseNodeSuggestiveRules.tsx text-matches children of the same parent the buffer is created under, and auto-creates on miss - an exact "Template" buffer would collide with the legacy template block lookup.
1 parent 0d85690 commit ce58937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/roam/src/components/settings/components/EphemeralBlocksPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import type { DiscourseNodeBaseProps } from "./BlockPropSettingPanels";
1515

1616
const DEBOUNCE_MS = 250;
17-
const TEMPLATE_BUFFER_TEXT = "Template-Block-props";
17+
const TEMPLATE_BUFFER_TEXT = "Template (editing)";
1818

1919
type DualWriteBlocksPanelProps = DiscourseNodeBaseProps & {
2020
uid: string;

0 commit comments

Comments
 (0)