Document CHECK 32 menu standards enforcement in REFDB

This commit is contained in:
cschantz
2025-12-16 23:40:16 -05:00
parent 7e1e8aaf1d
commit 586b51c7af
+21 -1
View File
@@ -2,7 +2,7 @@
# SERVER TOOLKIT - DEVELOPER CONTEXT DATABASE
################################################################################
# OPTIMIZED FOR: Fast context loading and code navigation
# LAST UPDATED: 2025-12-15 (Hardware Health Check Enhancements)
# LAST UPDATED: 2025-12-16 (Menu Standards QA CHECK 32)
# VERSION: 2.5.1
# FORMAT: Structured key-value with hierarchical sections
################################################################################
@@ -3652,3 +3652,23 @@ FUTURE IMPROVEMENTS:
3. Audit all modules for menu consistency
4. Document module menu patterns in this section
QA ENFORCEMENT:
CHECK 32 in toolkit-qa-check.sh validates menu standards:
1. Back Button Check:
- Finds all show_*_menu() and handle_*_menu() functions
- Scans next 100 lines for: ${RED}0)${NC} (Back to Main Menu|Exit)
- Reports LOW issue if missing
2. Separator Check:
- Flags plain dashes: echo "----------" (10+ dashes)
- Should use: ── or ══ (Unicode box drawing)
3. Duplicate Domain Selection:
- Finds: read -p "Enter domain" or similar
- Checks if file sources lib/domain-selector.sh
- Reports LOW issue if inline domain selection found
Status: ✅ ACTIVE (commit 201dc3c)
Location: tools/toolkit-qa-check.sh:957-1012