Search Pull Requests commented by me or mentioned me #60164
Replies: 4 comments
-
You make some great points, going to bump this up to see if it will land on a fresh set of eyes. I'm curious too! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
TL;DR I couldn't find a way to create logical ORs, but I found this TUI app (GH Dash) which, for me, is a great alternative to make it easier to switch between different use cases/filters (as tabs) that cover my needs. Recently I discovered this amazing extension (GH Dash) for the Github CLI which is a TUI that you can configure to have different filters as tabs. I have a few tabs for:
The Reviewing one is interesting because there's a filter for So, I just consider whatever I comment as if I'm reviewing it. Also, as you can provide different configuration files for the Dash app as It is in my dotfiles (which I haven't made public, yet, but will soon): Code SnippetIt can certainly be improved, but so far it is working just fine. In summary, what is does is searching for the repo name and looks for a #!/usr/bin/env bash
# Inspired on https://github.com/joshmedeski/dotfiles/blob/main/.config/bin/ghd
#
# Search for a $repo_name.yml file under $XDG_CONFIG_HOME/gh-dash/, if exists use it
# as configuration file for gh-dash
CFG_PATH="$XDG_CONFIG_HOME/gh-dash"
GIT_ROOT=$(git -C $PWD rev-parse --show-toplevel 2>/dev/null) && echo $GIT_ROOT >/dev/null
if [[ $? -ne 0 ]]; then # not in a git repo
if [ -e "$CFG_PATH/config.yml" ]; then
gh dash --config "$CFG_PATH/config.yml"
else
gh dash
fi
else # in a git repo
repo_name=$(basename $GIT_ROOT)
if [ -e "$CFG_PATH/$repo_name.yml" ]; then
gh dash --config "$CFG_PATH/$repo_name.yml"
else
gh dash
fi
fi This may not be a good solution for everyone but for me works great. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I’m trying to create a bookmark to easily access PRs to which I should pay attention to.
So far I have this:
Which translates to
is:open is:pr archived:false user:myorg commenter:me
.I’d like to have something like
commenter:me OR mentions:me
(besides all the other filters).There’s an
involves:USERNAME
filter that looks pretty much like what I’m looking for, but it also filters byassignee
which doesn’t really work for me, because a lot of PRs got assigned automatically to some users (including me), but I’m only interested on those that mentioned me or I commented.Also I tried
involves:me -assignee:me
but no luck. :/Beta Was this translation helpful? Give feedback.
All reactions