Skip to content

feat: make edbs_meeting public with a board-meetings rewrite base - #37

Open
pattonwebz wants to merge 6 commits into
mainfrom
feature/meeting-public-rewrite-base
Open

feat: make edbs_meeting public with a board-meetings rewrite base#37
pattonwebz wants to merge 6 commits into
mainfrom
feature/meeting-public-rewrite-base

Conversation

@pattonwebz

Copy link
Copy Markdown
Member

Summary

  • edbs_meeting now defaults to public => true with rewrite => ['slug' => 'board-meetings'] — a real single-page permalink, and the exact get_post_types(['public' => true]) check third-party plugins like ArchiveWP use to build their archivable-post-types list (GH#25 / PRO-1209), no longer requiring a site to opt in via edbs_cpt_args
  • has_archive stays false — no generated archive listing; meetings are still meant to be browsed via the [edbs_boardscribe] shortcode's own REST-backed table
  • edbs_cpt_args remains fully available to disable public/rewrite back to false, change the rewrite slug, or enable a real archive page
  • Enables equalizedigital/boardscribe-pro#29's document-permalink nesting (a linked agenda/minutes document's URL nests under its meeting's slug) — that PR's DocumentCPT mirrors whatever this CPT's rewrite resolves to, so it was previously inert with today's paused default

Test plan

  • composer lint, composer check-cs pass
  • Updated BoardScribeCptTest: new defaults, the ArchiveWP-shaped regression check, and edbs_cpt_args filter coverage in all directions (disable public, enable archive, change the rewrite slug)
  • composer test (PHPUnit) — not run in this environment
  • Manual smoke test: visit a published meeting's permalink and confirm no fatal (theme's generic single template, since this CPT only supports title)

🤖 Generated with Claude Code

pattonwebz and others added 6 commits July 16, 2026 23:02
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A meeting now gets a real single-page permalink
(/board-meetings/{meeting-slug}/, falling back to the theme's generic
single template since this CPT only supports 'title') and shows up in
a get_post_types(['public' => true]) query by default - the exact
check third-party plugins like ArchiveWP use to decide what's
archivable (GH#25 / PRO-1209), previously only reachable by opting in
through the edbs_cpt_args filter.

has_archive stays false - no generated archive listing; meetings are
still meant to be browsed via the [edbs_boardscribe] shortcode's own
REST-backed table. edbs_cpt_args remains available to disable
public/rewrite back to false, change the rewrite slug, or enable a
real archive page.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 11 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c4d51360-d728-4ea1-96b1-70e2f6c18631

📥 Commits

Reviewing files that changed from the base of the PR and between 7a65082 and fe03213.

📒 Files selected for processing (3)
  • CLAUDE.md
  • includes/PostType/BoardScribeCPT.php
  • tests/phpunit/BoardScribeCptTest.php

Comment @coderabbitai help to get the list of available commands.

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