Skip to content

Feature/find orphan app#11088

Open
Shanon Place (shanonplace) wants to merge 8 commits into
contentful:masterfrom
shanonplace:feature/find-orphan-app
Open

Feature/find orphan app#11088
Shanon Place (shanonplace) wants to merge 8 commits into
contentful:masterfrom
shanonplace:feature/find-orphan-app

Conversation

@shanonplace

Copy link
Copy Markdown
Contributor

Purpose

Orphan Finder scans an environment for orphaned draft content — drafts with an empty title (typically created by accident from a reference field's "Add new content" and abandoned) and drafts no entry links to — and lets editors review, export, and bulk-archive them from one place. It solves CCS-1082 ("ability to search/filter showing all content where the specified field is empty"): the web app's field filters only work one content type at a time and cannot match empty display fields, so this cleanup is effectively impossible with built-in search; the app automates it across the whole content model and the media library.

Approach

Two scan criteria in separate tabs — untitled drafts (confident junk) and unreferenced drafts (review leads) — each covering entries and/or media assets, with a "never edited" filter (sys.version === 1), creator/created-date attribution, paginated results, CSV export with editor deep links for offline review, and reversible bulk archiving behind an itemized confirmation. Scans are rate-limit-friendly (batched, capped via installation parameters). Locations used: Page (LOCATION_PAGE) for the scan/results UI and App Config (LOCATION_APP_CONFIG) for the two installation parameters.

Testing steps

There is a script bundled in that can create orphans or simply add some "new" entries and abandon them

Breaking Changes

No

Dependencies and/or References

Deployment

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant