[MGNLPN-110] Develop trait to specify visit date Created: 14/May/14  Updated: 06/Jun/14  Resolved: 04/Jun/14

Status: Closed
Project: Magnolia Personalization
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Task Priority: Critical
Reporter: Andreas Weder Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File Opt 1 - start plus end date.bmml     Text File Opt 1 - start plus end date.bmml     PNG File Opt 1 - start plus end date.png     PNG File S01 - Choose audience 2.png     PNG File S04 - Restrict by date 1.png     PNG File S04 - Restrict by date 2 - set range 1.png     PNG File S04 - Restrict by date 3 - range.png     PNG File S04 - Restrict by date 4b - edit range.png     File Trait for date of visit.pdf     PNG File Visual design using light dialog.png    
Issue Links:
relation
is related to MGNLPN-102 Develop trait to select locations Closed
is related to MGNLPN-103 Develop trait to select segments Closed
is related to MGNLPN-114 Develop trait to target a specific ty... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Personalisation

 Description   

This mockup describes a UI for a trait to define a required visit date. It allows to specify a single date, a date range, and also covers the common use case that the last visit must have occurred within a specified period.

This mockup only supports specifying a single date, not several. It also focuses on a date only and leaves away any time values.

The UI of a trait is largely depending on the trait itself, but it also has some aspects it shares with other traits. The UI described here acts as a good example of a trait that uses an embedded dialog, similar in appearance to the embedded dialogs used in small apps, to collect more complex data. While such a dialog is preferable, the alternative would be to open a light dialog, preferably attached to the input field, as is shown by the last of the attached mockups and the attached visual design.



 Comments   
Comment by Andreas Weder [ 14/May/14 ]

Added clickable PDF prototype.

Comment by Roman Kovařík [ 30/May/14 ]

Draft for autocompletion of date fields:
https://git.magnolia-cms.com/gitweb/?p=enterprise/personalization.git;a=commitdiff;h=d84e4438944f2ee2cb1939cdcd36c44bd3a275b3

Comment by Mikaël Geljić [ 04/Jun/14 ]

checkout https://git.magnolia-cms.com/gitweb/?p=enterprise/personalization.git;a=shortlog;h=refs/heads/MGNLPN-110-mge
will squash into a couple of commits upon review

Comment by Roman Kovařík [ 04/Jun/14 ]

info.magnolia.personalization.date.system.DateVoterTest some of the tests are obsolete after date trait simplification. I would suggest to comment/ignore them or better remove for now when integrating:

  • public void testDateWithMonthDelta
  • public void testDateWithHoursDelta
Generated at Mon Feb 12 06:34:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.