[MAGNOLIA-4430] "Type selection dialog" should be skipped if only one component is available for area Created: 01/Jun/12  Updated: 09/Mar/21  Resolved: 25/Jul/12

Status: Closed
Project: Magnolia
Component/s: page editor
Affects Version/s: 4.5.3
Fix Version/s: 4.5.4, 5.0

Type: Improvement Priority: Neutral
Reporter: Maik Jablonski Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MAGNOLIA-4489 CLONE -"Type selection dialog" should... Closed
duplicate
duplicates MGNLUI-1779 "Component selection dialog" should b... Closed
relation
is related to MAGNOLIA-4116 Render areas of type list that don't ... 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:

 Description   

The type selection dialog should be skipped when only one
component type is declared as available for an area. As the user has
no choice at all (= only one choice to choose from), the type
selection is rather unnecessary (and somehow user-unfriendly, because
it requires an additional click).

Here's an example (type "list" is used by intention,
because several exampleComponents should be addable):

  • templates
  • - pages
  • - - examplePage
  • - - - areas
  • - - - - main
  • - - - - - availableComponents
  • - - - - - - exampleContent
  • - - - - - type
  • - - - - - - list

It should be possible to add several new "exampleContents" to an examplePage without
the "Select a type for the new component" dialog showing up.



 Comments   
Comment by Jan Haderka [ 04/Jun/12 ]

Should be perhaps tackled together with MAGNOLIA-4116

Comment by Jan Haderka [ 26/Jun/12 ]

Test?

Generated at Mon Feb 12 03:55:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.