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

Real-time status updates for Flows #231

Open
zaychenko-sergei opened this issue Nov 14, 2023 · 0 comments
Open

Real-time status updates for Flows #231

zaychenko-sergei opened this issue Nov 14, 2023 · 0 comments

Comments

@zaychenko-sergei
Copy link
Contributor

zaychenko-sergei commented Nov 14, 2023

As flows get executed by the platform, the user should have a real-time understanding of their status.

  1. In the Dataset Flows View:
  • The status of the flow should update periodically without manual refreshing (Note: Implemented temporarily via timer-based polling)
  • There should be a refresh button to force manual refreshing of flow statuses without a page reload - DONE
  1. If the latest dataset flow has failed, this should be indicated in the Dataset View component:

Image

Note: the status of the flows should be visible for anonymous or logged users if canView permission is set (always set for public datasets, will not be set by default in future for private datasets).

Consider using GraphQL Subscriptions to implement these updates.

Internally, make sure:

  • the UI reads initial status of the flows, as currently, including tiles view, main table view, and history view
  • Refresh button also reads full status
  • but other than these, all intermediate changes should come incrementally (from subscription), and should be propagated into UI components without re-sending heavyweight requests

Related BE ticket: kamu-data/kamu-cli#275

@zaychenko-sergei zaychenko-sergei changed the title Real-time status updates for Tasks Real-time status updates for Flows Mar 13, 2024
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

No branches or pull requests

1 participant