Skip to content

DEV: Unify reviewable action definition. #34166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 11, 2025

Conversation

pento
Copy link
Member

@pento pento commented Aug 8, 2025

✨ What's This?

This is a step towards unifying how reviewable types are defined.

In this PR, we add a new ReviewableActionBuilder concern, which can be included by the various reviewable types to give them a standard helper for adding actions that can be performed on the reviewable.

The first feature for this concern takes the build_action() helper that some reviewables used, and makes it available to all reviewables. This is done in a backward compatible fashion, so it will work even whilst we transition to the new reviewable UI.

@pento pento self-assigned this Aug 8, 2025
@github-actions github-actions bot added i18n PRs which update English locale files or i18n related code chat PRs which include a change to Chat plugin styleguide poll discourse-assign discourse-hcaptcha discourse-ai footnote labels Aug 8, 2025
@pento pento force-pushed the pento/dev-unify-reviewable-action-builder branch from c7f7db9 to dfd2a3c Compare August 11, 2025 01:29
@pento pento merged commit 7514dc8 into main Aug 11, 2025
16 checks passed
@pento pento deleted the pento/dev-unify-reviewable-action-builder branch August 11, 2025 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code
Development

Successfully merging this pull request may close these issues.

2 participants