Skip to content

Theme outline scrollbars, add compact code controls, and fix CI audit - #106

Merged
BinaryOutlook merged 2 commits into
mainfrom
feat/palette-scrollbar-code-icons
Oct 28, 2026
Merged

BinaryOutlook merged 2 commits into
mainfrom
feat/palette-scrollbar-code-icons

Conversation

@BinaryOutlook

@BinaryOutlook BinaryOutlook commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Long outlines now use scrollbar colors from the active palette, and experienced users can collapse code-block action labels to icons. This PR also fixes the dependency audit that blocked VSIX CI.

The new binary-markdown.codeBlockActionLabels setting defaults to true and has VS Code window scope through user/workspace settings. Desktop Preferences exposes Show code block action labels. The saved choice updates open editors immediately. Disabling it hides only Copy code, Wrap code, and Open in Text Editor labels; icons, accessible names, tooltips, language selection, wrap status, and error messages remain available.

The outline scrollbar uses active text/sidebar tokens, updates while the outline stays open, and uses system colors in forced-colors mode. Also fix Enter on Open in Text Editor reaching the code-editing handler when a code caret is retained.

Dependency remediation

The root runtime/build graph used by VSIX CI now reports zero vulnerabilities after a clean npm ci.

Dependency Before After
markdown-it 14.3.1 14.3.3
DOMPurify (bundled by Mermaid) 3.4.16 3.4.17
fast-uri 3.1.8 3.1.9
qs 6.16.0 6.17.0
VSCE's Azure Identity / MSAL 4.13.2 / 5.6.0 Scoped Identity 4.13.0 / MSAL 3.8.10
UUID beneath VSCE's MSAL Not used by the previous MSAL 5 chain Scoped 11.1.1 for the MSAL 3 branch

The current Azure Identity 4.13.2/4.14.0 releases select MSAL versions affected by GHSA-xcx6-jx8p-x3h5. A scoped VSCE override uses Identity 4.13.0's unaffected MSAL 3 branch and preserves SDK compatibility. UUID 11.1.1 fixes GHSA-w5hq-g745-h8pq and retains the CommonJS v4() API used by that branch. Revisit these temporary pins when the upstream SDK supports patched MSAL. The added regression exercises VSCE's credential constructors and MSAL GUID generation through the actual nested resolver without requesting tokens.

Before/after and visual evidence

Case Before After
Long outline Native scrollbar ignores the palette Palette-colored thumb/track; browser regression checks at least 3:1 contrast across all seven palettes
Code controls Action labels always shown Optional 28 px icon controls; labels remain on by default
Open action with a code caret Enter inserts a newline instead of opening Enter opens the host text editor and preserves source

Independently reviewed the production browser UI in all seven palettes with labels on/off, at 320 px in both states, and in forced-colors mode. All 17 refreshed captures after the dependency update are pixel-identical to those reviewed renders. Before/after captures use synthetic content and baseline/current CSS in the same fixture.

Validation

  • Clean install and root npm audit: zero vulnerabilities at every severity.
  • Node 24.21.0: full compilation, development VSIX packaging, and Electron TypeScript check passed.
  • Full unit suite: 437 passed, 19 optional checks skipped; separate opt-in packaged-VSIX check: 1 passed.
  • Expanded browser suites: 179 passed, Chromium 154.0.8037.57, CI=1, two workers, zero retries. Covers parsing/round trips, Mermaid, exports, both production host generators, preference defaults/live changes, selection/edit mode, undo/redo, source preservation, keyboard controls, outline overflow, palette changes, token overrides, and forced colors.
  • Packaged Mermaid inventory and actual bundle verified to contain DOMPurify 3.4.17.
  • Lint: zero errors, 11 existing warnings. Localization, documentation/link checks, raw/rendered guide review, and whitespace checks passed.
  • Independent subagent reviews completed for both the QoL implementation and the dependency remediation, with no outstanding findings.
  • Full PR CI run 170 passed for PR head f1fa29cc5fee9498cde567f9d99f61e465f7ee2c (test merge 832cf2aa1d0633db0d5ff749fcd49d03f53a99a7): dependency audit, clean candidate build, all four native lanes, all nine browser shards, and the required VSIX validation gate succeeded.

Scope: palette-aware outline scrolling, compact code actions and keyboard behavior, persisted/localized preference wiring, dependency remediation, focused regressions, and the editor guide. CI/security gates remain enabled. No product version change.

Local browser checks and packaging do not establish installed-host behavior on other operating systems. Live Azure authentication was not exercised. The separate Electron package manifest retains its own pre-existing audit findings and needs a separate runtime/builder upgrade; it is not part of the VSIX audit remediated here. No merge or release is included.

@BinaryOutlook
BinaryOutlook marked this pull request as ready for review October 28, 2026 08:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T08:50:01.376725Z 967ea22 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Update markdown-it to 14.3.3 and the locked DOMPurify, fast-uri, and qs versions to their patched releases.

Scope the VSCE authentication SDK to Identity 4.13.0, whose MSAL 3 branch avoids the authorization-code disclosure advisory. Current Identity releases select affected MSAL 5/6 versions. Scope UUID 11.1.1 under that MSAL dependency to fix the UUID bounds-check advisory while retaining its CommonJS v4 API.

Add a regression that constructs the credential chain and exercises MSAL GUID generation without requesting credentials. The root runtime/build graph passes a clean-install npm audit with zero vulnerabilities; the separate Electron dependency graph is unchanged.
@BinaryOutlook BinaryOutlook changed the title Theme outline scrollbars and add icon-only code controls Theme outline scrollbars, add compact code controls, and fix CI audit Oct 28, 2026
@BinaryOutlook
BinaryOutlook merged commit 402671f into main Oct 28, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant