[MGNLUI-4183] Prevent triggering button actions twice by double-click Created: 05/Apr/17  Updated: 21/Apr/17  Resolved: 21/Apr/17

Status: Closed
Project: Magnolia UI
Component/s: framework
Affects Version/s: 5.5.3
Fix Version/s: 5.5.4

Type: Bug Priority: Neutral
Reporter: Antti Hietala Assignee: Ngoc Nguyenthanh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 7h
Original Estimate: 5d

Attachments: File double-click in 5.5.3.mov    
Issue Links:
Relates
relates to MGNLUI-4131 Prevent triggering actionbar actions ... Closed
relates to MGNLDAM-706 Prevent triggering Edit Image button ... Closed
relates to MGNLPN-378 Prevent triggering pick or add trait ... Closed
relates to MGNLUI-4197 Prevent triggering Choose button acti... 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: UX pain points 2018
Sprint: Saigon 92
Story Points: 8

 Description   

Follow-up from MGNLUI-4131. Prevent triggering button actions twice by double-click. It should not be possible to open the same dialog multiple times, for instance.

To reproduce:

  1. Open the Tours app.
  2. Edit a tour.
  3. Add a new Tour type.
  4. Double-click the Select new button.

Video attached.



 Comments   
Comment by Ngoc Nguyenthanh [ 18/Apr/17 ]

Excepts LinkField, there are plenty of field have the same issue.

  • info.magnolia.ui.form.field.factory.LinkFieldFactory#createFieldComponent
    • As ticket’s reproduce steps
  • info.magnolia.personalization.ui.TraitValueCompositeFieldFactory#createFieldComponent
    • Personas app -> Edit -> Traits -> Add
  • info.magnolia.personalization.ui.TraitAggregatorFieldFactory#createFieldComponent
    • Segments app -> Edit -> Traits tab -> Add
    • Pages app -> Choose Audience -> Pick trait
  • info.magnolia.personalization.preview.ui.parameters.PreviewParametersPresenter#addPreviewParameter
    • Preview as visitor app -> Button +
  • info.magnolia.ui.form.field.factory.RichTextFieldFactory#createFieldComponent; info.magnolia.dam.app.ui.field.factory.AssetsEnabledRichTextFieldFactory#createFieldComponent
    • Tours app -> Edit -> Body text area -> Button: Link to Magnolia Page, Link to DAM document
  • info.magnolia.dam.app.ui.field.upload.DamUploadField#createThumbnailComponent
    • Contact app -> Edit -> Image -> Edit Image…
  • info.magnolia.security.app.dialog.field.WorkspaceAccessFieldFactory#createFieldComponent
    • Security app -> Roles -> Edit -> Access Control List -> Choose…
  • info.magnolia.marketingtags.app.field.factory.PageLinkFieldFactory#createPageLinkRow
    • Tools -> Marketing Tags -> Edit -> Pages tab -> Add Page -> Choose
Generated at Mon Feb 12 09:14:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.