Skip to content

Add Show Comments button#931

Closed
danroth27 wants to merge 3 commits into
masterfrom
danroth27/collapsedisqus
Closed

Add Show Comments button#931
danroth27 wants to merge 3 commits into
masterfrom
danroth27/collapsedisqus

Conversation

@danroth27
Copy link
Copy Markdown
Member

@shirhatti Please review

@danroth27
Copy link
Copy Markdown
Member Author

@javiercn @Rick-Anderson @rachelappel @Erikre Please review

@javiercn
Copy link
Copy Markdown
Member

:shipit:

@shirhatti
Copy link
Copy Markdown
Contributor

I propose you do one of these two things:

  1. Replace the Show comments with Show/Hide toggle functionality
  2. Hide/Disable the Show comments button after you press it.

Right you can repeatedly press the show comments, and there is no feedback to indicate nothing happens after the first time you press it

@danroth27
Copy link
Copy Markdown
Member Author

@shirhatti I opted for # 2.

@Rick-Anderson
Copy link
Copy Markdown
Contributor

#2 is the right choice.

Comment thread common/_static/disqus.js
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You've used a JQuery style DOM selector in line 1 and a vanilla js DOM selector in line 13. Maybe try and be consistent?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This part of the code is the recommended code snippet from the disqus docs, so I'm leaving it untouched.

@shirhatti
Copy link
Copy Markdown
Contributor

:shipit:

@danroth27
Copy link
Copy Markdown
Member Author

cd2b93c

@danroth27 danroth27 closed this Jan 27, 2016
@danroth27 danroth27 deleted the danroth27/collapsedisqus branch February 18, 2016 05:55
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.

5 participants