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 task custom fields assessments #3931

Merged
merged 5 commits into from
Nov 29, 2021

Conversation

gjvoosten
Copy link
Collaborator

@gjvoosten gjvoosten commented Nov 25, 2021

For tasks, assessments could either be defined through the dictionary or through a custom field assessments. That second option has now been removed. Any previously existing assessment definitions through that second option should be moved to the dictionary.

Closes AB#294

User changes

  • None

Super User changes

  • Assessments for tasks can no longer be defined through a custom field; they have to be defined in the dictionary.

Admin changes

  • Assessments for tasks can no longer be defined through a custom field; they have to be defined in the dictionary.

System admin changes

  • anet.yml or anet-dictionary.yml may need change
    If any tasks had assessment definitions through a custom field, those should be moved to the dictionary. The custom field definition for task assessments (fields.task.customFields.assessments) should then be removed from the dictionary.
  • db needs migration
  • documentation has changed
  • graphql schema has changed

Checklist

  • Described the user behavior in PR body
  • Referenced/updated all related issues
  • commits follow a repo#issue: Title title format and these 7 rules
  • commits have a clean history, otherwise PR may be squash-merged
  • Added and/or updated unit tests
  • Added and/or updated e2e tests
  • Added and/or updated data migrations
  • Updated documentation
  • Resolved all build errors and warnings
  • Opened debt issues for anything not resolved here

They are now in the dictionary and no longer in customFields.assessments.
Put schema in line with the current client-side aggregation implementation.
Note that not all combinations of aggregationType and widget will lead to results.
@gjvoosten gjvoosten added the debt label Nov 25, 2021
@gjvoosten gjvoosten force-pushed the AB-294-remove-task-customFields-assessments branch from c52e3a9 to 5d93b2b Compare November 25, 2021 11:48
Update test data and expected results, and remove obsolete test.
Also update test dictionary with recent changes in the main dictionary.
@gjvoosten gjvoosten force-pushed the AB-294-remove-task-customFields-assessments branch from 5d93b2b to c43221f Compare November 25, 2021 12:39
@gjvoosten gjvoosten merged commit fda278a into candidate Nov 29, 2021
@gjvoosten gjvoosten deleted the AB-294-remove-task-customFields-assessments branch November 29, 2021 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants