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

make mobile search more like desktop #5946

Merged
merged 4 commits into from Feb 21, 2017

Conversation

chrisnojima
Copy link
Contributor

  • Removes the 'add a user' blue bar
  • Add the ability to select a platform
  • Add chat button w/ correct icon
  • Add size hints for icons to icon class
  • Hide 'Open public folder' action for multi-groups

@keybase/react-hackers

@chrisnojima
Copy link
Contributor Author

screen shot 2017-02-20 at 3 48 42 pm

@chrisnojima
Copy link
Contributor Author

chrisnojima commented Feb 20, 2017

  • Fix Scroll

@chromakode chromakode self-requested a review February 21, 2017 01:43
@@ -23,7 +23,8 @@ class Icon extends Component<void, Exact<Props>, void> {
const width = this.props.style && this.props.style.width && {width: this.props.style.width}
const height = this.props.style && this.props.style.height && {height: this.props.style.height}

const fontSize = this.props.style && (this.props.style.fontSize || this.props.style.width)
const fontSizeHint = shared.fontSize(iconType)
const fontSize = (this.props.style && (this.props.style.fontSize || this.props.style.width) && {fontSize: this.props.style.fontSize || this.props.style.width}) || fontSizeHint
Copy link
Contributor

Choose a reason for hiding this comment

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

🐑 Perhaps extract this.props.style.fontSize || this.props.style.width to a named const above?


const ServiceIcon = ({serviceName, iconType, selected, onClickService}) => (
<ClickableBox style={{...serviceContainerStyle, backgroundColor: selected ? globalColors.blue4 : null}}
onClick={() => onClickService(serviceName)} >
Copy link
Contributor

Choose a reason for hiding this comment

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

🐑 extra space before >

@chrisnojima chrisnojima merged commit cb13e95 into master Feb 21, 2017
@chrisnojima chrisnojima deleted the nojima/DESKTOP-2911-mobile-search branch February 21, 2017 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants