Skip to content

CP-7797: Document creating, updating and deleting Saved Filters - #199

Merged
abdul-devops01 merged 1 commit into
MakerbleDev:mainfrom
lokesh-k-12:CP-7797-filters-api
Dec 3, 2026
Merged

abdul-devops01 merged 1 commit into
MakerbleDev:mainfrom
lokesh-k-12:CP-7797-filters-api

Conversation

@lokesh-k-12

Copy link
Copy Markdown
Contributor

What & Why

Companion to MakerbleDev/makerble#18007, CP-7797 (PR 1 of 2).

  • openapi.yaml:

    • new operations createSavedFilter (POST /saved_filters), updateSavedFilter (PATCH /saved_filters/{id}) and deleteSavedFilter (DELETE /saved_filters/{id});
    • a new SavedFilterInput schema;
    • can_edit, who_can_edit and editor_ids added to SavedFilter, and criteria added to SavedFilterDetail.

    This is the same change as the vendored copy in #18007, whose contract specs validate the responses against it.

  • server.js: three endpoint cards and a paragraph in the Saved Filters section, written in front-end terms.

Only openapi.yaml and the Saved Filters cards in server.js change. It's rebased on the latest main, and npm run check passes.

Merge timing: don't merge until #18007 is live in production. Every push to main goes live, so merging earlier would document endpoints that return 404. If the docs are still pre-launch, it may be merged once reviewed. Matt to confirm which applies.

Opened from a fork because this account can't push to the repo.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@lokesh-k-12 is attempting to deploy a commit to the Makerble's projects Team on Vercel.

A member of the Team first needs to authorize it.

CP-7797, for MakerbleDev/makerble#18007. POST /saved_filters, PATCH and
DELETE /saved_filters/{id}, and the can_edit, who_can_edit, editor_ids
and criteria fields.

The list includes filters you can edit, and shared accepts only true or
false. Conditions on contact fields the user may not see (Field
Visibility, CP-8789) are left out of a Saved Filter's criteria, so their
values are never returned, and such a filter's criteria can't be
changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lokesh-k-12
lokesh-k-12 marked this pull request as ready for review December 3, 2026 07:21
@abdul-devops01
abdul-devops01 merged commit 61706ae into MakerbleDev:main Dec 3, 2026
1 of 2 checks passed
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.

3 participants