Is your feature request related to a problem? Please describe.
When creating route rules in the wizard, the “Path value” field under Matches currently lacks proper validation. This can lead to user confusion and incorrect input formats. Joey proposed a validation approach in his design that should be implemented to ensure consistent and user-friendly input handling.
Describe the solution you'd like
Implement path field validation according to Joey’s design proposal. The validation should:
- Enforce correct syntax and format for path values.
- Display clear, contextual error messages when input is invalid.
- Optionally, provide inline helper text or examples.
Additional context
Refer to Joey’s design mockup for the expected validation behavior and error message styling.
Design annotations: https://docs.google.com/presentation/d/1z4Wr1nLISYPwgDp9TbGKmimRo0SowJFStQHKfkW9Z1k/edit?slide=id.g341b4158b3f_0_2767#slide=id.g341b4158b3f_0_2767
UI microcopy: https://docs.google.com/document/d/1-1SnCAGEG-dyasLqo7Bq89QrWcTMuM8PzVQY1iFmtsQ/edit?tab=t.0
Figma: https://www.figma.com/design/HnY6prXBgIn82Tlrtsg6ou/RHCL-OCP-dynamic-plugin?node-id=5497-115791&t=pf7EGLUbQcKIbOq6-1
Is your feature request related to a problem? Please describe.
When creating route rules in the wizard, the “Path value” field under Matches currently lacks proper validation. This can lead to user confusion and incorrect input formats. Joey proposed a validation approach in his design that should be implemented to ensure consistent and user-friendly input handling.
Describe the solution you'd like
Implement path field validation according to Joey’s design proposal. The validation should:
Additional context
Refer to Joey’s design mockup for the expected validation behavior and error message styling.
Design annotations: https://docs.google.com/presentation/d/1z4Wr1nLISYPwgDp9TbGKmimRo0SowJFStQHKfkW9Z1k/edit?slide=id.g341b4158b3f_0_2767#slide=id.g341b4158b3f_0_2767
UI microcopy: https://docs.google.com/document/d/1-1SnCAGEG-dyasLqo7Bq89QrWcTMuM8PzVQY1iFmtsQ/edit?tab=t.0
Figma: https://www.figma.com/design/HnY6prXBgIn82Tlrtsg6ou/RHCL-OCP-dynamic-plugin?node-id=5497-115791&t=pf7EGLUbQcKIbOq6-1