tg icon indicating copy to clipboard operation
tg copied to clipboard

Entity Centre: visual cues for inactive values

Open 01es opened this issue 1 year ago • 0 comments

Description

Entities may have activatable entity-typed properties that reference inactive values. Entities themselves can have the activatable nature and be inactive. There is no generic mechanism to convey these 2 facts - entity referencing inactive values, and entities that are inactive -- as part of Entity Centre.

It is proposed to introduce default rendering for inactive values and entities in EGI:

  • [x] 1. If the main entity for an Entity Centre is activatable and inactive, all displayed properties should be displayed as greyed out, but only if this would not be conflicting with any existing rendering customiser.

    image
  • [x] 2. If the main entity is not activatable or it is activatable and active, referencing an inactive entity as a value in one or more of its properties that are displayed in EGI, render those values as greyed out, but only if this would not be conflicting with any existing rendering customiser.

  • [x] 3. Introduce application property web.ui.inactiveColour with default value of #c5c5c5, which should be used for greying out the values in the items above.

  • [ ] 4. Absence of application property web.ui.inactiveColour should be viewed as an indication that inactive values do not require any special rendering. Effectively, this would be a way to turn such rendering off.

Expected outcome

Default rendering of inactive entities and references to inactive values in Entity Centres, providing a visual cue for user to recognise inactive values.

01es avatar Jun 07 '24 03:06 01es