Skip to content
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

Move menu to be lower to avoid overlapping the tab bar. #3332

Merged
merged 3 commits into from
Mar 2, 2022
Merged

Conversation

Hosshii
Copy link
Member

@Hosshii Hosshii commented Mar 2, 2022

What this PR does / why we need it:
Move the menu for visibility. And fix version placeholder.
before
image

after
image

Which issue(s) this PR fixes:

#3328 (comment)

Does this PR introduce a user-facing change?:

Move menu to be lower to avoid overlapping the tab bar.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.51%. This pull request does not change code coverage.

@@ -192,6 +192,9 @@ export const Header: FC = memo(function Header() {
id="more-menu"
anchorEl={moreAnchorEl}
open={Boolean(moreAnchorEl)}
getContentAnchorEl={null}
Copy link
Member

@khanhtc1202 khanhtc1202 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits, do we need to pass null here? I mean if we just pass null value, then looks like it's not necessary to mention it on the caller side.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Firstly I do not pass null, but it does not works well. So I pass null ( I referred this stackoverflow )

it's necessary to mention it on the caller side.

What does this mean?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, it's typo. I missed not word 😓

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks for the explanation. Looks like someone had the same idea to make that null value as a default value, not to set from the caller side, but somehow is not available on our current using version, maybe it's way outdated already 😂
Let's keep it as is, thank you 👍

ref: mui/material-ui#7961 (comment)

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 78.09%. This pull request does not change code coverage.

Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com>
@khanhtc1202
Copy link
Member

Nice
/lgtm

@pipecd-bot pipecd-bot added the lgtm label Mar 2, 2022
@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.51%. This pull request does not change code coverage.

@nghialv
Copy link
Member

nghialv commented Mar 2, 2022

Great improvement!
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by nghialv.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 78.07%. This pull request decreases coverage by -0.03%.

File Base Head Diff
src/modules/commands/index.ts 93.75% 90.62% -3.12%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants