Skip to content

Conversation

@AndersAstrand
Copy link
Collaborator

@AndersAstrand AndersAstrand commented Dec 18, 2025

Also let the user expand/collapse them by clicking.

This is just the fundamentals, we need to do more with it before it's useful. If I pick this up again I'll try to use highlight.js to add some colors to the diffs and some css to make it all look good.

@AndersAstrand AndersAstrand marked this pull request as draft December 18, 2025 07:57
Also let the user expand/collapse them by clicking.
span.filename = attachment.file_name
span.content-type = attachment.content_type if attachment.content_type
- if attachment.patch?
details class="attachment"
Copy link
Collaborator

Choose a reason for hiding this comment

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

these class="<x>" lines could all be like details.attachment

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! I haven't used this template language before. Good to know! 🙂

@dutow
Copy link
Collaborator

dutow commented Dec 18, 2025

@ImTheKai created another pull request #17 which includes this but also a download button

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