[CONTEDIT-146] Value dependent widths of link fields Created: 10/Aug/17  Updated: 21/Aug/17  Resolved: 18/Aug/17

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.6

Type: Improvement Priority: Neutral
Reporter: Anja von Gunten Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.75d
Original Estimate: 1d

Attachments: PNG File page 0.png     PNG File page 1.png     PNG File page 2.png    
Issue Links:
supersession
supersedes CONTEDIT-136 Option to adjust LinkField width Closed
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)
Date of First Response:
Epic Link: Content Editor fine-tuning
Sprint: Saigon 108, Saigon 109
Story Points: 2

 Description   

Based on this ticket CONTEDIT-136 we came up with a solution that is easier to implement.

Problem:
Link fields have a fixed with. With the new style of the content editor link fields (add image… / add poster… etc. ) look strange: the button is positioned offsite on the right side disconnected from the placeholder text.

Solution:
If link fields have no value they have a fixed width of 190px. The short placeholder text fits into that width. All buttons, selects, etc are vertically aligned at 190px so the editor UI looks much tidier.

If the link field has a value (an image has been selected) it expands to the full width. The link field and according button is then nicely aligned with the image preview above.

Note

  • Make sure this is applied to all link fields in the content editor.
  • Make sure other fields such as date field, dropdowns, etc. have the same width 190px so they are all nicely aligned.


 Comments   
Comment by Oanh Thai Hoang [ 21/Aug/17 ]

Requirement is If link fields have no value they have a fixed width of 190px. but when doing QA the width of link field has ~180px and equal with select field's width. Look quite good. Close ticket

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