-
Notifications
You must be signed in to change notification settings - Fork 605
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
Bug 2013996: Project detail page: Action "Delete Project" does nothing for the default project #10588
Bug 2013996: Project detail page: Action "Delete Project" does nothing for the default project #10588
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.
Looks good 👍
Did you know why the callback is undefined for the default project?
Can you add a test?
These questions should not block merging this PR. I would like to add LGTM as well at the end of today. :)
/approve
@yozaam: This pull request references Bugzilla bug 2013996, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
de1276b
to
14c5514
Compare
@yozaam: This pull request references Bugzilla bug 2013996, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
14c5514
to
09106d4
Compare
Really nice! Thanks for adding these tests also for the cases you don't have changed 👍 /lgtm |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
7 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
The code contains a TypeScript error which breaks all tests. Please take a look next week. :) /lgtm cancel |
09106d4
to
f4fb200
Compare
Just fixed the TS build errors. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerolimov, yozaam 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 |
/hold cancel |
@yozaam: All pull requests linked via external trackers have merged: Bugzilla bug 2013996 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2013996
https://issues.redhat.com/browse/OCPBUGSM-36171
Analysis / Root cause:
An action either has a callback or else a redirect
But when these are not present, the action will do 'nothing'
console/frontend/public/components/utils/dropdown.jsx
Lines 637 to 649 in 7044928
Solution Description:
Disable any action which does 'nothing'
Screen shots / Gifs for design review:
default project ( disabled )
normal project ( enabled )
Unit test coverage report:
in
frontend
we can use the new fileyarn test ./public/components/utils/__tests__/kebab.spec.tsx
Test setup:
Browser conformance: