Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1211

TrackChanges: Improve tag coloring of deleted content tags

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • None
    • None
    • TrackChanges

    Description

      problem

      With TRANSLATE-1130 the tag coloring was changed to grey instead of the green.

      This interferes with tags which are marked as deleted, here the color was changed to a grey too. In the segment grid the tags (tags as div/span) are strikedthrough via CSS, this was not possible for the tags in the currently edited segment (tags as img).

      solution

      With TRANSLATE-1200 dynamic SVGs are used as tag images.

      Possible Solution:

      • Make the background of the SVGs transparent
      • Let the tag img background color come from CSS backgorund of the img tag itself
      • Advantage 1: Both color definitions are coming from the same place - CSS. Currently the SVG color comes from JS.
      • Advantage 2: Additionaly to the img background color we could define a background img containing just a horizontal line- activated only for img tags inside a DEL tag. This could emulate the strike through then.

       

      Attachments

        Issue Links

          Activity

            People

              Ines-Paul Ines-Paul Baumann (Inactive)
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: