Skip to content

Show XML Path For Constraints in Overview list (e.g., as tooltip)

🚀 Feature Request

Summary

In the constraint overview, it is currently difficult to identify which specific element or subelement a constraint refers to — only a generic label like “Each Object Classification Wrapper has at least one Term” is shown. Displaying the full path (e.g., objectWorkType / term) would help users quickly understand the scope of each constraint without having to open the detailed view.

Problem to Solve / User Story

As a user managing many similar constraints, I want to see the full XML path or element context (e.g., objectWorkType / term) in the overview list, so that I can quickly identify which specific subelement the constraint refers to — without opening “Manage Constraints” every time. Currently, when I see a constraint like: “Each Object Classification Wrapper has at least one Term” I can’t tell whether this refers to objectWorkType/term, classification/term, or some other element. Verifying that requires multiple clicks and waiting for the constraint editor to load.

Proposed Solution

Add the full element path as a tooltip (e.g., on hover). When hovering over the constraint label, show a tooltip with the full XML path.

Benefits

Makes constraint management much more efficient and user-friendly Avoids confusion when multiple similar constraints exist

Possible Drawbacks

The interface may become visually denser, depending on how the path is shown

Additional Context

This feature would be especially helpful for templates involving repeated structures (e.g., multiple term elements in different parents). The current labeling is too generic.

Relevant Logs or Screenshots (if applicable)

image

Requirements or Dependencies

Access to resolved XPath or internal element path for display.

This is related to the existing feature request “Show value list or RegEx pattern for constraints in overview list (e.g., as tooltip)” — both aim to improve visibility and transparency of constraint details directly in the overview.

Alternatives Considered

Another idea: adding a “Show paths” toggle in the UI to optionally display paths for all constraints.

Links/References

  • Related: Same request for quality report (#72)
  • Request: show value list or RegEx pattern for constraints in overview list (#67)
Edited by Domenic Schäfer