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

In TaskType list, show Team name again #3053

Merged
merged 12 commits into from
Aug 15, 2018
Merged

In TaskType list, show Team name again #3053

merged 12 commits into from
Aug 15, 2018

Conversation

MichaelBuessemeyer
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer commented Aug 14, 2018

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • open the task types view
  • the names should be listed now

Issues:


  • Updated changelog
  • [ ] Updated migration guide if applicable
  • [ ] Needs datastore update after deployment
  • Ready for review

@fm3 fm3 self-assigned this Aug 14, 2018
@fm3 fm3 changed the title Tasktype json team In TaskType list, show Team name again Aug 14, 2018
Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, works well :)

@fm3 When creating a task type the team property is still called team which makes for somewhat inconsistent types. I would suggest to rename it to teamId as well. What do you think?

CHANGELOG.md Outdated
@@ -45,6 +45,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.md).
- Fixed that URLs linking to a certain position in a dataset or tracing always led to the position of the active node. [#2960](https://github.com/scalableminds/webknossos/pull/2960)
- Fixed that setting a bounding box in view mode did not work. [#3015](https://github.com/scalableminds/webknossos/pull/3015)
- Fixed a bug where viewing Compound Annotations (such as viewing all instances of a task at once) failed with a permission issue. [#3023](https://github.com/scalableminds/webknossos/pull/3023)
- Fixed a bug where the name was not displayed in the task types view of admins. [#3053](https://github.com/scalableminds/webknossos/pull/3053)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "team" is missing in front of "name was not displayed ...".

@@ -163,6 +163,14 @@ export type APITaskTypeType = {
+settings: APISettingsType,
};

export type APICreateTaskType = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try to avoid this type code duplication and wait for @fm3 answer :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daniel-wer ok, that was just a quick solution i came up with @philippotto. But your suggestion makes way more sense :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, let’s change that to teamId as well, I will do that tomorrow.

@@ -1,126 +0,0 @@
# Snapshot report for `public/test-bundle/test/libs/nml.spec.js`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You accidentally deleted the NML snapshots, please restore them :)
Good thing is, this won't happen easily again in the future, thanks to @fm3s recent PR (#3052) 🎉

@fm3 fm3 merged commit 8070ae5 into master Aug 15, 2018
@fm3 fm3 deleted the tasktype-json-team branch August 15, 2018 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tasktype list does not show team
3 participants