diff --git a/CHANGELOG.md b/CHANGELOG.md index 7947775..21529e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.0] - 2023-11-10 + +### Changed + +- Improve table of contents: + - Add `.bookmark` element to individual extension sections to ensure there is an accurate location from the table of contents that does not result in upper rows of the snippets table being partially obscured. + - Add an entry for category sections to table of contents even if there are no snippets for that category. +- Add a custom margin for paragraphs to make spacing more consistent. + ## [1.4.0] - 2023-11-10 ### Changed diff --git a/package.json b/package.json index a2d90a7..669533e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "description": "View and edit all your snippets in one purty place. Yee-haw!", "icon": "img/logo.webp", - "version": "1.4.0", + "version": "1.5.0", "engines": { "vscode": "^1.4.0", "node": ">=12.0.0" diff --git a/src/view/category-section.js b/src/view/category-section.js index 5807e1c..e3caac4 100644 --- a/src/view/category-section.js +++ b/src/view/category-section.js @@ -4,7 +4,7 @@ let { } = require("./file-section"); let format = require("../helper/format"); -const notFoundHTML = `
Oucho Gaucho! 🌵 Nothing to round up! ðŸ¤
`; +const notFoundHTML = `Oucho Gaucho! 🌵 Nothing to round up! ðŸ¤
`; /** * Creates the HTML for a section for a category of snippets e.g. "project" for snippets defined in @@ -44,7 +44,7 @@ let createExtensionCategorySection = (extensions) => { extensions.forEach((extension) => { let id = format.slugify(extension.id); - section += `Oucho Gaucho!`; + let expected = `
Oucho Gaucho!`; assert.strictEqual(section.includes(expected), true); }); diff --git a/todo.md b/todo.md index a0340f1..d96198f 100644 --- a/todo.md +++ b/todo.md @@ -1,8 +1,5 @@ # To Do -1. Redo creating webp of logo. Quality is a bit too low. -1. TOC entry for an extension leds to view with first row of the first file table being slightly obscured. - ## Changes to consider 1. Support for multi-root workspaces. For multi-root workspaces, a sub workspace can have its own snippets in its *.vscode* folder. You would need look in the `.code-workspace` to discover the sub workspaces and inspect them.