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

Add easier ways to query/manipulate labels in the project #22

Open
PJEstrada opened this issue Nov 22, 2021 · 0 comments
Open

Add easier ways to query/manipulate labels in the project #22

PJEstrada opened this issue Nov 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@PJEstrada
Copy link
Contributor

Current issues with labels:

  1. We currently cache labels on memory, and when adding new labels we are not adding them to that cache. So either we remove that cache and always query the backend for labels or we add the labels to the cache when creating a new one.
  2. It would be nice to have a project.get_labels() function that can give us a list of the labes in the project.
  3. When adding a new label, it would be nice to add a flag to check for duplicates as default. The user can explicitly deactivate it if he wants to create duplicate labels on the project. We already 99% of this done in the label_new function but this is not considering new labels created on the script. So maybe we'll need to add get_label_file_dict in here.
  4. There is no way to delete labels using the SDK
  5. The get_label_file_dict is just returing the first label with the name. But in the case of duplicates there is no way to know what are the 2 label ids associated with the same name.
@PJEstrada PJEstrada added the enhancement New feature or request label Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant