-
Notifications
You must be signed in to change notification settings - Fork 612
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
OCPBUGS-43925: BuildConfig form breaks on manually enter the Git URL #14449
base: master
Are you sure you want to change the base?
OCPBUGS-43925: BuildConfig form breaks on manually enter the Git URL #14449
Conversation
@lokanandaprabhu: This pull request references Jira Issue OCPBUGS-43925, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest |
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.
The fix works as expected.
I've added some more edits to this file to ensure consistency. I've adjusted the formatting to match the pattern observed in the other files.
frontend/packages/dev-console/src/components/import/git/GitTypeSelector.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/import/git/GitTypeSelector.tsx
Outdated
Show resolved
Hide resolved
9408365
to
fa253e2
Compare
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.
Thanks for the revision
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lokanandaprabhu, Lucifergene 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 |
/retest |
@lokanandaprabhu: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fixes:
https://issues.redhat.com/browse/OCPBUGS-43925
Analysis / Root cause:
While getting git type value from fromik value fieldPrefix was not considered
Solution Description:
Updated GitTypeSelector component to consider fieldPrefix while fetching git type
Screen shots / Gifs for design review:
-------- BuildConfig form-----
Screen.Recording.2024-10-30.at.11.11.30.AM.mov
-------- Import from git form-----
Screen.Recording.2024-10-30.at.11.13.24.AM.mov
-------- Create serverless form-----
Screen.Recording.2024-10-30.at.11.14.27.AM.mov
Unit test coverage report:
NA
Test setup:
Browser conformance: