mirror of
https://github.com/danderson1988/visual-notes.git
synced 2026-07-22 08:30:17 +00:00
A tile could target the very board it lives on, producing a "dead end"
tile that appeared to do nothing when clicked — reported as "cannot
get into my canvas" after the user's grid board's target picker
offered (and they picked) itself, likely the only entry in a fresh
vault. TileModal's board/canvas pickers now exclude the current board,
saving a self-link is refused, and clicking an already-saved
self-linked tile explains the problem instead of silently doing
nothing (view.ts's navigateToBoard).
Also relabels the New Board dialog ("Canvas"/"Tile grid" instead of
"Freeform"/"Grid", canvas now the default — the grid default was part
of how the user ended up here) and adds a small layout badge to every
board's header, since grid and canvas boards are otherwise visually
identical (same extension, same icon).
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "visual-notes",
|
|
"version": "1.0.38",
|
|
"description": "Visual Notes — a visual workspace for Obsidian",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"generate-templates": "node scripts/generate-starter-templates.mjs",
|
|
"generate-benchmarks": "node scripts/generate-benchmark-boards.mjs",
|
|
"predev": "npm run generate-templates",
|
|
"dev": "node esbuild.config.mjs",
|
|
"pretypecheck": "npm run generate-templates",
|
|
"typecheck": "tsc --noEmit -p .",
|
|
"pretest": "npm run generate-templates",
|
|
"test": "vitest run",
|
|
"build": "npm run typecheck && node esbuild.config.mjs production"
|
|
},
|
|
"keywords": [],
|
|
"author": "Daniel Anderson",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danderson1988/visual-notes.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/danderson1988/visual-notes/issues"
|
|
},
|
|
"homepage": "https://github.com/danderson1988/visual-notes#readme",
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/sortablejs": "^1.15.9",
|
|
"@vitest/coverage-v8": "^4.1.10",
|
|
"esbuild": "^0.21.5",
|
|
"jsdom": "^29.1.1",
|
|
"obsidian": "1.13.0",
|
|
"tslib": "^2.6.3",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"dependencies": {
|
|
"html-to-image": "^1.11.13",
|
|
"sortablejs": "^1.15.7"
|
|
}
|
|
}
|