This release focuses on enhancing data consistency and user experience by standardizing company status values across the application. It implements a normalization function in both backend API endpoints and frontend UI components, backed by a database migration to update existing records. It also includes documentation updates and cleanup of obsolete log files.
Highlights
- Company Status Normalization: Introduced
normalizeCompanyStatusto standardize company status values, mapping “active” to “Active - Registered” and “passive” to “Passive - Registered.” - API and UI Integration: Integrated status normalization in API routes for creating/assigning entities and in UI components (
CustomInspector,useEntityFormState) to ensure consistent handling and display. - Database Migration: Added migration
20260206_fix_company_status_values.sqlto update existing “active” and “passive” company statuses in the database to their normalized forms. - Documentation Updates: Updated
packages/db/database-info.mdwith migration history/environment notes and addeddocs/stories/58.4.6-scenario-step-refresh-instability.mdfor scenario refresh analysis. - File Cleanup: Removed old layout dump JSON files from
logs/tuning/to improve repository hygiene.