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

Turn on filename annotations for rendered views in development mode #475

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

sandbergja
Copy link
Member

This adds comments to the rendered HTML saying which partials and view components were used, similar to what we have in Orangelight.

This adds comments to the rendered HTML saying which partials
and view components were used, similar to what we have in
Orangelight.
Copy link
Member

@christinach christinach left a comment

Choose a reason for hiding this comment

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

Thanks @sandbergja !

@@ -45,6 +45,8 @@
# Suppress logger output for asset requests.
config.assets.quiet = false

config.action_view.annotate_rendered_view_with_filenames = true

Copy link
Member

Choose a reason for hiding this comment

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

👍🏻

@sandbergja sandbergja merged commit 0c1feed into main Sep 13, 2024
4 checks passed
@sandbergja sandbergja deleted the annotate-rendered-view branch September 13, 2024 00:11
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