[Feature] Add file property filters including files without campaign links #30

Closed
opened 2026-07-14 20:08:40 +02:00 by zemion · 1 comment
Owner

Problem / User Need

Files need filter controls beyond text search. A high-priority use case is finding files that have not been linked to any campaign recipient or campaign attachment rule yet.

Acceptance Criteria

  • Files can be filtered by structured properties, not only full-text search.
  • A filter exists for files without campaign links/usage.
  • Filter semantics work across the full result set, not only the visible page.
  • The API exposes the needed filter parameters and returns consistent counts/pagination metadata.
  • The filter can support campaign workflows that need to detect unlinked watched-folder files.

Notes / Decisions

This should coordinate with the campaign watched-folder/unattached-files issue.

## Problem / User Need Files need filter controls beyond text search. A high-priority use case is finding files that have not been linked to any campaign recipient or campaign attachment rule yet. ## Acceptance Criteria - Files can be filtered by structured properties, not only full-text search. - A filter exists for files without campaign links/usage. - Filter semantics work across the full result set, not only the visible page. - The API exposes the needed filter parameters and returns consistent counts/pagination metadata. - The filter can support campaign workflows that need to detect unlinked watched-folder files. ## Notes / Decisions This should coordinate with the campaign watched-folder/unattached-files issue.
zemion added the area/apicodex/readymodule/files
priority
p2
status
ready
type
feature
labels 2026-07-29 14:15:05 +02:00
Author
Owner

Codex State: done

Summary

  • Added server-side campaign usage and audit-relevance property filters with exact totals and cursor fingerprints.
  • The Files UI retrieves every filtered cursor window and treats that result as authoritative, including the not-linked-or-used workflow.

Changed Files

  • govoplan-files@85606d5
  • govoplan-core@6970bf7

Verification

  • 75 tests and 19 subtests passed
  • test:file-property-filters passed
  • files-only, Campaign-with-Files, and full-product builds passed
## Codex State: done ### Summary - Added server-side campaign usage and audit-relevance property filters with exact totals and cursor fingerprints. - The Files UI retrieves every filtered cursor window and treats that result as authoritative, including the not-linked-or-used workflow. ### Changed Files - `govoplan-files@85606d5` - `govoplan-core@6970bf7` ### Verification - `75 tests and 19 subtests passed` - `test:file-property-filters passed` - `files-only, Campaign-with-Files, and full-product builds passed`
zemion removed the
status
ready
codex/ready
labels 2026-07-30 05:28:58 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-files#30