[CFGUI-120] Default column width are terrible (eg 'title') Created: 08/Jul/20  Updated: 25/Oct/22

Status: Accepted
Project: Definitions App
Component/s: None
Affects Version/s: 2.1
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File DefintionsApp-ColumnWidth-Changed.png     PNG File DefintionsApp-ColumnWidth-Default.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Tested:

On current 6.2.2-SNAPSHOT

Problem main:

Using the defintion app has a big downside: the default width of the 'title' column.

It opens very narrow (orange), but for example 'is decorated' das way too much space (yellow).

The problem is, that one will almost certainly browse down defintion trees in the title column. But as its very narrow, you must always make it manually wider. Thats ok, until you have to refresh the app... its small again, and this is really annoying while working with it during development.

Problem minor:

value 'expandRatio' is ignored, one can use (via decorators) only minimumWidth & maximumWidth

This is pretty static as screen resolutions vary, expandRatio would be much better as its dynamic. Event better would be being capable of defining a % of the total width.

Solution:

Set good width.
Here what I plugged in via decorator:

subApps:
  overview:
    workbench:
      contentViews:
        views:
          columns:
            title:
              minimumWidth: 500
              maximumWidth: 600
            value:
              minimumWidth: 400
              maximumWidth: 500
            type:
              maximumWidth: 160
            decorated:
              maximumWidth: 100
            severity:
              maximumWidth: 160

The result:


Generated at Mon Feb 12 00:45:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.