-
Notifications
You must be signed in to change notification settings - Fork 270
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 menu stretch in long confirmation messages #4892
fix menu stretch in long confirmation messages #4892
Conversation
✅ Deploy Preview for cbioportalfrontend ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thank you @mhsh312 !
@mhsh312 There are some broken e2e tests. Let me know if you have time to figure out what's up or need some help. |
@alisman to be honest, I read the failed tests and I have no idea why this happened. Why did a css change break an API test? I could understand this test maybe because it is written to perceive the UI a certain way and it is not finding it but absolutely no idea about the other two. The modified component If you know what the issue is please let me know as I would like to know as well. Edit: I tried wrapping the component into a div with max-width instead of modifying the actual component but that doesn't pass the test either. |
@alisman it turns out that when I run this test even without the changes I made, |
Yeah, you don't have to worry about check sync test. It's the remote
end-to-end-test job that we need to fix:
https://app.circleci.com/pipelines/github/cBioPortal/cbioportal-frontend/12986/workflows/225289fc-d3ad-40dc-89bf-cb11c23b5cbd/jobs/158792
If you look here, you'll see it's having trouble clicking on something.
[image: image.png]
…On Mon, Apr 15, 2024 at 3:01 PM mhsh312 ***@***.***> wrote:
@alisman <https://github.com/alisman> it turns out that when I run this
test even without the changes I made, check_api_sync.sh test still
breaks. So I think that is an issue with some other code unrelated to my
change.
—
Reply to this email directly, view it on GitHub
<#4892 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABNRGKT2LDRLFRAGPWAAPLY5QPZBAVCNFSM6AAAAABGEUAFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGYYDKOBVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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 to me! Not sure if the failing local db tests are related.
Fix cBioPortal/cbioportal#10737
Describe changes proposed in this pull request:
SuccessBanner
containerWidth
prop toSuccessBanner
(similarly how it has been passed toGeneLevelSelection
)ISuccessBannerProps
accordinglyBecause the menu does not have an explicit width and just adjusts according to its children, setting max-width of
SuccessBanner
to 100% or inherit would not work. So, I passed the currentcontainerWidth
toSuccessBanner
so that it can have a numerical limit to its width.It is a simple CSS fix so no extra tests are needed.
Checks
Any screenshots or GIFs?
Notify reviewers
@alisman