From af298f68e6b326fcd97d81dc71168598057d59e0 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:56:49 -0600 Subject: [PATCH 1/7] rm display name setting --- src/index.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/index.ts b/src/index.ts index a92e784..c86301a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -245,16 +245,6 @@ export default runExtension(async ({ extensionAPI }) => { description: "Uses command highlighting to help write SmartBlock Workflows", }, - { - action: { - type: "input", - placeholder: defaultDisplayName, - }, - id: "display-name", - name: "Display Name", - description: - "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.", - }, { id: "daily", name: "Daily", From d247caea4fd4bd7380d93056ae7c28d83250307a Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:56:55 -0600 Subject: [PATCH 2/7] doc fix --- docs/070-developer-docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/070-developer-docs.md b/docs/070-developer-docs.md index 41c8130..414d137 100644 --- a/docs/070-developer-docs.md +++ b/docs/070-developer-docs.md @@ -12,7 +12,7 @@ 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. -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. +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. ## `registerCommand` From 6076f24a95c561aa61857af0d7987f12474e0b5e Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:57:08 -0600 Subject: [PATCH 3/7] 1.8.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d38dd43..7f9aaa1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "smartblocks", - "version": "1.8.0", + "version": "1.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "smartblocks", - "version": "1.8.0", + "version": "1.8.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index df836ef..a3364ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smartblocks", - "version": "1.8.0", + "version": "1.8.1", "description": "Create custom and programmable templates from within Roam!", "main": "./build/main.js", "scripts": { From 15c74442e70f2e78dfe43fcc545afa46721e8c95 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:59:52 -0600 Subject: [PATCH 4/7] . --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c86301a..cfcf86b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -178,7 +178,6 @@ export default runExtension(async ({ extensionAPI }) => { let isCustomOnly = extensionAPI.settings.get("custom-only") as boolean; let hideButtonIcon = extensionAPI.settings.get("hide-button-icon") as boolean; let highlighting = extensionAPI.settings.get("highlighting") as boolean; - const defaultDisplayName = getDisplayNameByUid(getCurrentUserUid()); extensionAPI.settings.panel.create({ tabTitle: "SmartBlocks", From 611c589ab1a65162f42cc777e28ebe7d1bc1d4f8 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:56:49 -0600 Subject: [PATCH 5/7] rm display name setting --- src/index.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/index.ts b/src/index.ts index f128916..4ecb993 100644 --- a/src/index.ts +++ b/src/index.ts @@ -245,16 +245,6 @@ export default runExtension(async ({ extensionAPI }) => { description: "Uses command highlighting to help write SmartBlock Workflows", }, - { - action: { - type: "input", - placeholder: defaultDisplayName, - }, - id: "display-name", - name: "Display Name", - description: - "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.", - }, { id: "daily", name: "Daily", From 0b2ae306abc0f35bf1b77086f06276f9efb25b30 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:56:55 -0600 Subject: [PATCH 6/7] doc fix --- docs/070-developer-docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/070-developer-docs.md b/docs/070-developer-docs.md index 41c8130..414d137 100644 --- a/docs/070-developer-docs.md +++ b/docs/070-developer-docs.md @@ -12,7 +12,7 @@ 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. -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. +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. ## `registerCommand` From 3b0ce3ba4fc311bcd986d82999b7ab344db2fae2 Mon Sep 17 00:00:00 2001 From: Michael Gartner Date: Tue, 15 Oct 2024 22:59:52 -0600 Subject: [PATCH 7/7] . --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 4ecb993..9a58192 100644 --- a/src/index.ts +++ b/src/index.ts @@ -178,7 +178,6 @@ export default runExtension(async ({ extensionAPI }) => { let isCustomOnly = extensionAPI.settings.get("custom-only") as boolean; let hideButtonIcon = extensionAPI.settings.get("hide-button-icon") as boolean; let highlighting = extensionAPI.settings.get("highlighting") as boolean; - const defaultDisplayName = getDisplayNameByUid(getCurrentUserUid()); extensionAPI.settings.panel.create({ tabTitle: "SmartBlocks",