service-ids and contact-role-ids already participate in worklist filtering in attik-backend/src/routes/worklist.ts. Decision needed on the exact operators (for example role not present) and on how users combine service predicates with role predicates inside existing worklist condition groups.Backend
attik-backend/src/routes/worklist.ts—including buildMongoCondition, post-population condition groups, handling paths such as contact-role-ids (for example mapping to people._roleId), and service-ids where conditions join or filter on charges/services—is the natural place for predicates that express role present/absent together with service membership.Frontend
attik-frontend/src/util/types/serverTypeCollection/worklist.ts and the work hub at attik-frontend/src/app/tools/work/[[...type]]/ (WorklistMenu, WorklistResolver). The editor should support the combined scenario (for example services contains home inspection AND contact role X is not present) without maintaining parallel ad hoc lists.attik-frontend/src/components/conditions/templatingData.ts and Conditions.tsx may need to stay aligned if the same attributes surface outside worklists.attik-frontend/src/app/tools/settings/contact-roles/page.tsx.attik-backend/src/routes/worklist.tsattik-frontend/src/util/types/serverTypeCollection/worklist.tsattik-frontend/src/components/conditions/templatingData.tsattik-frontend/src/app/tools/settings/contact-roles/page.tsxcontact-role-ids attribute in attik-backend/src/routes/worklist.ts (mapped to people._roleId) and condition keys in attik-frontend/src/components/conditions/templatingData.ts; the gap is treating role presence vs absence as an explicit, easy-to-configure condition.Backend
attik-backend/src/routes/worklist.ts is the natural place for any new Mongo or post-population filters that must include or exclude jobs based on whether a role is filled.Frontend
attik-frontend/src/components/conditions/Conditions.tsx, templatingData.ts, and service modifier flows under src/app/tools/settings/services/[id]/Modifier/) may need the same concept if "role exists / missing" should appear outside worklists.attik-frontend/src/app/tools/settings/contact-roles/page.tsx.attik-backend/src/routes/worklist.tsattik-frontend/src/components/conditions/templatingData.tsattik-frontend/src/app/tools/settings/contact-roles/page.tsxEx. Does Buyer's Agent exist on job
Additional request: support role-based conditions for missing role information such as "missing LA", so users can filter based on whether a specific role exists on the job.
Backend
attik-backend/src/routes/worklist.ts (buildMongoCondition, contact-role-ids / people paths, post-population condition groups).Frontend
attik-frontend/src/util/types/serverTypeCollection/worklist.ts and the work UI under src/app/tools/work/[[...type]]/ (WorklistMenu, WorklistResolver) consume saved worklist definitions from the worklist API.attik-backend/src/routes/worklist.tsattik-frontend/src/util/types/serverTypeCollection/worklist.tsUsers want a worklist condition based on whether required contacts are present or missing on the order. The goal is to surface orders for quality control so all needed contacts are added before the inspection date.
Please authenticate to join the conversation.
Next Up
Main App
2 months ago
Linear
Get notified by email when there are changes.
Next Up
Main App
2 months ago
Linear
Get notified by email when there are changes.