Merge lp://qastaging/~ubuntu-calendar-dev/ubuntu-calendar-app/ViewRedisign into lp://qastaging/ubuntu-calendar-app

Proposed by Nekhelesh Ramananthan
Status: Rejected
Rejected by: Nekhelesh Ramananthan
Proposed branch: lp://qastaging/~ubuntu-calendar-dev/ubuntu-calendar-app/ViewRedisign
Merge into: lp://qastaging/ubuntu-calendar-app
Diff against target: 1334 lines (+414/-412)
21 files modified
AgendaView.qml (+20/-2)
AllDayEventComponent.qml (+2/-0)
DayView.qml (+90/-102)
EventActions.qml (+59/-0)
HeaderDateComponent.qml (+29/-25)
MonthComponent.qml (+63/-69)
MonthView.qml (+27/-3)
NewEvent.qml (+0/-21)
ScrollAnimation.qml (+0/-7)
TimeLineBackground.qml (+9/-10)
TimeLineBaseComponent.qml (+10/-12)
TimeLineHeader.qml (+6/-8)
TimeLineHeaderComponent.qml (+6/-6)
WeekView.qml (+30/-9)
YearView.qml (+41/-16)
calendar.qml (+4/-59)
debian/control (+1/-2)
tests/autopilot/calendar_app/__init__.py (+4/-0)
tests/autopilot/calendar_app/tests/__init__.py (+2/-2)
tests/autopilot/calendar_app/tests/test_dayview.py (+4/-50)
tests/autopilot/calendar_app/tests/test_weekview.py (+7/-9)
To merge this branch: bzr merge lp://qastaging/~ubuntu-calendar-dev/ubuntu-calendar-app/ViewRedisign
Reviewer Review Type Date Requested Status
Mihir Soni Disapprove
Kunal Parmar Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Nekhelesh Ramananthan Needs Fixing
Review via email: mp+234680@code.qastaging.launchpad.net

Commit message

Redesigned the Month, Day and Week views to use screen space more effectively and improving the user experience.

Description of the change

This Branch contains following changes in Calendar :

1. Redesigned Month View
2. Redesigned Day view
3. Redesigned Week view
4. Updated autopilots.

To post a comment you must log in.
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

@Mihir, Week View needs fixing, as of rev 471, it looks like https://imgur.com/imB1lyd on the emulator. I am pretty sure on the phone, the week day names will collide with one other. Also the events seems shifted.

review: Needs Fixing
Revision history for this message
Mihir Soni (mihirsoni) wrote :

@Nik,

Yes, I guess now the only option left is , we might have to overlap hours.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
479. By Mihir Soni

Fixed weekview APs

480. By Mihir Soni

code indentation

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
481. By Nekhelesh Ramananthan

merged trunk

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
482. By Nekhelesh Ramananthan

Fixed empty space at the bottom issue

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Mihir Soni (mihirsoni) wrote :
483. By Nekhelesh Ramananthan

Added missing layouts dependency and also removed redundant dependencies

484. By Nekhelesh Ramananthan

Reverted all day events being conditionally shown or hidden since it causes a regression in week view

485. By Nekhelesh Ramananthan

Reverted accidental change of manifest file

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

> Something goes wrong with Dayview , it is not visible ,
>
> http://91.189.93.70:8080/job/generic-mediumtests-utopic-python3/375/artifact/c
> alendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_sele
> cted.ogv

I forgot to add qtdeclarative5-quicklayouts-plugin as a dependency in the debian/control file which caused the day view to not load in jenkins. I fixed it. Everything should be fine.

I reverted the All Day Event file change due to the regression in the week view we discussed.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

this MR is too large for me to review, Can we break down it more manageable and with only relevant code change applied.

There are higher chance of regression, as both testing and review is difficult.

Also added one minor comment

review: Needs Information
Revision history for this message
Mihir Soni (mihirsoni) wrote :

Hi Kunal,

With respect to your comment , yes we have removed the partial views of next and previous day now as we moved days in header,so only one day will be visible in Dayview.

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

> Hi Kunal,
>
> With respect to your comment , yes we have removed the partial views of next
> and previous day now as we moved days in header,so only one day will be
> visible in Dayview.

Changes are fine to me if others know about it and fine with it, please take popey's comment regarding same.

BTW, it does not seem to be a valid reason to remove those view's just because we moved day's to header. There are other alternative also.

What we are doing in weekview ? We can apply same comment here as well.

review: Needs Fixing
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Hey Kunal,

1. We are in the process of splitting this MR into several smaller ones for easier review and testing as you are right, big MPs can lead to regressions slipping in.

2. At every stage of the implementation of the redesign of the views, we made sure to get feedback from popey. And we believe that a day view should be a day view showing the events of only that day for several reasons,

- By showing only a single day, we provide more room to show events of that particular day which would otherwise be cramped. If a user wants to see the days in the other days then he/she can use the week view.

- On the phone the screen estate is really precious, by showing only that day's event in the day view, we are simplifying the view for the user and it has resulted in a much cleaner design in my honest opinion.

Again this was approved by popey.

I am not sure if you tried this on the phone, but it looks gorgeous so I hope you would agree to this change.

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

> Hey Kunal,
>
> 1. We are in the process of splitting this MR into several smaller ones for
> easier review and testing as you are right, big MPs can lead to regressions
> slipping in.

Thanks, this really helps a lot.
>
> 2. At every stage of the implementation of the redesign of the views, we made
> sure to get feedback from popey. And we believe that a day view should be a
> day view showing the events of only that day for several reasons,
>
> - By showing only a single day, we provide more room to show events of that
> particular day which would otherwise be cramped. If a user wants to see the
> days in the other days then he/she can use the week view.
>
> - On the phone the screen estate is really precious, by showing only that
> day's event in the day view, we are simplifying the view for the user and it
> has resulted in a much cleaner design in my honest opinion.
>
> Again this was approved by popey.
>
> I am not sure if you tried this on the phone, but it looks gorgeous so I hope
> you would agree to this change.

I am fine with it, if popey agrees with the change.

I had one concern though (based on snapshot you posted), this change makes WeekView and DayView look different.In my personal opinion both should look and behave same, to me its part of same view, one is compressed and other is not.

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

> I am fine with it, if popey agrees with the change.
>
> I had one concern though (based on snapshot you posted), this change makes
> WeekView and DayView look different.In my personal opinion both should look
> and behave same, to me its part of same view, one is compressed and other is
> not.

The weekview and dayview resemble each other quite a bit UI wise. The only differences we did are the following,

- Day view shows only its day events (expanded) while week view shows multiple day events (compressed)
- In day view we do not show the week days and date header since it is rather redundant to show only one day.

Otherwise everything remains the same. The All-Day events have not changed. The UI is very similar.

Revision history for this message
Mihir Soni (mihirsoni) wrote :
review: Disapprove

Unmerged revisions

485. By Nekhelesh Ramananthan

Reverted accidental change of manifest file

484. By Nekhelesh Ramananthan

Reverted all day events being conditionally shown or hidden since it causes a regression in week view

483. By Nekhelesh Ramananthan

Added missing layouts dependency and also removed redundant dependencies

482. By Nekhelesh Ramananthan

Fixed empty space at the bottom issue

481. By Nekhelesh Ramananthan

merged trunk

480. By Mihir Soni

code indentation

479. By Mihir Soni

Fixed weekview APs

478. By Nekhelesh Ramananthan

Fixed week view

477. By Mihir Soni

removing test_switch_day_by_tapping as we are not using multiple days in dayview

476. By Mihir Soni

Removing ap test_show_current_days as we are not showing multiple days in dayview

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: