-
Notifications
You must be signed in to change notification settings - Fork 19
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 thematic labels to indicator #3788
Labels
Milestone
Comments
punchagan
added a commit
that referenced
this issue
Sep 19, 2019
The labels field contains the IDs of the `OrganisationIndicatorLabel` objects that are related to the indicator, and not the IDs of the `IndicatorLabel`, itself. Creation of `IndicatorLabel`s also assumes that the IDs of the corresponding `OrganisationIndicatorLabel`s are passed in. Closes #3788
punchagan
added a commit
that referenced
this issue
Sep 19, 2019
Complicated queries can result in responses where the list of objects being returned is not distinct. This commit fixes that.
punchagan
added a commit
that referenced
this issue
Sep 20, 2019
Complicated queries can result in responses where the list of objects being returned is not distinct. This commit fixes that.
martinchristov
added a commit
that referenced
this issue
Sep 20, 2019
martinchristov
added a commit
that referenced
this issue
Sep 20, 2019
punchagan
added a commit
that referenced
this issue
Sep 23, 2019
This reverts commit 974d447. The commit was overwritten in the PR branch, but was merged into develop due to a bad merge. This commit fixes a broken build on develop.
punchagan
added a commit
that referenced
this issue
Oct 10, 2019
To display the form in the Django Rest Framework UI, the serializer is passed individual items in a queryset, instead of the whole queryset. This commit fixes the serializer to be able to handle individual instances in the queryset correctly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The granular way of working with thematic labels attached to indicators is extremely prone to error at the FE due to the complexity of handling it, waiting for IDs assigned from backend for each label, etc. This will decrease UX as the component will have to freeze to wait for backend syncs and will break the normal pattern of auto-saving.
In order to wrap this up properly we need to have a simpler way of editing the labels attached to indicator, namely as a simple list of label values:
This property would need to be added to the indicator and to allow GET & PATCH.
The text was updated successfully, but these errors were encountered: