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

AppBar: Add support for custom branding #792

Merged
merged 10 commits into from
Oct 19, 2023
Merged

Conversation

vmilan
Copy link
Contributor

@vmilan vmilan commented Oct 18, 2023

Description

Shortcut: https://app.shortcut.com/cartoteam/story/344453/whitelabel-issue-icons-and-other-elements-are-not-respecting-the-app-bar-text-color
[sc-344453]

Add basic support for colors customization in AppBar core components.

Screenshot 2023-10-19 at 11 55 55

@shortcut-integration
Copy link

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

Pull Request Test Coverage Report for Build 6575744574

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 70.721%

Totals Coverage Status
Change from base Build 6535553140: 0.0%
Covered Lines: 2483
Relevant Lines: 3226

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

Visit the preview URL for this PR (updated for commit a2dc022):

https://cartodb-fb-storybook-react-dev--pr792-feature-appbar-b-xqap4mfy.web.app

(expires Thu, 26 Oct 2023 14:11:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 517cc4d31d7e09cf277774e034094b67c301cd4c

@@ -52,7 +54,15 @@ const rows = [
const options = {
title: 'Molecules/Table',
component: Table,
argTypes: {},
argTypes: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Offtopic... story improved as a design request

Copy link
Contributor

@mdeividas mdeividas left a comment

Choose a reason for hiding this comment

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

LGTM

})
}));

export default function BurguerMenu({ onClickMenu, iconColor }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

minor, shouldn't it be burger instead of burguer ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch, fixed, thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

it looks yummy in any case

@@ -9,6 +9,8 @@ export type AppBarTypeMap<D extends React.ElementType<any> = 'header'> = MuiAppB
secondaryText?: React.ReactNode;
onClickMenu?: (event: React.MouseEvent) => void;
showBurgerMenu?: boolean;
backgroundColor?: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

Oks, I see the gap, 👍🏻

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

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

👍🏻 Nice work

@vmilan vmilan merged commit 4af9a4c into master Oct 19, 2023
2 checks passed
@vmilan vmilan deleted the feature/appbar-branding branch October 19, 2023 18:10
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