Skip to content

Commit

Permalink
Renamed strings from Dendron to Structured
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Svarverud committed Jul 20, 2024
1 parent 9620b5b commit 42308f7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Structured Dendron Tree
# Structured Tree

Structured Dendron Tree adds a tree for exploring and managing hierarchical notes similar to [Dendron](https://www.dendron.so/). Features:
Structured Tree adds a tree for exploring and managing hierarchical notes similar to [Dendron](https://www.dendron.so/). Features:
![Dendron Tree](images/dendron-tree.png)

Features:
Expand All @@ -11,9 +11,9 @@ Features:
- Multi vault support
- Custom resolver and renderer for link and embed

## Dendron Tree
## Structured Tree

To view the Dendron Tree you can select "Open Dendron Tree" in the Application's Ribbon bar.
To view the Structured Tree you can select "Open Dendron Tree" in the Application's Ribbon bar.

A note with an orange circle indicator
(![Note without corresponding file](images/note-without-file.png)) is a note that does not have a
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class DendronTreePlugin extends Plugin {

this.registerView(VIEW_TYPE_DENDRON, (leaf) => new DendronView(leaf, this));

this.addRibbonIcon(dendronActivityBarName, "Open Dendron Tree", () => {
this.addRibbonIcon(dendronActivityBarName, "Open Structured Tree", () => {
this.activateView();
});

Expand Down Expand Up @@ -157,7 +157,7 @@ export default class DendronTreePlugin extends Plugin {
menu.addItem((item) => {
item
.setIcon(dendronActivityBarName)
.setTitle("Reveal in Dendron Tree")
.setTitle("Reveal in Structured Tree")
.onClick(() => this.revealFile(file));
});
};
Expand Down
6 changes: 2 additions & 4 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export class DendronTreeSettingTab extends PluginSettingTab {
const { containerEl } = this;

containerEl.empty();

containerEl.createEl("h2", { text: "Dendron Tree Settting" });

new Setting(containerEl)
.setName("Deletion Method")
Expand All @@ -61,7 +59,7 @@ export class DendronTreeSettingTab extends PluginSettingTab {

new Setting(containerEl)
.setName("Auto Generate Front Matter")
.setDesc("Generate front matter for new file even if file is created outside of Dendron tree")
.setDesc("Generate front matter for new file even if file is created outside of Structured tree")
.addToggle((toggle) => {
toggle.setValue(this.plugin.settings.autoGenerateFrontmatter).onChange(async (value) => {
this.plugin.settings.autoGenerateFrontmatter = value;
Expand All @@ -71,7 +69,7 @@ export class DendronTreeSettingTab extends PluginSettingTab {

new Setting(containerEl)
.setName("Auto Reveal")
.setDesc("Automatically reveal active file in Dendron Tree")
.setDesc("Automatically reveal active file in Structured Tree")
.addToggle((toggle) => {
toggle.setValue(this.plugin.settings.autoReveal).onChange(async (value) => {
this.plugin.settings.autoReveal = value;
Expand Down
2 changes: 1 addition & 1 deletion src/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class DendronView extends ItemView {
}

getDisplayText() {
return "Dendron Tree";
return "Structured Tree";
}

async onOpen() {
Expand Down

0 comments on commit 42308f7

Please sign in to comment.