Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@simurai
Copy link
Contributor

@simurai simurai commented Oct 29, 2016

Currently it's not that easy to discover that you can click the title to select an entire hunk. This PR adds some hover and selected styles.

hunk


render () {
const hunkSelectedClass = this.props.isSelected ? 'is-selected' : ''
const hunkModeClass = !this.props.headLine ? 'is-hunkMode' : ''
Copy link
Contributor Author

@simurai simurai Oct 29, 2016

Choose a reason for hiding this comment

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

@kuychaco Is this a good way to check what the current mode is?

"If there is no headLine prop, it must be in hunk mode."

@kuychaco
Copy link
Contributor

kuychaco commented Nov 1, 2016

@simurai this looks great! Definitely helps with discovery.

I made a slight modification around identifying selection mode. If there's nothing else you'd like to add, I say :shipit:

@simurai
Copy link
Contributor Author

simurai commented Nov 1, 2016

I made a slight modification around identifying selection mode.

Thanks.. ya, looks much better. ok, let's 🚢 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants