Skip to content

0.1.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 09:23
· 3 commits to master since this release
1168049

Full Changelog: 0.1.0...0.1.1

中文

修复

  • 编辑完一个格子后,撤销(Ctrl/Cmd+Z)要先把光标点回表格才生效——现在编辑一结束就能撤销;Ctrl/Cmd+Shift+Z、Ctrl/Cmd+Y 同样修好。
  • 底部状态栏的行号按"文件里的记录顺序"计算,和左侧行号列对不上,排序或筛选后差得更远;现在改按当前视图的行号。

调整

  • 安装目录改名为 layer-base:插件 id 从 obsidian-layer-base 改成 layer-base,因为 Obsidian 目录不允许 id 里含 "obsidian"。装过 0.1.0 的请先删掉 .obsidian/plugins/obsidian-layer-base/ 再装 0.1.1。
  • 新建入口三处统一为新建多维看板:功能区、命令面板、右键文件夹(0.1.0 里是三种不同写法)。
  • 新建文件的默认名跟随界面语言:中文下是「未命名看板」,不再固定英文 Untitled board;设置里留空即跟随语言,旧的默认值会自动迁移,手动填过的名字不受影响。
  • README 增加了表格视图和看板视图两张截图。

升级:用新版的 main.js、manifest.json、styles.css 覆盖即可(目录换成 layer-base)。.layer 数据格式没有变化,不需要迁移。Release 页面另外提供 layer-base-0.1.1.zip,里面就是这三个文件,不含外层目录。

English

Fixed

  • Undo (Ctrl/Cmd+Z) did nothing after an edit until the table was clicked again; it now works the moment the edit ends. Same for Ctrl/Cmd+Shift+Z and Ctrl/Cmd+Y.
  • The status bar counted rows in file order rather than the order the view draws them, so it disagreed with the row numbers — and drifted further under a sort or filter. It now counts the way the view shows.

Changed

  • The install folder is now layer-base: the plugin id changed from obsidian-layer-base to layer-base, because the community directory does not allow an id containing "obsidian". If you installed 0.1.0, delete .obsidian/plugins/obsidian-layer-base/ before installing 0.1.1.
  • All three ways in now say New board: the ribbon, the command palette and the folder menu (0.1.0 used three different names).
  • A new file is named in the reader's language (中文:未命名看板) instead of always Untitled board. The previously stored default is migrated; a name you typed is kept.
  • The README shows the table and board views.

Upgrading: replace main.js, manifest.json and styles.css, in the layer-base folder. The .layer format is unchanged. The release also carries layer-base-0.1.1.zip, which holds exactly those three files with no wrapping folder.