Skip to content

add docs#37

Merged
PrivateGER merged 2 commits into
developfrom
feat/mrf-admin-ui
Jul 3, 2026
Merged

add docs#37
PrivateGER merged 2 commits into
developfrom
feat/mrf-admin-ui

Conversation

@PrivateGER

Copy link
Copy Markdown
Owner

No description provided.

Adds a collapsible 'Syntax reference' panel documenting the full policy
API surface: the filter(ctx) contract, params schema types, ctx fields,
mrf.accept/reject/rewrite decisions, mrf.activity.*/mrf.note.*/mrf.lookup.*
helpers, sandbox constraints, and a worked example. Content is grounded in
the SANDBOX_PRELUDE and parseDecision rules.

Also renders string_array params as comma-separated inputs (matching the
existing coerceParams round-trip) and reseeds the params form from the
dry-run result so live editing converges.
The worked example read ctx.params.max_mentions without declaring it, so
copying it alone would error on a nil comparison. Declare the parameter in
the example's own policy.params block.
@PrivateGER PrivateGER merged commit 6c1a2dc into develop Jul 3, 2026
1 of 3 checks passed
@PrivateGER PrivateGER deleted the feat/mrf-admin-ui branch July 3, 2026 10:31
@PrivateGER PrivateGER restored the feat/mrf-admin-ui branch July 3, 2026 10:31
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@PrivateGER, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 6 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: 87f16cd7-180f-4aa6-a28f-9c50ae6e6b9b

📥 Commits

Reviewing files that changed from the base of the PR and between c6813c1 and eb6cec4.

📒 Files selected for processing (5)
  • locales/index.d.ts
  • packages/frontend/src/pages/admin/mrf-policies.policy.vue
  • packages/frontend/src/pages/admin/mrf-policies.reference.vue
  • packages/frontend/src/pages/admin/mrf-policies.vue
  • sharkey-locales/en-US.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mrf-admin-ui

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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