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

feat(FEC-9174): customize logo on bottom bar #402

Merged
merged 7 commits into from
Aug 19, 2019
Merged

feat(FEC-9174): customize logo on bottom bar #402

merged 7 commits into from
Aug 19, 2019

Conversation

Yuvalke
Copy link
Contributor

@Yuvalke Yuvalke commented Aug 15, 2019

Description of the Changes

add customize logo from ui config added for small screen and up

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@Yuvalke Yuvalke self-assigned this Aug 15, 2019
@Yuvalke Yuvalke requested review from OrenMe and yairans August 15, 2019 10:57
*/
static shouldRender(props: any): boolean {
const componentConfig = props.config.components[this.displayName];
return !(Object.keys(componentConfig).length === 0 && componentConfig.constructor === Object);
Copy link
Contributor

Choose a reason for hiding this comment

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

what is this check?

Copy link
Contributor Author

@Yuvalke Yuvalke Aug 15, 2019

Choose a reason for hiding this comment

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

this is for case that we didn't config this ui element so we don't want to render the element.
I took it actually from watermark and I saw it in other configurable components

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, I saw the reference but couldn't make sense of the actual check itself. What does it check for and why like this? you can check with @yairans who created it for the other component.

@OrenMe OrenMe merged commit 86db56b into master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants