OpenFn / OpenFn/lightning

Limit refresh rate or load new workorders in background on the history page

Open
#2,345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

For workflows based on the Kafka trigger, work orders are created at a very rapid rate if a user opens the history page, the page keeps refreshing and the user can't do anything on the page.

https://www.loom.com/share/31450f1250504defaa7619d4417c67be?sid=e3dc2fe1-0a49-4e8a-b1b4-9b140ff40d32s

Can we limit the refresh rate to show new workorders by indicating it on the history and when users click on the {{number}} new work orders, the page reloads with the new workorders.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the history page and its refresh behavior for Kafka-triggered work orders. Trace how new work orders are detected and displayed, then verify that refreshes are limited, the page remains usable, and clicking the {{number}} new work orders indicator reloads the new work orders.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.