Skip to content

Commit 096af3f

Browse files
authored
Remove display name setting (#122)
* rm display name setting * doc fix * 1.8.1 * . * rm display name setting * doc fix * .
1 parent 9077f99 commit 096af3f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/070-developer-docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
SmartBlocks exposes a set of functions and objects for interacting with workflows. Roam developers can read from and write to these values from a `roam/js` block or as part of existing RoamJS extensions. This section includes technical notes for JavaScript developers working with SmartBlocks.
1414

15-
All methods below are attached to the `window.roamjs.extensions.smartblocks` object. Be careful before invoking any of them on load, as you will need to wait until the SmartBlocks extension is fully loaded.
15+
All methods below are attached to the `window.roamjs.extension.smartblocks` object. Be careful before invoking any of them on load, as you will need to wait until the SmartBlocks extension is fully loaded.
1616

1717
## `registerCommand`
1818

src/index.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ export default runExtension(async ({ extensionAPI }) => {
178178
let isCustomOnly = extensionAPI.settings.get("custom-only") as boolean;
179179
let hideButtonIcon = extensionAPI.settings.get("hide-button-icon") as boolean;
180180
let highlighting = extensionAPI.settings.get("highlighting") as boolean;
181-
const defaultDisplayName = getDisplayNameByUid(getCurrentUserUid());
182181

183182
extensionAPI.settings.panel.create({
184183
tabTitle: "SmartBlocks",
@@ -245,16 +244,6 @@ export default runExtension(async ({ extensionAPI }) => {
245244
description:
246245
"Uses command highlighting to help write SmartBlock Workflows",
247246
},
248-
{
249-
action: {
250-
type: "input",
251-
placeholder: defaultDisplayName,
252-
},
253-
id: "display-name",
254-
name: "Display Name",
255-
description:
256-
"The display name that will appear in the store next to your workflow. By default, your display name in Roam will be shown. If not set, then your graph name will be shown.",
257-
},
258247
{
259248
id: "daily",
260249
name: "Daily",

0 commit comments

Comments
 (0)