chore: promote development to main (2026-08-21) - #61
Merged
Conversation
Co-authored-by: Wikid82 <jhatfield82@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Extension had zero test coverage prior to this. Adds a minimal 'vscode' module mock (just the EventEmitter/window/TreeItem/ThemeIcon surface BookmarkStore and its class hierarchy touch at import time) so the store's add/dedupe/remove/move/folder-cascade logic and the label-formatting helper can run outside a VS Code host. Wires npm run test into CI and the local dep-update sweep.
Exports the remaining internal pieces of extension.ts (BookmarksTreeProvider, FolderGroupItem, BookmarkTreeItem, toBookmark, and the command handler functions) and adds tests for all of them: the tree/list view-mode grouping and sorting, folder pick/create/rename/delete flows, the active-file and multi-select bookmark commands, and activate()'s command registration. Coverage: 100% statements/functions/lines, 93.75% branches. Adds codecov.yml (project + patch, both 85% target/1% threshold, mirroring Charon/Hestia) and a CI upload step. Adds scripts/local-patch-report.sh, a single-package port of Hestia's script, so patch coverage can be checked locally before a CI round-trip. Adds CLAUDE.md with a Definition of Done section documenting the gate.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#36) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Adds a renameBookmark command (context menu on a bookmark item, mirroring renameFolder) that lets users override the filename-derived label so bookmarks with the same filename across repos can be told apart. Closes #37
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Wikid82 <jhatfield82@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Adds an explicit `order` field to Bookmark/BookmarkFolder and wires BookmarksTreeProvider up as a vscode.TreeDragAndDropController so users can drag to reorder bookmarks within a folder/list, reorder folders, and drag a bookmark onto a folder to move it. Items sort by `order` when set, falling back to the existing createdAt/name ordering for anything not yet touched by a drag. Closes #38
Adds a real integration-testing layer alongside the vitest unit
suite: test/e2e/*.test.ts runs against the built extension inside an
actual VS Code Extension Development Host (@vscode/test-cli +
@vscode/test-electron), exercising command registration, the tree
view, and workspaceState through the real vscode API instead of the
vitest mock. activate() now returns a small { store, provider } API
so e2e tests can inspect state the UI alone doesn't expose.
Wires `npm run test:e2e` into a new CI job (xvfb-run on Linux), and
updates the Definition of Done in CLAUDE.md to require e2e coverage
for new user-facing commands/tree behavior alongside unit tests, not
as a substitute for them.
Also overrides mocha's stale diff/serialize-javascript transitive
deps to close a high-severity npm audit finding pulled in by
@vscode/test-cli.
…tegration-tests # Conflicts: # extension.ts
# Conflicts: # .vscodeignore # CLAUDE.md # extension.ts # package-lock.json # package.json # test/bookmarkStore.test.ts # test/vscode-mock.ts # vitest.config.mts
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promote development to main
Date: 2026-08-21
Trigger: Feature Release
CI on development HEAD: https://github.com/Wikid82/Workspace-File-Bookmarks/actions/runs/32525838635
Commits being promoted
Merge instructions — important
Use "Create a merge commit", not squash or rebase. Squashing collapses every
feat:/fix:commit into one bullet-list body, which release-please can't parse —version bumps and changelog entries silently stop working.
Opened automatically by Promote development to main.