-
Notifications
You must be signed in to change notification settings - Fork 53
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
Labels #313
Comments
Also consider emoji icons for labels (instead of, or in addition to colour codes). |
Labels should be restricted to projects. Since workflows change often, old projects shouldn't be affected when labels are changed. Instead, new projects can be cloned from old projects so that the labels defined there are inherited. |
More complications for labels:
|
Proposed ModelsLabel
LabelSet
ProposalLabel
While creating ProposalLabel record,
|
The |
Implementation is in #392. Discussion can move there. |
The
Section
model is a bit crude in that (a) sections must be re-defined for every project, and (b) each proposal can have only one section. Project owners may want more fine-grained control. Enter labels:Profile
can have zero or moreLabelset
instances attached to it. A labelset contains labels and operates in either checkbox mode (select any number) or radio mode (select one)Project
can have zero or more labelsets enabled for that particular project. These labels now appear in the UI.Label
instances are attached toLabelset
(parent) and toProposal
in many-to-many relationships.Existing sections can be migrated to labelsets and enabled for each project. Some code for this is already in Funnel in
models/labels.py
via commit a4477f2.Simplified proposal
label
model defines a piece of text and an optional colour code.Project
orProfile
(making them available across all projects), or may be free standing, making them universal across all profiles. For the sake of simplicity, we may limit ourselves toProject
, or to justProject
andProfile
.The text was updated successfully, but these errors were encountered: