Merge branch 'main' of github.com:modrinth/code into chyz/comark

# Conflicts:
#	pnpm-lock.yaml
This commit is contained in:
chyzman
2026-08-28 17:56:45 -04:00
466 changed files with 27722 additions and 9097 deletions
+9
View File
@@ -132,6 +132,15 @@ const keybinds: { [id: string]: KeybindListener } = {
globalThis.open(ctx.officialUrl, '_blank', 'noopener,noreferrer')
},
},
'open-localhost': {
keybind: [],
description: 'Open current page on localhost',
scope: 'global',
enabled: () => !isLocalhost(),
action: (ctx) => {
globalThis.open(ctx.localhostUrl, '_blank', 'noopener,noreferrer')
},
},
'copy-official-site': {
keybind: 'Ctrl+Shift+O',
description: 'Copy production/staging URL (localhost only)',
@@ -58,6 +58,7 @@ export type ModerationTechReviewContext = {
export type ModerationGlobalContext = {
scope: 'global'
officialUrl: string
localhostUrl: string
notifyCopied: (value: string, title: string) => void
}