Skip to content

v1.1.0

Choose a tag to compare

@playree playree released this 15 Oct 22:44
· 146 commits to main since this release
c9569c6
  • Show Design Docs lists the design documents of the workspace (type: design_doc in their front matter) in a table of their titles, file names, versions, products, statuses and update dates, by folder, with a search box and sortable columns. Clicking a title opens its preview, and the list follows the files added, changed and deleted. The Design Docs view of the Explorer shows them as a tree of their titles, with their version and status.
  • The command line's --index-design-docs lists only the design documents in index.html, and index.html has the same search box and sortable columns.
  • Compare Design Doc with Git Revision... (the history button in the preview's title bar, also in its context menu) lists the commits of the document and shows its differences from the one chosen in the preview: the blocks added, changed and deleted are marked with green, blue and red bands, the words changed are highlighted in the changed blocks, and the old version of a changed diagram is shown folded below it. The bar at the bottom goes from one change to the next, and closes the comparison. The differences follow the edits of the document, saved or not. It needs Git.
  • The website (日本語) on GitHub Pages introduces the extension, the app for Windows, macOS and Linux, the command line and the Agent Skill. The sample design document exported to HTML has moved to /sample/ (日本語).
  • ThirdPartyNotices.txt, in the extension and the npm package, includes the licenses and copyright notices of the npm packages bundled into them (mermaid, markdown-it, DOMPurify, highlight.js and the packages they use).
  • The top of the preview has a small margin, so that the first element (such as the box of the document header) does not touch the top edge.
  • Tables of items: an HTML comment before a table (<!-- table: level=Level merge=Item,"Physical name" -->) shows two or more columns in one cell (such as the item name and the physical name), and the rows as a tree of the levels in a column, which is hidden: indented with lines, the rows with children emphasized and foldable, and the parents and children of the row under the pointer highlighted. Elsewhere, such as on GitHub, it stays a plain table. A button at the right of the header row shows the table as it is for a while (also in exported HTML). Options that cannot be applied are reported as warnings. The highlight can be turned off with mdDesignDoc.tableTreeHighlight (--no-table-tree-highlight on the command line). See examples/message-definition.ja.md for a sample in Japanese. The authoring guide for AI assistants and the Agent Skill tell how to write them.