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

Implement labels (resolves #313) #392

Merged
merged 147 commits into from
Apr 26, 2019
Merged

Implement labels (resolves #313) #392

merged 147 commits into from
Apr 26, 2019

Conversation

jace
Copy link
Member

@jace jace commented Apr 8, 2019

@jace jace requested a review from iambibhas April 8, 2019 08:25
@jace jace mentioned this pull request Apr 8, 2019
@jace
Copy link
Member Author

jace commented Apr 8, 2019

The draft models here do not have colour code columns. This needs some thinking.

  1. If the same label (say "Pending review") across projects has different colour codes, it will be confusing to the proposer. Instead, we could auto-calculate colour codes from the text, so that the same text will result in the same colour each time.

  2. On the flip side, colours have cultural significance. Green, yellow and red are natural choices for "accepted", "pending" and "rejected". If the auto generator picks the wrong colours, the user will want to override. Users must have a choice, or the auto generator must be trained with a thesaurus.

  3. Separately, we could pick a colour palette for the labelset and assign colours to labels (a) sequentially from the palette, or (b) auto pick based on title so that the same title will always pick the same item number in the palette.

@jace jace mentioned this pull request Apr 11, 2019
tests/conftest.py Outdated Show resolved Hide resolved
@iambibhas iambibhas marked this pull request as ready for review April 26, 2019 14:57
@jace jace merged commit 5adf03c into master Apr 26, 2019
@jace jace deleted the labels branch April 26, 2019 16:58
jace added a commit that referenced this pull request Jun 6, 2019
Also removes the obsolete session_type and technical_level columns that have been converted to labels as of #392.
@jace jace mentioned this pull request Jul 2, 2019
3 tasks
vidya-ram pushed a commit that referenced this pull request Nov 23, 2021
Implement labels (resolves #313)
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

Successfully merging this pull request may close these issues.

3 participants