feat: per-mission params, default config values, and mods bug docs
- Add per-mission params to rotation (MissionRotationItem.params); falls back to default_mission_params, then omits entirely if both empty - Add key-value widget to ConfigEditor for default_mission_params field - Add MissionParamsEditor component for editing param key/value/type rows - Bump config schema to 1.1.0 with migration from 1.0.0 - Add normalize_section() to Protocol and ArmaConfigGenerator for read-time backfill of old stored rows - Set Arma3 BasicConfig and ProfileConfig defaults from basic.cfg / Administrator.Arma3Profile - Document 3 known Mods tab bugs in CLAUDE.md for next-session fix
This commit is contained in:
@@ -92,6 +92,14 @@ class ConfigGenerator(Protocol):
|
||||
"""
|
||||
...
|
||||
|
||||
def normalize_section(self, section: str, data: dict) -> dict:
|
||||
"""
|
||||
Optional: backfill / migrate a stored section dict before returning it to callers.
|
||||
Called by service.get_config_section() via hasattr guard.
|
||||
Default: return data unchanged. Implement to add new optional fields with defaults.
|
||||
"""
|
||||
return data
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class RemoteAdminClient(Protocol):
|
||||
|
||||
Reference in New Issue
Block a user