Closed martinschaflitzl1 closed 6 months ago
Thanks for the PR, it's a good idea. However, the global filter config feels too hidden. A --mine
(-m
) option would make obvious why the list is short, and the default case would remain unfiltered. WDYT?
The default kinda still is a unfiltered list, because you have to configure the filter before it can filter stories.
I very rarely check out a branch for / commit a story I do not own on the Tracker, so I´d rather have the default (with the config set) filtered. But I also don´t know if that is the case for all our colleges.
A -m
option would also be fine for me, I can always have an alias that filters by default.
Ok, let's do both then:
geordi [branch|commit]
shows all storiesgeordi [branch|commit] --mine
(-m
) shows only own storiesWhen the suggested global config is set:
geordi [branch|commit]
shows only own storiesgeordi [branch|commit] --no-mine
(-M
) shows all stories(The --no-mine
is Thor default for boolean options.)
@martinschaflitzl1 Do you intend to finish this? Else we'll close it soon.
When choosing a story for
geordi commit
orgeordi branch
it can get quite cumbersome if there are a lot of running stories for the current project. Most of the time, I am only interested in the stories where I am the owner. This MR adds the possibility to configure a owner-filter for the story selection in the~/.config/geordi/global.yml
.This functionality has been proven to be useful in my workflow, please consider adding it to geordi.