mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
fix(panel): replace native width input, fix select menu open reflow, and gate context window settings behind risk consent
- Replace native <input type="number"> in popover width settings with CustomNumberInput stepper and hide native number spinbuttons globally - Eliminate single/multi-select option reflow on open by removing scale(0.985) GPU layer teardown in anim-popover-in, floating .scrollbar-rail without flex width squeeze, and reconciling options before unhiding .select-menu - Gate Model Context Settings behind a persistent risk consent mask (contextWindowRiskAccepted, default false and re-locked on factory reset)
This commit is contained in:
@@ -487,6 +487,9 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
|
||||
'settings.oth.orchCompact': 'Compact Alias (e.g. orchestrator-argon)',
|
||||
'settings.oth.orchFull': 'Full Upstream ID (e.g. gemini-pro-orchestrator)',
|
||||
'settings.oth.baselineTitle': 'Model Context Settings',
|
||||
'settings.oth.ctxRiskTitle': 'Unofficial Override Risk Warning',
|
||||
'settings.oth.ctxRiskBody': 'Google has not authorized modifying model context limits in Antigravity App / IDE. Altering context limits may get your Antigravity access, GCP services, or Google account disabled or banned; enabling this feature means you assume all associated risks. Make sure you know what you are doing!',
|
||||
'settings.oth.ctxRiskAcceptBtn': 'I Understand the Risk, Unlock',
|
||||
'settings.oth.ctxModel': 'Model',
|
||||
'settings.oth.ctxBaselineLabel': 'Context Window Limit',
|
||||
'settings.oth.ctxChooseModel': 'Choose a model',
|
||||
|
||||
Reference in New Issue
Block a user