pactflow / roadmap

Public Pactflow issue tracker and roadmap
MIT License
15 stars 0 forks source link

No ability to filter contracts in the Overview page #96

Open milda-a opened 1 year ago

milda-a commented 1 year ago

https://pact-foundation.slack.com/archives/C9VPNUJR2/p1678713857828619

We follow this approach currently:

Pre-merge:

Post-merge:

This leads to multiple 'hanging' contracts to be displayed in the Overview page. We would ideally not want to see the old pre-merge branches/versions as those test environments are ephemeral and would no longer be utilised. Ideally, we would be able to filter the Overview page to show Deployed/Released contracts only.

mefellows commented 1 year ago

Thanks! As discussed on Slack, integration with the SCM provider (#45) and removing contracts related to dead branches would be one way to address this. It's probably possibly by a custom GitHub webhook that then deletes any related pacts, but I can see why that's a bit much to ask of our cusomers!

I've also wondered if we could potentially leverage information from the use of pact-broker record-deployment/release. Once an old contract has been replaced, it could potentially be marked as stale and deprioritised in the UI.

Filtering in the UI could still be a useful feature. We have a new UX/UI coming later this year (dates TBC), and the proposed screens would allow you to filter the related contracts in a similar way to your description.