[MGNLUI-7409] Workbench column containing tags breaks layout Created: 03/Aug/22  Updated: 27/Feb/23  Resolved: 27/Feb/23

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.22
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File MGNLUI-7409.webm     PNG File app-with-one-item.png     PNG File app-with-two-items.png    
Issue Links:
causality
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Testcase included:
Yes
Date of First Response:
Epic Link: AuthorX Support
Team: Nucleus

 Description   

Steps to reproduce

  1.  Add tag support as per the docs: https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/Content-Tags-module/How-to-enable-content-tags-for-a-content-app.html
  2.  However the layout is very badly broken. Please see screenshots.

.. Logs, screenshots, gifs...

Expected results

  • Browser displays properly with additional column and some content should be readable

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

  • See screen shots:

Workaround

  • Set column width to tag column help in this case:
    subApps:
      browser:
        workbench:
          contentViews:
            tree:
              columns:
                tags: &tags
                  name: mgnl:tags
                  $type: columnComponent
                  type: java.util.Collection
                  width: 170
                  editor:
                    field:
                      $type: tokenField
                      comboBox:
                        datasource:
                          $type: jcrDatasource
                          workspace: tags
                          allowedNodeTypes:
                            - mgnl:tag
    

Development notes



 Comments   
Comment by Roman Kovařík [ 03/Aug/22 ]

The demo contains the tag column:

https://demo.magnolia-cms.com/.magnolia/admincentral#app:dam:jcrBrowser;/tours/shark_brian_warrick_0824.JPG::

https://demo.magnolia-cms.com/.magnolia/admincentral#app:tours:browser;/magnolia-travels/Vietnam--Tradition-and-Today:tree:

without breaking the layout so I expect there is a workaround (like proper width/expandRatio of columns)

Comment by Viet Nguyen [ 27/Feb/23 ]

Thank you ldelnevo for your information.

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