Skip to content

Commit

Permalink
feat: use standard layout
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Oct 29, 2024
1 parent d954a58 commit 6acc513
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
],
"excludes": ["**/node_modules", "**/*-lock.json"],
"plugins": [
"https://plugins.dprint.dev/typescript-0.84.4.wasm",
"https://plugins.dprint.dev/json-0.17.2.wasm",
"https://plugins.dprint.dev/markdown-0.15.2.wasm"
"https://plugins.dprint.dev/typescript-0.93.1.wasm",
"https://plugins.dprint.dev/json-0.19.4.wasm",
"https://plugins.dprint.dev/markdown-0.17.8.wasm"
]
}
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"reset": "rimraf ./**/node_modules",
"clean": "rimraf dist",
"prepare": "husky install",
"update": "npm-check-updates -u",
"update": "npm-check-updates -u && dprint config update",
"new": "tiddlywiki-plugin-dev new",
"build:library": "npm run clean && tiddlywiki-plugin-dev build --library --output dist/library",
"publish:offline": "npm run clean && tiddlywiki-plugin-dev publish --offline"
Expand All @@ -33,21 +33,21 @@
]
},
"devDependencies": {
"@modern-js/tsconfig": "^2.54.5",
"@types/node": "^20.14.9",
"dprint": "^0.47.0",
"@modern-js/tsconfig": "^2.60.5",
"@types/node": "^22.8.2",
"dprint": "^0.47.5",
"eslint-config-tidgi": "^1.2.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"postcss": "^8.4.39",
"rimraf": "^5.0.7",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"postcss": "^8.4.47",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tw5-typed": "^0.5.11",
"typescript": "^5.5.3"
"tw5-typed": "^0.5.14",
"typescript": "^5.6.3"
},
"dependencies": {
"npm-check-updates": "^16.14.20",
"tiddlywiki": "^5.3.4",
"tiddlywiki-plugin-dev": "^0.2.1"
"npm-check-updates": "^17.1.9",
"tiddlywiki": "^5.3.5",
"tiddlywiki-plugin-dev": "^0.3.2"
}
}
6 changes: 3 additions & 3 deletions src/intention-tower-knowledge-graph/components/Buttons.tid
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ title: $:/plugins/linonetwo/intention-tower-knowledge-graph/Components/Buttons
</$button>
\end

\procedure back-to-default-layout-button()
\procedure back-to-standard-layout-button()
<$button>
<$action-setfield
$tiddler="$:/layout"
text=""
$timestamp="no"
/>
{{$:/core/images/default-layout}}
<<lingo BackToDefaultLayout>>
{{$:/core/images/standard-layout}}
<<lingo BackToStandardLayout>>
</$button>
\end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Intention: Intention
Project: Project
Task: Task
Tags: Tags
BackToDefaultLayout: Back To Default Layout
BackToStandardLayout: Back To Standard Layout
Configs/Description: These settings let you customise the behaviour of "Intention Tower Knowledge Graph" plugin.
Tabs/TaskArchive: Task Archive
Tabs/PriorityTaskList: Priority Task List
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Intention: 意义
Project: 项目
Task: 任务
Tags: 标签
BackToDefaultLayout: 返回默认布局
BackToStandardLayout: 返回标准布局
Configs/Description: 通过这些设置,您可以自定义「意义之塔与知识图谱」插件的行为。
Tabs/TaskArchive: 任务归档
Tabs/PriorityTaskList: 优先任务列表
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ title: $:/plugins/linonetwo/intention-tower-knowledge-graph/layout/IntentionTowe
</div>

<div class="itkg-intention-tower-buttons">
<<back-to-default-layout-button>>
<<back-to-standard-layout-button>>
<<create-task-without-parent>>
<<create-project-without-parent>>
<<create-intention-without-parent>>
Expand Down

0 comments on commit 6acc513

Please sign in to comment.