Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
frontend ruleP2universalStack: General
uxconsistencyprocess
Reconcile divergent UI patterns with the designer rather than stacking them
When a new pattern differs sharply from existing ones, decide with the designer to update old, revert new, or intentionally keep both — don't default to keeping both blindly.
PR: hegnar-zephr-components · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codetext
| 1 | // new step 3 manages its own overlay differently from steps 1-2 with no discussion |
Explanation (EN)
Objašnjenje (HR)
Good example
New codetext
| 1 | // agree with the designer: align old to new, new to old, or intentionally keep both |
Explanation (EN)
Objašnjenje (HR)