Skip to content
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

Add output_preamble to match postamble #1960

Merged
merged 6 commits into from
Jan 8, 2024
Merged

Add output_preamble to match postamble #1960

merged 6 commits into from
Jan 8, 2024

Conversation

CrookedGrin
Copy link
Contributor

What are you trying to accomplish?

Add output_preamble to match existing output_postamble, as suggested in this issue.

What approach did you choose and why?

To keep this PR as simple as possible, we've just mirrored the existing output_postamble code.

Anything you want to highlight for special attention from reviewers?

This is a follow-up to another PR, incorporating the changes suggested there.

@CrookedGrin CrookedGrin marked this pull request as ready for review January 8, 2024 16:14
Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

lib/view_component/base.rb Outdated Show resolved Hide resolved
Taking @camertron's suggestions

Co-authored-by: Cameron Dutro <[email protected]>
@camertron
Copy link
Contributor

Not sure what's going on with this PVC failure, will investigate.

@camertron
Copy link
Contributor

Ok, the failure is happening on PVC main too, so this PR shouldn't be blocked.

@camertron camertron merged commit cc7c313 into ViewComponent:main Jan 8, 2024
38 of 39 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.

2 participants