Skip to content

Conversation

@futa-ikeda
Copy link
Contributor

@futa-ikeda futa-ikeda commented May 10, 2021

  • Ticket: []
  • Feature flag: n/a

Purpose

  • Remove provider names for tablet on branded providers

Summary of Changes

  • add condition to check if tablet view for showing provider names

Screenshots

Before:
Screen Shot 2021-05-10 at 11 36 49 AM

After:
Screen Shot 2021-05-10 at 11 37 20 AM

Side Effects

  • none

QA Notes

brianjgeiger
brianjgeiger previously approved these changes May 10, 2021
Copy link
Member

@fabmiz fabmiz left a comment

Choose a reason for hiding this comment

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

Minor!

return this.provider ? this.provider.id : defaultProviderId;
}

@computed('media.isMobile', 'provider.brand')
Copy link
Member

@fabmiz fabmiz May 10, 2021

Choose a reason for hiding this comment

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

Suggested change
@computed('media.isMobile', 'provider.brand')
@computed('media.{isMobile,isTablet}', 'provider.brand')
Copy link
Member

@fabmiz fabmiz left a comment

Choose a reason for hiding this comment

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

💯

@futa-ikeda futa-ikeda merged commit abf1525 into CenterForOpenScience:release/21.4.0 May 10, 2021
@futa-ikeda futa-ikeda deleted the remove-provider-name-tablet branch May 10, 2021 17:32
@fabmiz fabmiz added this to the 21.4.0 milestone May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants