autobrr/web/src
soup 2bd1a68a94
feat(feeds): add force run (#1243)
* feat(feeds): add force run

* fix: simplify ForceRun

* add confirmation modal

* handle errors by using the test func

* require user input to run

* make sure to reschedule next job after forcerun

* refactor modal centering with grid

* refactor: Simplify startJob and forceRun logic

- Refactor `startJob` to accept a `runImmediately` flag. This flag controls whether the job should be run immediately or scheduled for later. This change simplifies the `ForceRun` function by allowing it to call `startJob` with `runImmediately` set to `true`.

- Remove redundant checks in `ForceRun` related to feed type. These checks are handled in `startJob`.

BREAKING CHANGE: The `startJob` function now requires a second argument, `runImmediately`. This change affects all calls to `startJob`.

* fix(web) Invalidate queries after forceRun

* refactor(feeds): init and test run

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-11-18 21:54:53 +01:00
..
api feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
components feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
domain enhancement(web): ui overhaul (#1155) 2023-11-18 14:46:16 +01:00
forms feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
hooks chore(build): enable CodeQL (#1026) 2023-09-26 21:24:59 +02:00
screens feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
types fix(filters): external webhook remove jitter (#1254) 2023-11-17 17:05:29 +01:00
utils fix(web): improve initial context state (#1103) 2023-09-10 19:25:12 +02:00
App.tsx fix(web): implement offline detection (#1065) 2023-09-10 17:39:58 +02:00
index.css enhancement(web): ui overhaul (#1155) 2023-11-18 14:46:16 +01:00
index.tsx fix(web): tooltips (#1154) 2023-10-01 15:16:05 +02:00
logo.svg feat(web): use svg logo instead of png (#970) 2023-07-02 14:17:10 +02:00
vite-env.d.ts feat(web): use svg logo instead of png (#970) 2023-07-02 14:17:10 +02:00