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

github(summary): add collapsible section for build inputs and bake def #377

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Jun 19, 2024

@crazy-max crazy-max force-pushed the summary-collapsible branch 3 times, most recently from 13ad782 to 3172323 Compare June 19, 2024 21:32
@crazy-max crazy-max marked this pull request as ready for review June 20, 2024 07:32
@dvdksn
Copy link

dvdksn commented Jun 20, 2024

What do you think about making section titles the <summary>? We could make the Preview open by default (<details open><summary>Preview</summary> ...). For example:

image

I also noticed that we generate an H1 for every summary. An HTML document should never have more than one H1 so I think we should make them H2.

@crazy-max crazy-max force-pushed the summary-collapsible branch 6 times, most recently from bf2bfaf to 4471656 Compare June 20, 2024 08:42
@crazy-max
Copy link
Member Author

@dvdksn PR description updated based on your suggestion

Copy link

@dvdksn dvdksn left a comment

Choose a reason for hiding this comment

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

Nice, LGTM

@crazy-max crazy-max force-pushed the summary-collapsible branch 5 times, most recently from 649aadd to b9b815a Compare June 20, 2024 14:19
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max merged commit c330895 into docker:main Jun 20, 2024
38 checks passed
@crazy-max crazy-max deleted the summary-collapsible branch June 20, 2024 16:42
@tonistiigi
Copy link
Member

image

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.

Optionally use disclosure elements to hide lengthy Docker build summary
3 participants