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

Percy examples combination preparation (jinja/python enablement code) #5142

Conversation

jmuzina
Copy link
Member

@jmuzina jmuzina commented Jun 17, 2024

This is some preparatory code that the example combination PRs that are coming next depend on.

  • Adds flag is_combined to the examples base template. If the flag is set, the stylesheet/scripts will not be added to the header, as otherwise they would be requested multiple times in the case of a combined example. This lets the examples embedded in combined examples use the scripts/styling loaded in their parent example.
  • Hides 'combined' examples from the examples index view, since they are really only intended for usage by testing agents, not users.

@jmuzina jmuzina self-assigned this Jun 17, 2024
@webteam-app
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants