Skip to content

Refactor diff component and improve LiveView integration#111

Merged
ericmj merged 7 commits intohexpm:mainfrom
kyleboe:main
Mar 5, 2026
Merged

Refactor diff component and improve LiveView integration#111
ericmj merged 7 commits intohexpm:mainfrom
kyleboe:main

Conversation

@kyleboe
Copy link
Contributor

@kyleboe kyleboe commented Mar 3, 2026

This pull request refactors how file diffs are shown and hidden in the UI, removing the broken JavaScript and using LiveView JS commands to simplify the code. It removes the old "collapse/reveal" icons and logic in favor of a single toggle icon & modern CSS.

@kyleboe
Copy link
Contributor Author

kyleboe commented Mar 3, 2026

As an aside, none of the other event handlers in assets/js/app.js are working as intended either.

@ericmj
Copy link
Member

ericmj commented Mar 5, 2026

Thank you! 💜

@ericmj ericmj merged commit 1b081cb into hexpm:main Mar 5, 2026
4 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