log4brains icon indicating copy to clipboard operation
log4brains copied to clipboard

Decision Log Package Filtering

Open rdurham285 opened this issue 3 years ago • 5 comments
trafficstars

Feature Request

Feature Suggestion

It would be of great value if we could get some views that were filtered down by a given package.

Context

Managing a long lived monorepo with lots of ADRs could grow cumbersome. We are also adopting ADR for decision making for our enterprise where we intend to model certain business and technical areas as packages, where it would be valuable to view those decision areas separately from the global adr population.

Possible Implementation

On the left side in the visual representation of the decision log, a drop down or method of picking a package that filters it down to the decisions in the package would be one way to implement this.

rdurham285 avatar Oct 04 '22 19:10 rdurham285

I would also love to see this feature added. The possible implementation that is outlined above of a dropdown would work well.

qtzar avatar Nov 15 '22 20:11 qtzar

I wanted this functionality as well, so I've implemented a simple version of this request in #99. Please provide feedback if you would like!

tylerhubert avatar Jan 20 '23 19:01 tylerhubert

@tylerhubert I just wrapped up very similar code in my fork to add this functionality also. I just couldn't get it to commit due to a typescript listing issue I'm still trying to resolve.

qtzar avatar Jan 20 '23 20:01 qtzar

@qtzar, I got around that by doing --no-verify on the commit. It seems like yarn lint will pass for me, but the husky pre-commits won't due to libraries (airbnb related I believe) that need to be updated. I guess we can see if @thomvaill is ok with that or not. :) I just opened up 3 PRs in the last day this same way, so I might have some rework to do if we need to get that handled.

tylerhubert avatar Jan 20 '23 20:01 tylerhubert

I suggest going with @qtzar's changes. :) The UI is formatted much nicer than mine and has more features.

tylerhubert avatar Jan 24 '23 15:01 tylerhubert