Skip to content

Comments

Only render comment sorting for signed-in users#20398

Merged
benhalpern merged 1 commit intomainfrom
ben/remove-sorting-buttons-for-signed-out
Nov 28, 2023
Merged

Only render comment sorting for signed-in users#20398
benhalpern merged 1 commit intomainfrom
ben/remove-sorting-buttons-for-signed-out

Conversation

@benhalpern
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Or comment sorting buttons have created a huge amount of non-indexed pages which is not good for SEO. This submission fixes the issue.

Screenshot 2023-11-27 at 2 04 45 PM

For signed-out contexts, instead of showing the icon for comment dropdown, nothing appears:

Screenshot 2023-11-27 at 2 05 43 PM

Related Tickets & Documents

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

@benhalpern benhalpern requested a review from a team as a code owner November 27, 2023 19:06
@benhalpern benhalpern requested review from lightalloy and maestromac and removed request for a team November 27, 2023 19:06
@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2023

Uffizzi Preview deployment-41555 was deleted.

@benhalpern benhalpern added this pull request to the merge queue Nov 27, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 27, 2023
@benhalpern benhalpern added this pull request to the merge queue Nov 28, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2023
@benhalpern benhalpern added this pull request to the merge queue Nov 28, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 28, 2023
@benhalpern benhalpern added this pull request to the merge queue Nov 28, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2023
@benhalpern benhalpern merged commit 88769c6 into main Nov 28, 2023
@benhalpern benhalpern deleted the ben/remove-sorting-buttons-for-signed-out branch November 28, 2023 15:54
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.

Only show comment sort buttons for signed in users

2 participants