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

Sketching the middleware refresh for Queries #991

Closed
wants to merge 9 commits into from

Conversation

mistercrunch
Copy link
Member

@ascott , I was sketching out a potential way to run the middleware refresh from the database with @bkyryliuk (specifically for query state/progress), do you think the approach bellow is reasonable?

I'm basically wrapping the timer into a React component. The component would call a redux action passing a list a queries that have changed recently.

// new object with an altered property
const idKey = 'id';
const newArr = [];
state[arrKey].forEach((arrItem) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

nit: map is a bit more idiomatic

@bkyryliuk bkyryliuk force-pushed the auto_refresh_query branch 4 times, most recently from ab3d5ea to d09becd Compare August 26, 2016 01:21
@mistercrunch mistercrunch deleted the auto_refresh_query branch November 9, 2016 22:25
@dpgaspar dpgaspar mentioned this pull request May 9, 2019
3 tasks
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
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.

None yet

1 participant