Manage custom attributes in TermPortal GUI

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: TermPortal

      Problem

      Custom attributes need to be able to be managed in TermPortal (add, edit, delete).

      So far custom attributes exist globally for all TermCollections. This is changed with https://jira.translate5.net/browse/TRANSLATE-5159 which has to be seen as a pre-requisite for this issue here. With https://jira.translate5.net/browse/TRANSLATE-5159 custom attributes are only linked to TermCollections and belong to them. Therefore if there the same attribute needs to exist in 2 TermCollections, it needs to exist twice in the DB.

      Solution

      Custom or proprietary attributes will be linked to the TermCollection they have been imported into or in which context they have been created, and no longer visible/available for the whole instance. This is implemented with https://jira.translate5.net/browse/TRANSLATE-5159

      Besides that with this issue we will do the following:

      Rename the tooltip

      of the cogwheel icon in Termportal to

      EN: Manage attributes

      DE: Attribute verwalten

      Add icons for adding

      new text attribute and one for adding new picklist. They will add a new row.

      In the "manage attributes tab of that area, add action icons for:

      • Delete attribute (It will only delete that attribute from the current TermCollection)
      • Copy attribute to other TermCollections
      • Edit attribute. Click on icon
        • in case of text or notetext attribute: will make attribute name and the levels on which the attribute is available editable 
        • in case of picklist: open a pop-up to edit  
          • attribute name
          • levels where the attribute is available
          • edit, add and delete picklist values.
            • Deleting picklist entries that are in use will show a warning.
            • If deletion is done anyway, used values of course will also be deleted from the terms, where they are used.
      • Add attribute: Works similar as "Edit attribute", yet with empty values and creates a new attribute

        1. image-2025-02-06-21-22-46-146.png
          203 kB
          Marc Mittag [Administrator]

            Assignee:
            Pavel Perminov
            Reporter:
            Marc Mittag [Administrator]
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: