Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hide the second tier of most popular (most commented/shared) #27650

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Georges-GNM
Copy link
Contributor

@Georges-GNM Georges-GNM commented Dec 4, 2024

What is the value of this and can you measure success?

CSS in frontend scares me, but this looks to be the right place to add a display none to hide the most commented and most shared sections in the most popular component: they were removed from DCR earlier in the year, and it looks like we intended to do the same in frontend.

I opted for display none rather than removing chunks of code. Again, css in frontend scares me and is not something we do anymore anyway, so I wanted to find a fast and simple way that would feel the least impactful if it caused an issue. Better suggestions welcome though.

Screenshots

Before After
before after

Checklist

@Georges-GNM Georges-GNM marked this pull request as ready for review December 4, 2024 19:17
@Georges-GNM Georges-GNM requested a review from a team as a code owner December 4, 2024 19:17
@Georges-GNM Georges-GNM changed the title Add display none to most-popular__second-tier Hides the second tier of the most popular container (i.e. most commented/shared) Dec 4, 2024
@Georges-GNM Georges-GNM changed the title Hides the second tier of the most popular container (i.e. most commented/shared) Hide the second tier of most popular (most commented/shared) Dec 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant