-
Notifications
You must be signed in to change notification settings - Fork 166
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 a11y issues in data connections modal and deploy models modal #994
Conversation
@@ -27,6 +27,7 @@ const EmptyProjects: React.FC = () => { | |||
<EmptyStateSecondaryActions> | |||
<Button | |||
href="/notebookController" | |||
component="a" |
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.
So every button dedicated to navigation should have the component prop to a hyperlink right?
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.
unless there is a <Link ... />
component inside the button. In that case i dont think you need component='a'
@jenny-s51 please confirm if this is the case
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.
You are correct @Gkrumbach07 - reverted in fbad401
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.
Added some comments. I think there are some resolutions we made in other PRs that apply in this PR
@@ -27,6 +27,7 @@ const EmptyProjects: React.FC = () => { | |||
<EmptyStateSecondaryActions> | |||
<Button | |||
href="/notebookController" | |||
component="a" |
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.
unless there is a <Link ... />
component inside the button. In that case i dont think you need component='a'
@jenny-s51 please confirm if this is the case
frontend/src/pages/projects/screens/projects/ManageProjectModal.tsx
Outdated
Show resolved
Hide resolved
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.
Table changes are inline with the other PR. Everything looks good to me. And I think the last of the comments are resolved (or can be resolved imo).
/lgtm
...end/src/pages/modelServing/screens/projects/ServingRuntimeModal/ServingRuntimeTokenInput.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/projects/screens/spawner/environmentVariables/EnvTypeSelectField.tsx
Outdated
Show resolved
Hide resolved
PR feedback
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
Changes seem fine now
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne, Gkrumbach07, lucferbux The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…endatahub-io#994) * fix data connections and models modal PR feedback * Update EmptyProjects.tsx * fix block error * fix last few a11y errors
…endatahub-io#994) * fix data connections and models modal PR feedback * Update EmptyProjects.tsx * fix block error * fix last few a11y errors
…endatahub-io#994) * fix data connections and models modal PR feedback * Update EmptyProjects.tsx * fix block error * fix last few a11y errors
Do not merge/review, needs rebase
Towards #965
Description
Delete data connections modal - before:
Delete data connections modal - after:
Configure model server modal - before:
Configure model server modal - after:
Deploy model modal - before:
Deploy model modal - after:
Request review criteria: