-
Notifications
You must be signed in to change notification settings - Fork 167
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
adjust resource name form spacing and help icon #3234
adjust resource name form spacing and help icon #3234
Conversation
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.
Sweet, I didn't even consider the usage without stack -- I mirrored what we had already done. Better to use the form spacing anyways 👍
Thank you for observing and fixing these inconsistencies! LGTM! |
f4dcf49
to
25e0fbe
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3234 +/- ##
==========================================
- Coverage 85.50% 85.47% -0.03%
==========================================
Files 1280 1280
Lines 28190 28229 +39
Branches 7535 7558 +23
==========================================
+ Hits 24103 24129 +26
- Misses 4087 4100 +13
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
Description
It was observed while reviewing the new create connection modal that the k8s name / description component didn't fit exactly the UX for connection types.
Two differences observed:
Form
and PFFormSection
provide specific spacing between elements of the form. This component was using a stack layout with a different gap.The change here replaces the stack layout with a
FormSection
. Since there is no title to this section, the margin is eliminated to allow for these form elements to fit into existing forms.The 2nd change is to use a popover and
OutlinedQuestionCircleIcon
icon. There's a lot of inconsistencies in our product today for using tooltips vs popovers andHelpIcon
vsOutlinedQuestionCircleIcon
in many of our forms. While both methods could be considered correct, it looks inconsistent within the connection form. TheK8sNameDescriptionField
component currently is not used in a form which has another?
icon therefore this change does not produce further inconsistency within a single form.Before:
Gap is 16px:
After:
Gap is 24px as prescribed by PF forms:
How Has This Been Tested?
From the project list view page, click to create a new project to open the modal.
Test Impact
N/A, visual change only
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main
cc @andrewballantyne @simrandhaliw