By fetching jobs too high up in the route hierarchy, navigating to the job list page does not pick up on new jobs created since the last time the jobs were fetched. This is because of how remix works and so we need to move all fetching logic to the correct places
Currently, jobs are fetched in the ProjectPresenter and should be moved to their own presenter (JobListPresenter). The route that currently fetches the jobs is here:
https://github.com/triggerdotdev/trigger.dev/blob/main/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam/route.tsx
But they should be moved to here:
https://github.com/triggerdotdev/trigger.dev/blob/main/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam._index/route.tsx
From SyncLinear.com | TRI-573
By fetching jobs too high up in the route hierarchy, navigating to the job list page does not pick up on new jobs created since the last time the jobs were fetched. This is because of how remix works and so we need to move all fetching logic to the correct places
Currently, jobs are fetched in the ProjectPresenter and should be moved to their own presenter (JobListPresenter). The route that currently fetches the jobs is here:
https://github.com/triggerdotdev/trigger.dev/blob/main/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam/route.tsx
But they should be moved to here:
https://github.com/triggerdotdev/trigger.dev/blob/main/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam._index/route.tsx
From SyncLinear.com | TRI-573