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

Remove from project if label is removed #10

Open
koppor opened this issue Oct 15, 2024 · 4 comments
Open

Remove from project if label is removed #10

koppor opened this issue Oct 15, 2024 · 4 comments

Comments

@koppor
Copy link
Collaborator

koppor commented Oct 15, 2024

Follow-up to #1

While trying to include #7 in our project, I remembered, that we have "link" of the label "good first issue" with precense in our project "Good First Issues". If we decide that an issue is not a good first issue any more, we also need to remove it from the project. -- Not sure if this causes confusion for the users if one can either specify default-column or remove_on_remove: yes.

@koppor koppor changed the title Remove from project if lable removed Remove from project if label is removed Oct 15, 2024
@m7kvqbe1
Copy link
Owner

Ok so an additional feature that removes it from the project when unlabelled.

Is the default-column feature still useful to you? Do you require both features?

@koppor
Copy link
Collaborator Author

koppor commented Oct 15, 2024

Ok so an additional feature that removes it from the project when unlabelled.

That would be a third type of feature: Existing in project, then remove

Is the default-column feature still useful to you? Do you require both features?

Yes:

Two activities on label removed:

  • not in project: noop
  • in project: move to default columm

@koppor
Copy link
Collaborator Author

koppor commented Feb 25, 2025

Update - my text on Oct 15 should read:

if feature: remove-on-label-remove:
  if existing in project:
    remove from project
  else:
    noop
else:
  # keep in project => remove to default column
  if existing in project:
    if default-column configured:
      move to default column
    else:
      noop
  else:
    noop

@koppor
Copy link
Collaborator Author

koppor commented Feb 25, 2025

Note this is an enhancement only for completeness. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants