Skip to content

Improvements to Create Class dialog and API #299

@csnyulas

Description

@csnyulas

Based on feedback from users (incl. @cannn and Carine) the Create Class dialog needs some improvement:

  • It is confusing that the classes with similar names, shown in the search results, are selectable Image
  • If there is already a class with the exact same name as what the user wished to create, the existing class will become a child of the selected entity. This happens silently without the user's awareness, or explicit notification, which might cause confusion and undesired outcomes
  • The behavior described in the previous point is a problem for the API as well. The API should not add new parents when a class creation is requested. Instead, when an API call is requesting the creation of class with the name, that is already used in an existing class, the call should fail a "Bad Request" response
  • Creation of classes with the same name is not possible, which is a feature rather than a bug, as class labels are used for indexing and searching and retrieval. However classes with identical labels already exists, coming from different classifications (e.g. "Walking and moving" appears both in ICF and in ICHI). This should be fixed, to avoid problems downstream! @cannn and @csnyulas to check.

Another necessary improvements was already reported separately in issue #295.

Added after subsequent testing

  • Create button should be disabled if there is no class name specified (or if it contains only whitespace characters) Image

Metadata

Metadata

Assignees

Labels

criticalThis issue should be fixed asap.enhancementNew feature or requesttopic: class hierarchyIssue related to the editing of the class hierarchy allowing multiple parentstopic: uxIssues related to user experience (UX)userIssue reported by users

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions