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

Collapse unrelated lines in changelog viewer #1091

Open
otbe opened this issue Jan 11, 2025 · 0 comments
Open

Collapse unrelated lines in changelog viewer #1091

otbe opened this issue Jan 11, 2025 · 0 comments

Comments

@otbe
Copy link
Contributor

otbe commented Jan 11, 2025

Use Case

Right now the changelog for an event schema always renders the full event. Depending on the event this might lead to a lot of scrolling needed to read through the entire changelog.

Example:
Screenshot 2025-01-11 at 11 42 44

The relevant change is on line 485.

Proposed Solution

What if we collapse the change free parts like github does? E.g. https://github.com/event-catalog/eventcatalog/pull/1087/files#diff-912787f2242f6d65fb04fe7b13fc2a8c3bc40d5ef76ae633ab2729f3695627aaR4

Implementation Notes

Im not quite sure if this is possible out of the box with the component we use right now.

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out in the EventCatalog Discord.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant