pr-agent icon indicating copy to clipboard operation
pr-agent copied to clipboard

Separate data processing and presentation parts for better code clarity

Open woung717 opened this issue 6 months ago • 6 comments

Hey pr-agent team,

I'm a regular user of pr-agent for our team's code reviews and often tweak comment items and locales during deployment. However, I've faced some challenges with the markdown/HTML compilation process since it's closely integrated with the Python code, especially for reviews and descriptions tasks output.

I suggest we separate the data processing and presentation parts. We could move the compilation tasks into template files, specifically using Jinja2, as it's already part of our project.

Would love to hear your thoughts on this. If it sounds good, I'm ready to work on these changes and submit a PR.

Cheers

woung717 avatar Aug 02 '24 01:08 woung717