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

fix: refresh comments button shouldn't show on initial load #4715

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Dec 12, 2024

What does this PR do?

These changes make it so that the refresh comments button only appears when comments are navigated away from and back to.

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

none

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

See that upon initial load of the page, the refresh comments button isn't showing. When going to another tab then back to comments, then it shows.

You can test against develop, where you'll see it is showing on initial load.

Were any tests migrated to React Testing Library?

How do we deploy this PR?

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit 5705af1
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/675b3a360fef8800084904a2

@kabeaty kabeaty requested review from nick-funk and tessalt December 12, 2024 19:32
Copy link
Contributor

@nick-funk nick-funk left a comment

Choose a reason for hiding this comment

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

that makes sense

@tessalt tessalt merged commit 0f8ad20 into develop Dec 12, 2024
6 checks passed
@tessalt tessalt deleted the fix/refresh-comments-load branch December 12, 2024 19:53
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.

3 participants