-
Notifications
You must be signed in to change notification settings - Fork 48
[Bugfix] #8364, #8176 fix address validation #3644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
WalkthroughThis update modifies validation rules and related error messages for address and comment input fields across several components and localization files. The maximum allowed length for "house" and "entrance" fields is increased, and pattern validation for the "entrance" field is updated to require numeric input. Error message keys and validation messages are aligned with these new constraints in both English and Ukrainian localization files. The Binotel link pattern and its related validation logic are removed, and the comment input field now uses only a maximum length validator, regardless of context. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant AddressInputComponent
participant UBSInputErrorComponent
participant Patterns
User->>AddressInputComponent: Enter house or entrance number
AddressInputComponent->>Patterns: Get numeric/building pattern
AddressInputComponent->>UBSInputErrorComponent: Validate input
UBSInputErrorComponent->>Patterns: Use numeric pattern for entrance
UBSInputErrorComponent-->>User: Show updated error message if invalid
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (9)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code Graph Analysis (2)src/app/ubs/shared/components/address-input/address-input.component.ts (2)
src/app/ubs/shared/components/ubs-input-error/ubs-input-error.component.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (16)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
#8364
#8176
Summary by CodeRabbit
Bug Fixes
Documentation
Style