settings: trayNoNumber is a key magpie settings sets, and GET /api/quit is the window's own (#4793, #4794)
da275848bsaved trayNoNumber without naming it in settingsapi.Keys, and8826a15eaadded GET /api/quit without naming it in the CLI parity table, so TestKeysAreWhatTheSaveWrites, TestSettingsCLISetsWhatTheWindowSaves and TestEveryRouteHasACommandOrIsNamed have been red on main since. /api/quit only reads which agents the window's Quit question names, so it is the window's own (W), with nothing to do in a terminal. Run ata8e98e1abplus this, on mote: go test -tags nogui -count=1 ./internal/settingsapi ./internal/cli ./internal/settings: ok. The same three tests were red at6b3a6d42cwithout it.
This commit is contained in:
@@ -172,6 +172,7 @@ var notYet = map[string]string{
|
||||
"GET /api/drift": A, // api.go
|
||||
"GET /api/notices": W, // api.go
|
||||
"GET /api/omarchy": W, // api.go
|
||||
"GET /api/quit": W, // api.go: the window's Quit question
|
||||
"GET /api/state": W, // api.go
|
||||
"POST /api/agents/{action}/{id}": A, // api.go
|
||||
"POST /api/agents/arrange": W, // api.go
|
||||
|
||||
@@ -33,7 +33,7 @@ var Keys = []string{
|
||||
"tray", "dock", "dockWindow", "dockNever", "lightweight", "keepAwake", "keepAwakeDisplay",
|
||||
"noWSLAgents", "sessionTerminal", "signInLinkOnly",
|
||||
// the menu bar's allowance cards
|
||||
"trayUsages", "trayUsage", "trayUsageEvery", "trayNoLogos", "trayNoBird", "trayPace", "trayNoCost", "trayWindows",
|
||||
"trayUsages", "trayUsage", "trayUsageEvery", "trayNoLogos", "trayNoBird", "trayNoNumber", "trayPace", "trayNoCost", "trayWindows",
|
||||
// usage and alerts
|
||||
"currency", "chineseUnits", "usageAlert", "balanceAlert", "resetReminder", "turnDoneAlert", "maskAlert",
|
||||
// network
|
||||
|
||||
Reference in New Issue
Block a user