-
Notifications
You must be signed in to change notification settings - Fork 5
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
#313: Trigger the rdap lookup on load #365
base: main
Are you sure you want to change the base?
Conversation
_includes/whois-search.html
Outdated
|
||
// Domain has more than one part above the TLD which RDAP does not support | ||
if (num_domain_parts > 2) { | ||
errorMessageText = "Domain name must have exactly one part above the TLD." |
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.
Shouldn't this be returned as an error message like below? If not, what is this being used for?
_includes/whois-search.html
Outdated
errorMessageText = "Domain name must have exactly one part above the TLD." | ||
} | ||
else if (num_domain_parts == 2 && !domain.endsWith('.gov')) { | ||
errorMessageText = "You can only search domain names that end in .gov" |
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.
Same here.
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.
Great catch. Fixed, I think.
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.
LGTM
Ticket
Resolves #313
Changes
Context for reviewers
Setup
Example tests:
Code Review Verification Steps
As the original developer, I have
Satisfied acceptance criteria and met development standards
Ensured code standards are met (Original Developer)
Validated user-facing changes (if applicable)
As a code reviewer, I have
Reviewed, tested, and left feedback about the changes
Validated user-facing changes as a developer
Note: Multiple code reviewers can share the checklists above, a second reviewer should not make a duplicate checklist. All checks should be checked before approving, even those labeled N/A.
As a designer reviewer, I have
Verified that the changes match the design intention
Validated user-facing changes as a designer
Screenshots