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

News: Reload feed when changing the time range or refreshing #42217

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

ashharrison90
Copy link
Contributor

What this PR does / why we need it:

  • subscribes to the RefreshEvent, reloading the feed whenever this fires.

Which issue(s) this PR fixes:

Fixes #27869

Special notes for your reviewer:

  • not sure if this is the correct approach. in the issue, @ryantxu has linked another issue which seems to suggest this applies to all panels with skipDataQuery: true. this only solves it for the NewsPanel, but i can't repro in other panels anyway. it looks like each panel has implemented it's own solution for this, so maybe this is ok? 🤔

@ashharrison90 ashharrison90 added this to the 8.4.0 milestone Nov 24, 2021
@ashharrison90 ashharrison90 requested a review from a team November 24, 2021 12:25
@ashharrison90 ashharrison90 self-assigned this Nov 24, 2021
@ashharrison90 ashharrison90 requested review from joshhunt and kaydelaney and removed request for a team November 24, 2021 12:25
@ashharrison90 ashharrison90 merged commit 4318448 into main Nov 25, 2021
@ashharrison90 ashharrison90 deleted the ash/27869 branch November 25, 2021 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NewsPanel: Should refresh list on dashboard refresh or time range change
2 participants