fmt(js): npm run fix on merge (#103110)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-09-04 18:28:32 +00:00
committed by GitHub
parent 1d1411df9c
commit 59d330fd15
5 changed files with 10 additions and 1 deletions
+2
View File
@@ -6733,6 +6733,7 @@ async function showPluginCompatNoticeOnce() {
if (!mainWindow || mainWindow.isDestroyed()) {
return
}
let notice
try {
@@ -6746,6 +6747,7 @@ async function showPluginCompatNoticeOnce() {
if (!notice) {
return
}
pluginCompatNoticeShown = true
rememberLog(`[plugins] compat notice shown (${notice.key})`)
@@ -73,6 +73,7 @@ test('dismissal is remembered for the same report and forgotten for a different
...REPORT,
plugins: { ...REPORT.plugins, gamma: [{ file: 'g.py', line: 1, old: 'x.y', new: 'z.y' }] }
}
fs.writeFileSync(path.join(home, REPORT_FILE), JSON.stringify(grown))
const second = pendingNotice(home, userData)
assert.ok(second)
@@ -87,6 +87,7 @@ export function recordDismissed(userData: string, key: string): void {
if (!keys.includes(key)) {
keys.push(key)
}
fs.mkdirSync(userData, { recursive: true })
fs.writeFileSync(file, JSON.stringify({ keys: keys.slice(-20) }, null, 2))
}
@@ -105,11 +106,13 @@ export function pendingNotice(hermesHome: string, userData: string): PendingNoti
if (!report) {
return null
}
const key = reportKey(report)
if (wasDismissed(userData, key)) {
return null
}
const names = Object.keys(report.plugins).sort()
const list = names
@@ -136,6 +136,7 @@ describe('PaneTab hover close button', () => {
<PaneTabLabel>BROWSER</PaneTabLabel>
</PaneTab>
)
const withClose = classesOf('BROWSER')
closeable.unmount()
@@ -162,6 +163,7 @@ describe('PaneTab hover close button', () => {
<PaneTabLabel>BROWSER</PaneTabLabel>
</PaneTab>
)
const withClose = classesOf('BROWSER')
railed.unmount()
+2 -1
View File
@@ -36,7 +36,8 @@ const TAB_CLOSEABLE = 'min-w-13'
const TAB_VERTICAL =
'w-full max-h-48 justify-center not-first:border-t not-first:border-t-(--ui-stroke-quaternary) [writing-mode:vertical-rl]'
const TAB_ACTIVE = 'h-full text-foreground [--tab-surface:var(--pane-tab-active-bg,var(--ui-editor-surface-background))]'
const TAB_ACTIVE =
'h-full text-foreground [--tab-surface:var(--pane-tab-active-bg,var(--ui-editor-surface-background))]'
// Horizontal only: the active tab is the sole seam on the strip — a
// theme-primary underline drawn as an inset shadow in its own last pixel row,