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 comment's actions more visible #165

Merged
merged 3 commits into from
Aug 1, 2018
Merged

Make comment's actions more visible #165

merged 3 commits into from
Aug 1, 2018

Conversation

Betree
Copy link
Member

@Betree Betree commented Jul 31, 2018

Before

selection_618

After

selection_619


selection_616


selection_617

@Betree Betree added enhancement UI / UX Everything related to the UX or UI labels Jul 31, 2018
@Betree Betree added this to the 0.8 milestone Jul 31, 2018
}
{ replies && this.renderAction(
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe this renderAction call could be extract of the JSX code,
there is (too) much (?) logic in it

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@@ -173,7 +179,7 @@ export class CommentDisplay extends React.PureComponent {

actionReply() {
if (!this.ensureAuthenticated())
return
return null
Copy link
Contributor

Choose a reason for hiding this comment

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

not quite fan but this is not core of this PR so nevermind

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Returning null is still better than returning undefined

@Betree Betree merged commit e5846c5 into staging Aug 1, 2018
@julien-leclercq julien-leclercq deleted the ux/comment-actions branch August 3, 2018 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement UI / UX Everything related to the UX or UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants