Repository navigation
CP-9154: document announcement roles, audience rules and facts - #159
Merged
Merged
Conversation
CP-9154. Announcements gain roles and audience_rules (Makerble's own only), and GET /announcements/facts lists the facts the rules can use. Both openapi.yaml and the hand-written endpoint cards in server.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xqXsty21P7u9MUD9KH
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mattkepple
marked this pull request as ready for review
November 14, 2026 10:07
Contributor
Author
|
Merged on Matt's instruction. The Rails side (MakerbleDev/makerble#17684, #17690, #17693) is merged into The branch Generated by Claude Code |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to the Rails work for https://makerble.atlassian.net/browse/CP-9154. The API v2 changes are in https://github.com/MakerbleDev/makerble/pull/17693 (stacked on #17690 and #17684).
What
openapi.yaml:rolesandaudience_rulesonAnnouncementInputandAnnouncement;GET /announcements/facts(listAnnouncementFacts, tag Announcements,tokenAuth, 401/403);AnnouncementFactandPaginatedAnnouncementFactsschemas.The text matches the vendored copy in the Rails repo (
spec/support/api_schemas/openapi.yaml), which the Rails contract specs validate responses against.server.js: a paragraph on roles and behaviour rules in the Announcements section, the new "List Announcement Facts" endpoint card, androles/audience_rulesadded to the create body.npm run checkpasses. Onlyopenapi.yamland the Announcements cards inserver.jschange.Release timing
This deploys the moment it reaches
main. While the API docs are pre-launch it may be merged once reviewed, without waiting for the Rails change to reach production. Once they have launched publicly, hold it until https://github.com/MakerbleDev/makerble/pull/17693 is live in production.Generated by Claude Code