[PAGES-330] When only one component is available - disable the select field Created: 24/Aug/20  Updated: 21/Jul/23  Resolved: 18/Jul/23

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0, 6.2.29

Type: Improvement Priority: Major
Reporter: Christopher Zimmermann Assignee: Antonín Juran
Resolution: Done Votes: 2
Labels: Nucleus_AuthX_Support, ux-improvement, ux-improvement-selected
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
causality
caused by PAGES-307 Area with only one available componen... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PAGES-1248 Implementation Sub-task Completed Antonín Juran  
PAGES-1249 Code review Sub-task Completed Jaromir Sarf  
PAGES-1250 Pre-integration QA Sub-task Completed Adam Siska  
PAGES-1251 Final QA Sub-task Completed Quach Hao Thien  
PAGES-1253 DOC: Provide documentation: Select fi... Sub-task Completed Adrian Brooks  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Date of First Response:
Epic Link: UX improvements
Sprint: Nucleus 40
Story Points: 3
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

If there is nothing to choose in the 'Add component' dialog (when there is only one available component):

  • make the select field disabled, so that it's clear to the user that there is nothing to select.

Context:

When adding a component to a page, previously (< 6.2) If there was only one available component type, then the "Add Component" dialog would be skipped. This made for efficient adding of a component.

Now in 6.2.2 https://jira.magnolia-cms.com/browse/PAGES-307 implements that at least the single component is selected i the select field. However a user does not know that it is the only component, so they may still go to that select, only to discover that there is only one option.

 



 Comments   
Comment by Simon Lutz [ 01/Feb/21 ]

Needs UX review.

  • the dialog allows selecting position for the newly added element
  • skipping the dialog would mean that the element is placed to a default position (top/bottom)
  • if that is not wanted, the user would need to move the component around (which would then again affect efficiency)
  • this concern is oboslete if there's only one instance of the component allow in the area
Comment by Arnd Krueger [ 13/Oct/21 ]

actually the pre 6.2 behavior should be reimplemented, that means is there only one available component for a area, the select 'Add component' should be skipped.

Comment by Annick Boehler [ 10/Aug/22 ]

Hello avongunten 

may I ask if this improvement is still somewhere on your list? 

Just so that I can manage SwissRes expectations.

Thank you 

Comment by Annick Boehler [ 04/Feb/23 ]

Hi slutz /avongunten 

is there any update on this? SwissRe is interested to know if we have a rough idea when this improvement can be implemented.

Thanks for a short feedback.

Comment by Quach Hao Thien [ 03/Jul/23 ]

The behavior of disabling the combobox, which contains only one options should be set as default 

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