Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot add a filter on labels in config files if their names contain colons #552

Open
xamcost opened this issue Mar 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@xamcost
Copy link

xamcost commented Mar 13, 2025

Describe the bug

Hi there! First, thank you for providing this great extension. I'm opening this issue to report the fact that I couldn't create a filter in my config file that involves a label name containing a colon (:) sign. However, it works if you do this filtering in the UI, as expected.

To Reproduce
Steps to reproduce the behavior:

  1. In the issue or PR section of your config file, add a filter such aslabel:"Priority: High". For instance:
issuesSections:
- title: High Priority
  filters: label:"Priority: High :red_circle:"
  1. Launch gh dash
  2. The dashboard won't launch, and an error will be thrown:
2025-03-13T18:37:50Z FATA <ui/ui.go:114> Reading config file: failed parsing config file location="" err="failed parsing config.yml: yaml: line 16: mapping values are not allowed in this context"

NB: it works in the UI (sorry for the cropped image, it is in a private org)
Image

Expected behavior

I would expect we can escape colons by wrapping the label filter in single or double quotes.

Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.3.1
@xamcost xamcost added the bug Something isn't working label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant