Merge lp:~twstd-dev/ubuntu-clock-app/next-alarm into lp:ubuntu-clock-app
Proposed by
twstd
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Nekhelesh Ramananthan | ||||
Proposed branch: | lp:~twstd-dev/ubuntu-clock-app/next-alarm | ||||
Merge into: | lp:ubuntu-clock-app | ||||
Diff against target: |
192 lines (+144/-3) 3 files modified
app/components/NextAlarm.qml (+60/-0) app/components/Utils.js (+39/-0) app/ubuntu-clock-app.qml (+45/-3) |
||||
To merge this branch: | bzr merge lp:~twstd-dev/ubuntu-clock-app/next-alarm | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nekhelesh Ramananthan | Disapprove | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Needs Fixing | |
Review via email: mp+231243@code.launchpad.net |
Commit message
Fix for Bug #1290793
Description of the change
A fix for Bug #1290793
To post a comment you must log in.
Here are some observations based on initial testing,
- When an alarm is set for several days later, it shows up "Next Alarm in 167h 20m". Would it be able to convert this into "Next Alarm in 3d 20h 20m" to make it more meaningful for the user.
- IMHO the string i18n.tr( "You have not set an alarm" ); is a bit too long to show in the bottom edge hint. I would prefer something like "No Active Alarms". However let me check with the designers tomorrow and update here what string they want to show.
- Comments style in this MP,
8 +/**
9 + * @brief A simple object that contains logic
10 + * to find and retrieve next alarm from the model.
11 + * We save only the date of an alarm, we don't need
12 + * other information.
13 + */
Please change to the format below. We are trying to maintain a consistency code style throughout the app.
/*
A simple object that contains logic
to find and retrieve next alarm from the model.
We save only the date of an alarm, we don't need
other information.
*/
Same thing applies to,
55 +/**
56 + * @brief Finds the time left to the provided date.
57 + *
58 + * @param[in] Date end_datetime is the date to find difference to
59 + * @return int - the amount of milliseconds left to the provided datetime
60 + */
Otherwise looks good. Nice work!