sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

Generate sequence diagrams on request

Open EttyKitty opened this issue 10 months ago • 1 comments

Checklist

  • [x] This is a new feature, not a refactoring suggestion
  • [x] I have checked for this feature in the Sourcery documentation
  • [x] I have checked there are no open requests referencing the same feature

Description

Right now, there is only a binary switch to control generation of sequence diagrams: you can either enable or disable them for all PR reviews. I, personally, disabled them, as they take a lot of space and are not very useful for me to have in every PR.

What I want to suggest, is to add a "command" similar to $sourcery-ai review comment, that generates reviews on demand, something like $sourcery-ai diagram, that'll make the bot to respond and execute the default diagram generating behavior. This way, you can disable diagram generation by default for all PRs and ask to generate them case by case, when you actually need them.

EttyKitty avatar Dec 20 '24 19:12 EttyKitty