Closed
Bug 1102818
Opened 10 years ago
Closed 10 years ago
'Starting on' field has to be initialized with the current date
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S1 (5dec)
People
(Reporter: mai, Assigned: mai)
References
Details
Attachments
(1 file)
When the user changes the plan setup, the field Starting on must be initialized to the current date.
E.g.
Today date is Friday, November 21, 2014
If the user select Monthly plan, the value of 'Starting on' field must be '21'
If the user select Weekly plan, the value of 'Starting on' field must be 'Friday'
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Hi Salva,
would you mind reviewing the patch?
Regards
Attachment #8526721 -
Flags: review?(salva)
Comment 2•10 years ago
|
||
Comment on attachment 8526721 [details] [review]
patch v1.0
Marina, can you point me to the specification talking about this and then ask for my review again?
Attachment #8526721 -
Flags: review?(salva)
Assignee | ||
Comment 3•10 years ago
|
||
Hi Salva,
It was specified on the document - "Smart Data Consumption Draft v3 [Nov 11, 2014 ]", although this behaviour is commented on the customized plan. Juwei by IRC confirms me that behaviour is for all the plans.
Regards
Assignee | ||
Updated•10 years ago
|
Attachment #8526721 -
Flags: review?(salva)
Comment 4•10 years ago
|
||
Comment on attachment 8526721 [details] [review]
patch v1.0
LGTM. A couple of nits on GitHub. Thank you!
Attachment #8526721 -
Flags: review?(salva) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8526721 [details] [review]
patch v1.0
Oh. I did not see a test for this. Please, add one. If you need to expose the function, do it. Maybe we can end with something like datautils.js with this kind of useful functions.
Do whatever you think is better. We have the change now.
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8526721 [details] [review]
patch v1.0
Added test.
Regards
Attachment #8526721 -
Flags: review+ → review?(salva)
Comment 7•10 years ago
|
||
Comment on attachment 8526721 [details] [review]
patch v1.0
Marina, please, split the test into two separated bugs, each testing one configuration and change the name for the test. Wait for Treeherder to be Green and merge. Thank you.
Attachment #8526721 -
Flags: review?(salva) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Master: a5edd48f74bfa9b4b140a7b285404dcb575125d5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
User Story: (updated)
Updated•10 years ago
|
Whiteboard: [ucid:SMRTDATA-13-11][NaBfT]
Updated•10 years ago
|
Target Milestone: --- → 2.2 S1 (5dec)
Updated•10 years ago
|
Assignee: nobody → marina.rodriguez.iglesias
You need to log in
before you can comment on or make changes to this bug.
Description
•