Skip to content

Migrate the jobs Vuex module to a Pinia store

Erwan Rouchet requested to merge pinia-jobs into master

Requires !1510 (merged), closes #1148 (closed)

  • Added @types/sinon to make Visual Studio Code happy; this just makes writing unit tests that use mocks a little bit nicer by giving us autocompletion on Sinon.JS. This has zero impact in prod.
  • Typed the two job-specific components since they were simple enough to do so immediately
  • Typed the Modal component, because the jobs modal uses it
  • A few Vuex modules are affected since those call ListJobs. Calling a Pinia store from a Vuex module is easy so that didn't cause trouble.

Merge request reports

Loading