Skip to content

Commit 3f0be24

Browse files
authored
ENG-892 - Use sentence case for discourse labels and docs (#700)
* Use sentence case for discourse labels * more * more more * .
1 parent 29f0d7a commit 3f0be24

50 files changed

Lines changed: 295 additions & 284 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/obsidian/README.md

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ For more information about Discourse Graphs, check out our website at [https://d
1919
1. Open Obsidian Settings
2020
2. Go to Community Plugins and disable Restricted Mode
2121
3. Click "Browse" and search for "BRAT"
22-
![BRAT](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Faar5LKpLOk.png?alt=media&token=6f51ac48-19d3-4bb5-9a07-7b32cfa6afe6)
22+
![BRAT](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Faar5LKpLOk.png?alt=media&token=6f51ac48-19d3-4bb5-9a07-7b32cfa6afe6)
2323
4. Install BRAT and enable it
2424

2525
#### Install DataCore via BRAT
2626

2727
1. Open Obsidian Settings
2828
2. Go to "Community Plugins" → "BRAT"
2929
3. Click "Add Beta Plugin"
30-
![Add plugin](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5)
30+
![Add plugin](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5)
3131
4. Enter the repository URL: `https://github.com/blacksmithgu/datacore` and choose "Latest version"
32-
![Add datacore](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FEY3vNGt1Rf.png?alt=media&token=32c60ff1-5272-4cde-8b5f-8f049fb2cf50)
32+
![Add datacore](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FEY3vNGt1Rf.png?alt=media&token=32c60ff1-5272-4cde-8b5f-8f049fb2cf50)
3333
5. Check the box for "Enable after installing the plugin"
3434
6. Click "Add plugin"
3535

@@ -38,101 +38,103 @@ For more information about Discourse Graphs, check out our website at [https://d
3838
1. Open Obsidian Settings
3939
2. Go to "Community Plugins" → "BRAT"
4040
3. Click "Add Beta Plugin"
41-
![Add plugin](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5)
41+
![Add plugin](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5)
4242

43-
4. Enter the repository URL: `https://github.com/DiscourseGraphs/discourse-graph-obsidian` and choose "Latest version"
44-
![Add discourse graph](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FSBCK-2lkcu.png?alt=media&token=0375c828-da4d-43b4-8f2c-e691692cb019)
43+
4. Enter the repository URL: `https://github.com/DiscourseGraphs/discourse-graph-obsidian` and choose "Latest version"
44+
![Add discourse graph](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FSBCK-2lkcu.png?alt=media&token=0375c828-da4d-43b4-8f2c-e691692cb019)
4545
5. Check the box for "Enable after installing the plugin"
4646
6. Click "Add Plugin"
4747

48-
4948
## Creating Nodes and Relationships
5049

5150
### Configure Node and Relationship Types
5251

5352
1. Open Obsidian Settings
5453
2. Navigate to the "Discourse Graphs" settings tab
54+
5555
#### Edit Node Types
56-
- Under "Node Types," click "Add Node Type"
57-
- Enter a name for your node type (e.g., "Claim", "Evidence", "Question")
58-
- Add the format for your node type. eg a claim node will have page title "CLM - {content}"
59-
- **Template (Optional)**: Select a template from the dropdown to automatically apply template content when creating nodes of this type
60-
- Templates are sourced from Obsidian's core Templates plugin
61-
- Ensure you have the Templates plugin enabled and configured with a template folder
62-
- The dropdown will show all available template files from your configured template folder
63-
64-
![add node types with template](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FHMg_Tq6qiR.png?alt=media&token=69828bfc-c939-41b0-abd4-2cc8931c5a38)
65-
- Click "Save Changes"
66-
67-
56+
57+
- Under "Node Types," click "Add Node Type"
58+
- Enter a name for your node type (e.g., "Claim", "Evidence", "Question")
59+
- Add the format for your node type. eg a claim node will have page title "CLM - {content}"
60+
- **Template (Optional)**: Select a template from the dropdown to automatically apply template content when creating nodes of this type
61+
- Templates are sourced from Obsidian's core Templates plugin
62+
- Ensure you have the Templates plugin enabled and configured with a template folder
63+
- The dropdown will show all available template files from your configured template folder
64+
65+
![add node types with template](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FHMg_Tq6qiR.png?alt=media&token=69828bfc-c939-41b0-abd4-2cc8931c5a38)
66+
- Click "Save Changes"
67+
6868
- To create a new template:
69-
+ Create new folder to store templates
70-
![new folder](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FyTtJ1a0iI2.png?alt=media&token=b5d09b10-f170-47cd-a239-ee5f7acd89dc)
69+
- Create new folder to store templates
70+
![new folder](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FyTtJ1a0iI2.png?alt=media&token=b5d09b10-f170-47cd-a239-ee5f7acd89dc)
7171

72-
+ Specify template folder location in plugin settings menu
73-
![template](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FhzZg_GJXY9.png?alt=media&token=508c8d19-1f13-4fb3-adf1-898dcf694f08)
72+
- Specify template folder location in plugin settings menu
73+
![template](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FhzZg_GJXY9.png?alt=media&token=508c8d19-1f13-4fb3-adf1-898dcf694f08)
7474

75-
+ Create new file in template folder (A) and add text to file (B)
76-
![create template file](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FtTr9vOnXnX.png?alt=media&token=dda1fe25-3ccf-42b4-8f3c-1cd29f82c3f7)
75+
- Create new file in template folder (A) and add text to file (B)
76+
![create template file](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FtTr9vOnXnX.png?alt=media&token=dda1fe25-3ccf-42b4-8f3c-1cd29f82c3f7)
7777

7878
![add node types](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FYRZ6ocI_d-.png?alt=media&token=c623bec7-02bd-42b4-a994-cd1c40a54d82)
7979
- Click "Save Changes"
80+
8081
#### Edit Relation Types
81-
- Under "Relation Types," click "Add Relationship Type"
82-
- A relation type is a kind of relationship that can exist between any two node types
83-
- Enter a name for your relationship (e.g., "supports", "contradicts")
84-
- Enter the complement label (e.g., "is supported by", "is contradicted by")
85-
![add relation type](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Fjk367dcO_K.png?alt=media&token=22d74e9f-882c-434b-8b50-afd7a754fb2b)
86-
- Click "Save Changes"
82+
83+
- Under "Relation Types," click "Add Relationship Type"
84+
- A relation type is a kind of relationship that can exist between any two node types
85+
- Enter a name for your relationship (e.g., "supports", "contradicts")
86+
- Enter the complement label (e.g., "is supported by", "is contradicted by")
87+
![add relation type](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Fjk367dcO_K.png?alt=media&token=22d74e9f-882c-434b-8b50-afd7a754fb2b)
88+
- Click "Save Changes"
89+
8790
#### Define possible relations between nodes
91+
8892
- Open the Discourse Relations tab in the Discourse Graph settings
89-
![discourse relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FNgm7Ha4Ul5.png?alt=media&token=a933bd3a-d9a6-42c1-9c6e-d779d41c7ebf)
93+
![discourse relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FNgm7Ha4Ul5.png?alt=media&token=a933bd3a-d9a6-42c1-9c6e-d779d41c7ebf)
9094
- Choose Source Node Type, Relation Type, and Target Node Type
91-
![choose relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FlflJBkfdaK.png?alt=media&token=5de9617c-6099-46e8-931f-feafc604cabb)
95+
![choose relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FlflJBkfdaK.png?alt=media&token=5de9617c-6099-46e8-931f-feafc604cabb)
9296
- Once you see the source, relation, and target selected:
93-
![final relations](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FycPW-N-rY8.png?alt=media&token=54867be2-9030-4c6c-82d2-b96069e52d81)
94-
E.g: this means that *Claim* nodes can supports *Questions* nodes
97+
![final relations](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FycPW-N-rY8.png?alt=media&token=54867be2-9030-4c6c-82d2-b96069e52d81)
98+
E.g: this means that _Claim_ nodes can supports _Questions_ nodes
9599
- Click "Save changes"
96100

97101
## Using Discourse Graphs
98102

99103
### Instantiate a Node
100104

101105
- Select the text you want to turn into a Discourse Node
102-
![select text](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FInIer-iPGs.png?alt=media&token=fad214f6-f426-4249-8b0a-d5a403894600)
106+
![select text](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FInIer-iPGs.png?alt=media&token=fad214f6-f426-4249-8b0a-d5a403894600)
103107
- There are two ways you can create a node from here:
104-
105-
1. Using command keys: Cmd + \
106-
<br>
108+
1. Using command keys: Cmd + \
109+
<br>
107110
- As you press these keys, the Node Menu will open up as a popup
108-
111+
109112
![node menu](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FS6eU6y70eX.png?alt=media&token=00e61ddf-877b-4752-a65b-272e80a0a19c)
110113
- Select the node type you want to turn the text into
111114
- Voila, you've created a new discourse node
112-
![node created](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F1VNkJC0aH8.png?alt=media&token=df9a26aa-997b-4b56-a307-87a80e350b28)
113-
115+
![node created](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F1VNkJC0aH8.png?alt=media&token=df9a26aa-997b-4b56-a307-87a80e350b28)
114116
2. Right-click menu:
115117
- Alternatively, you can right-click on the selected text
116-
![right click menu](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4UqeVkqLz7.png?alt=media&token=d2373152-d251-45fe-afb6-56373d6092aa)
117-
- Then choose a node type from the "Turn into Discourse Node" menu
118+
![right click menu](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4UqeVkqLz7.png?alt=media&token=d2373152-d251-45fe-afb6-56373d6092aa)
119+
- Then choose a node type from the "Turn into discourse node" menu
118120

119121
### Open Discourse Context
120122

121-
- Click on the telescope icon on the left bar
122-
![open discourse context](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab)
123+
- Click on the telescope icon on the left bar
124+
![open discourse context](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab)
123125
- Alternatively, you can set a hotkey to toggle the Discourse Context view or access it via the Command Palette
124-
![command palette](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F5ybScaQISO.png?alt=media&token=2b36f0e7-4247-47b7-a53d-c784dfd4609b)
126+
![command palette](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F5ybScaQISO.png?alt=media&token=2b36f0e7-4247-47b7-a53d-c784dfd4609b)
125127

126128
### Instantiate a Relationship
127129

128130
1. Open a note that you want to create a relationship from
129131
2. Open the Discourse Context
130-
![open discourse context](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab)
132+
![open discourse context](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab)
131133
3. Click "Add a new relation"
132134
4. The dropdown that shows Relationship Types will be all available relations that you have defined in the setings.
133-
<br> It will also show you what node type you can link with
134-
![add relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FXQsgznWuV2.png?alt=media&token=9442b9fa-0904-4847-8eb8-a5791705c4c5)
135+
<br> It will also show you what node type you can link with
136+
![add relation](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FXQsgznWuV2.png?alt=media&token=9442b9fa-0904-4847-8eb8-a5791705c4c5)
135137
5. Search the nodes you want to link with by the title
136-
![search](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4NW4UjYDrC.png?alt=media&token=bae307d0-ebec-4e6b-a03d-0943d9d03754)
138+
![search](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4NW4UjYDrC.png?alt=media&token=bae307d0-ebec-4e6b-a03d-0943d9d03754)
137139
6. Click "Confirm", now a new relationship has been created
138-
![relationship created](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FK8XAhCqrUL.png?alt=media&token=a559c477-c7f6-4b3e-8b00-ece7da5d4fec)
140+
![relationship created](https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FK8XAhCqrUL.png?alt=media&token=a559c477-c7f6-4b3e-8b00-ece7da5d4fec)

apps/obsidian/src/components/BulkIdentifyDiscourseNodesModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ const BulkImportContent = ({ plugin, onClose }: BulkImportModalProps) => {
379379
className="!bg-accent !text-on-accent rounded px-4 py-2"
380380
disabled={candidates.filter((c) => c.selected).length === 0}
381381
>
382-
Identify Selected as Discourse Nodes (
382+
Identify selected as discourse nodes (
383383
{candidates.filter((c) => c.selected).length})
384384
</button>
385385
</div>
@@ -389,7 +389,7 @@ const BulkImportContent = ({ plugin, onClose }: BulkImportModalProps) => {
389389

390390
const renderIdentifyingStep = () => (
391391
<div className="text-center">
392-
<h3 className="mb-4">Identifying Files as Discourse Nodes</h3>
392+
<h3 className="mb-4">Identifying files as discourse nodes</h3>
393393
<div className="mb-4">
394394
<div className="bg-modifier-border mb-2 h-2 rounded-full">
395395
<div

apps/obsidian/src/components/DiscourseContextView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const DiscourseContext = ({ activeFile }: DiscourseContextProps) => {
7878

7979
return (
8080
<div>
81-
<h3 className="dg-h3">Discourse Context</h3>
81+
<h3 className="dg-h3">Discourse context</h3>
8282
{renderContent()}
8383
</div>
8484
);
@@ -104,7 +104,7 @@ export class DiscourseContextView extends ItemView {
104104
}
105105

106106
getDisplayText(): string {
107-
return "Discourse Context";
107+
return "Discourse context";
108108
}
109109

110110
getIcon(): string {

apps/obsidian/src/components/GeneralSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ const GeneralSettings = () => {
231231

232232
<div className="setting-item">
233233
<div className="setting-item-info">
234-
<div className="setting-item-name">Discourse Nodes folder path</div>
234+
<div className="setting-item-name">Discourse nodes folder path</div>
235235
<div className="setting-item-description">
236-
Specify the folder where new Discourse Nodes should be created.
236+
Specify the folder where new discourse nodes should be created.
237237
Leave empty to create nodes in the root folder.
238238
</div>
239239
</div>

apps/obsidian/src/components/ModifyNodeModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export const ModifyNodeForm = ({
256256

257257
return (
258258
<div>
259-
<h2>{isEditMode ? "Modify Discourse Node" : "Create Discourse Node"}</h2>
259+
<h2>{isEditMode ? "Modify discourse node" : "Create discourse node"}</h2>
260260
<div className="setting-item">
261261
<div className="setting-item-name">Type</div>
262262
<div className="setting-item-control">
@@ -466,4 +466,4 @@ class ModifyNodeModal extends Modal {
466466
contentEl.empty();
467467
}
468468
}
469-
export default ModifyNodeModal;
469+
export default ModifyNodeModal;

apps/obsidian/src/components/canvas/TldrawViewComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export const TldrawPreviewComponent = ({
384384
tools: (editor, tools) => {
385385
tools["discourse-node"] = {
386386
id: "discourse-node",
387-
label: "Discourse Node",
387+
label: "Discourse node",
388388
readonlyOk: false,
389389
icon: "discourseNodeIcon",
390390
onSelect: () => {
@@ -393,7 +393,7 @@ export const TldrawPreviewComponent = ({
393393
};
394394
tools["discourse-relation"] = {
395395
id: "discourse-relation",
396-
label: "Discourse Relation",
396+
label: "Discourse relation",
397397
readonlyOk: false,
398398
icon: "tool-arrow",
399399
onSelect: () => {

apps/obsidian/src/components/canvas/shapes/nodeConstants.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Constants for Discourse Node styling and sizing.
2+
* Constants for discourse node styling and sizing.
33
* These values match the Tailwind classes used in DiscourseNodeShape component.
4-
*
4+
*
55
* IMPORTANT: If you change these values, you must also update:
66
* - The Tailwind classes in DiscourseNodeShape.tsx (line ~263)
77
* - The measurement function in measureNodeText.ts
@@ -44,4 +44,3 @@ export const IMAGE_GAP = 4;
4444

4545
// Base height for nodes without images (estimated)
4646
export const BASE_HEIGHT_NO_IMAGE = 100;
47-

apps/obsidian/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default class DiscourseGraphPlugin extends Plugin {
109109
(leaf) => new DiscourseContextView(leaf, this),
110110
);
111111

112-
this.addRibbonIcon("telescope", "Toggle Discourse Context", () => {
112+
this.addRibbonIcon("telescope", "Toggle discourse context", () => {
113113
this.toggleDiscourseContextView();
114114
});
115115

@@ -181,7 +181,7 @@ export default class DiscourseGraphPlugin extends Plugin {
181181
if (!editor.getSelection()) return;
182182

183183
menu.addItem((menuItem) => {
184-
menuItem.setTitle("Turn into Discourse Node");
184+
menuItem.setTitle("Turn into discourse node");
185185
menuItem.setIcon("file-type");
186186

187187
// Create submenu using the unofficial API pattern

apps/obsidian/src/services/QueryEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class QueryEngine {
3838
}
3939

4040
/**
41-
* Search across all Discourse Nodes (files that have frontmatter nodeTypeId)
41+
* Search across all discourse nodes (files that have frontmatter nodeTypeId)
4242
*/
4343
searchDiscourseNodesByTitle = async (
4444
query: string,

0 commit comments

Comments
 (0)