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

Unsort comments #2915

Merged
merged 4 commits into from
Jul 18, 2018
Merged

Unsort comments #2915

merged 4 commits into from
Jul 18, 2018

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Jul 18, 2018

URL of deployed dev instance (used for testing):

Steps to test:

  • sort/unsort comments by clicking the sort-button in the comments view several times
  • use next/prev comment feature

Issues:


@philippotto philippotto self-assigned this Jul 18, 2018
@philippotto philippotto requested a review from normanrz July 18, 2018 13:57
@@ -36,11 +36,13 @@ type Props = {

type CommentTabStateType = {
isSortedAscending: boolean,
isSortedByName: boolean,
Copy link
Member

Choose a reason for hiding this comment

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

maybe an enum would be better suited? 'NAME_ASC' | 'NAME_DESC' | 'UNSORTED'

@philippotto philippotto merged commit a25ed1d into master Jul 18, 2018
@philippotto philippotto deleted the unsort-comments branch August 13, 2018 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instant auto sorting of comments
2 participants