Skip to content

perf: share SQL editor themes across instances - #242

Merged
mscolnick merged 1 commit into
mainfrom
ms/share-editor-themes
Nov 25, 2026
Merged

mscolnick merged 1 commit into
mainfrom
ms/share-editor-themes

Conversation

@mscolnick

Copy link
Copy Markdown
Contributor

This pull request was authored by a coding agent.

Reuse light/dark hover themes and a single gutter theme across editors, avoiding duplicate CodeMirror style modules on each setup. Keep gutter widths editor-local through a CSS variable.

Regression tests check shared style-module identity and independent gutter widths; all three fail before the fix. All 715 tests, typecheck, and lint pass.

@mscolnick
mscolnick marked this pull request as ready for review November 25, 2026 03:03
Copilot AI balanced review requested due to automatic review settings November 25, 2026 03:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@mscolnick
mscolnick merged commit ff15cff into main Nov 25, 2026
7 checks passed
@mscolnick
mscolnick deleted the ms/share-editor-themes branch November 25, 2026 03:05
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 95.67% 1702 / 1779
🔵 Statements 95.36% 1790 / 1877
🔵 Functions 97.55% 279 / 286
🔵 Branches 89.91% 1399 / 1556
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/sql/hover.ts 99.57% 97.24% 100% 99.55% 475
src/sql/structure-extension.ts 93.33% 92.75% 100% 97.5% 155, 157, 164, 199-200
Generated in workflow #1019 for commit ff15cff by the Vitest Coverage Report Action

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.

2 participants