-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: bring back service type invalid on input feedback #799
fix: bring back service type invalid on input feedback #799
Conversation
Reviewer's Guide by SourceryThis pull request introduces visual feedback for service type validation in the Sequence diagram for service type validationsequenceDiagram
participant User
participant Browse Component
participant AutoCompleteServiceType
User->>Browse Component: Enters service type
Browse Component->>AutoCompleteServiceType: Updates value
AutoCompleteServiceType-->>Browse Component: Renders with validation status
Browse Component->>Browse Component: Checks service type validity
alt Service type is invalid
Browse Component-->>User: Displays error feedback
else Service type is valid
Browse Component-->>User: Displays valid feedback
end
Updated class diagram for AutoCompleteServiceType componentclassDiagram
class AutoCompleteServiceType {
-value: Model<String>
-disabled: Signal<bool>
+invalid: Signal<bool>
-comp_ref: ComponentRef<AutoCompleteRef>
}
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hrzlgnm - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using a more descriptive name than
autocomplete_class
- perhaps something indicating the class is for validation. - It might be better to use
leptos::logging::log!
instead oflog::debug!
.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
c48fee6
to
f1b648b
Compare
Closes #779
Summary by Sourcery
Bug Fixes: