Hi team,
I built a small feature that adds a visual prompt-version diff viewer to Phoenix. It lets users pick two prompt versions and see a side-by-side diff with added/removed/modified lines highlighted.
This improves prompt management usability: without a clear diff view it's hard to know exactly what changed between prompt versions, and teams want to review differences before promoting a prompt to production, much like a code review. The absence of a prompt diff viewer was a major reason our team avoided using the prompt-management feature from Phoenix.
You can see the implementation and usage in the repo: https://github.com/jmarcosmn/phoenix-prompt-diff
Disclaimer: the code is AI generated.
Can your team consider implementing something similar in the near future, or do you think I can adapt this code to match your contribution guidelines and open a PR?
Here are some pics of the feature: