Skip to content

Validate syntax when a subscription has an invalid label #385

Open

Description

@DHaussermann

If a user mistakenly forgets the " on the label, the label has no affect and it's not obvious why.

Ideally we can prevent this by checking if label: is followed by a value in quotes to prevent user error. If we showed a message such as no valid label provided this would be far more forgiving.

Steps:

  • type /github subscribe DHaussermann/hello-world pulls,issues,creates,deletes,label:Apples with Apples instead of "Apples"
  • Subscription successful

Observed Label has no affect as no valid label was provided

Activity

  1. added
    Type/Bug
    on Oct 7, 2020
  2. DHaussermann commented on Oct 7, 2020

    @DHaussermann
    Author

    @hanzei please advise if this is technically possible and would make a good help wanted.

  3. added
    Type/Enhancement
    Good First Issue
    Help Wanted
    Up For Grabs
    and removed
    Type/Bug
    on Oct 8, 2020
  4. hanzei commented on Oct 8, 2020

    @hanzei
    Contributor

    That improvement makes up for a great HW 👍

  5. NamrataSitlani commented on Oct 8, 2020

    @NamrataSitlani

    @DHaussermann @hanzei Hi, I would like to assign this issue to myself, and give it a try.

  6. hanzei commented on Oct 8, 2020

    @hanzei
    Contributor

    Awesome, thanks for taking a look @NamrataSitlani. Let me know if you have any questions.

  7. removed
    Up For Grabs
    on Oct 8, 2020
  8. added
    Up For Grabs
    on Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty/1:EasyGood First IssueHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions