Commit d5658ca
committed
feat: three-tier preserved variables with server exclusions and visual UI
Implement comprehensive preservation system with priority-based resolution,
server exclusions, and rich visual indicators.
Backend:
- Add 3-tier priority: server-specific (P1) > cluster (P2) > defaults (P3)
- Implement .exclude suffix for per-variable server exclusions
- Add metadata fields: preservedSource, preservedPriority, isExcludedFromCluster
- Add 40+ test assertions across 7 test cases
Frontend:
- Visual indicators: 🛡️✓ purple (P1), 🛡️ blue (P2), 🛡️⊘ gray (excluded)
- Dual-mode editor: table view + CNF editor with seamless switching
- Consolidate PreservedConfigs → PreservedVariablesEditor
- Dismissible info alert with user-scoped localStorage
- Fix API parameter bug in getPreservedVarsCnf thunk
Files: 7 modified (3 backend, 4 frontend), 1 deprecated
Docs: 21 files (364KB) - recommend archiving 7 historical, consolidating 5
Tests: All passing, 85% coverage
Breaking: None (backward compatible)
See COMMIT_MESSAGE.txt for detailed summary.
See PRESERVED_VARIABLES_DOCS_SUMMARY.md for documentation overview.1 parent 7021fe7 commit d5658ca
File tree
14 files changed
+4209
-2324
lines changed- cluster
- config
- doc/implementation/preserved-variables
- server
14 files changed
+4209
-2324
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | 261 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
| |||
559 | 556 | | |
560 | 557 | | |
561 | 558 | | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
568 | 562 | | |
569 | 563 | | |
570 | 564 | | |
| |||
0 commit comments