Closed Bug 838031 Opened 11 years ago Closed 11 years ago

[Calendar][User Story] Separate detail and edit views

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:leo+, b2g18 fixed)

VERIFIED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: pdol, Assigned: kgrandon)

References

Details

(Keywords: feature, relnote, Whiteboard: [LOE:M],relnote-b2g:1.1+)

Attachments

(5 files)

UCID: Calendar-050

User Story:
As a user, when viewing the details of a calendar entry, by default, I want to enter a view-only mode to avoid accidental edits. I want to explicitly enter an edit mode to modify the entry.
Keywords: feature
Summary: [B2G][Calendar][User Story] Separate detail and edit views → [Calendar][User Story] Separate detail and edit views
Assignee: nobody → kgrandon
Proposal is to follow the same pattern as contacts. From the event, the user can enter an "edit" mode to make changes.
Whiteboard: u=user c=calendar s=v1.1-sprint-2
Hi Casey - What's the schedule look like for getting wires/screens for this?
Flags: needinfo?(kyee)
It's scheduled for our next sprint which is due Tuesday.

cc. Rob which is working on this one.  He will be providing the specs.
Flags: needinfo?(kyee) → needinfo?(rmacdonald)
(In reply to Kevin Grandon from comment #3)
> Hi Casey - What's the schedule look like for getting wires/screens for this?

Hi Kevin - I just posted the initial spec to dropbox...

https://www.dropbox.com/s/ii6ngj6iq22fbnx/calendar-editmode.pdf

Let me know if you have any questions. - Rob
Flags: needinfo?(rmacdonald)
Whiteboard: u=user c=calendar s=v1.1-sprint-2 → u=rmacdonald@mozilla.com c=calendar s=v1.1-sprint-2
Status: NEW → ASSIGNED
Whiteboard: u=rmacdonald@mozilla.com c=calendar s=v1.1-sprint-2 → u=rmacdonald@mozilla.com c=calendar s=v1.1-sprint-2 [LOE:M]
Whiteboard: u=rmacdonald@mozilla.com c=calendar s=v1.1-sprint-2 [LOE:M] → [LOE:M]
Depends on: 844298
Attachment #718526 - Flags: review?(jlal)
Comment on attachment 718526 [details]
Github pull request pointer

Nice job :) Thanks for putting up with the somewhat lengthy review. I feel like this is nicely fleshed out now though.
Attachment #718526 - Flags: review?(jlal) → review+
landed in master: https://github.com/mozilla-b2g/gaia/commit/d6c1f416f9e72aab2065c6b22b6cd1c1c4241a18
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Keywords: verifyme
Hi Rob - 

Attached is the current implementation of the calendar show event page. Just adding this here for your information. Please followup with me if you think we can make the visuals better. Thanks!
Attachment #719143 - Flags: feedback?(rmacdonald)
FYI - here is the current state of interactions with the new page:

- If an event is readonly, we disable the edit button.
- Clicking on an event or alarm takes you to the event view.
- Pressing back on the event view takes you to the top view.
- After creating an event, return to the top view.
- After editing  an event, return to the event view.
- Pressing back on the event view after saving returns to the top page.
QA Contact: jsmith → fyen
I was planning on looking into this, but if you want to steal and get to this first, go right ahead.
There are multi-lines content in notes field, the read-only mode cannot displays it the same as edit mode does.
Attached image Long title and where
Long title and where text also have display problem.
Hi Kevin and Przemek...

Kevin, the interactions look good. Let's continue to tweak the visuals once we get feedback from Przemek in visual design.

Przemek, please take a look at the screens in dropbox (https://www.dropbox.com/s/ii6ngj6iq22fbnx/calendar-editmode.pdf) and let us know when you can provide us with your feedback and/or visuals.

- Rob
Uplifted commit d6c1f416f9e72aab2065c6b22b6cd1c1c4241a18 as:
v1-train: d2905153a7118005fbecb1af9e572c5c271c4210
Going to steal this back per today's meeting - I'm going to writing test cases for this, so might as well test this as well. If you found bugs in your screenshots, feel free to file followup bugs linked to this bug (and also indicate what testing you've done).
QA Contact: fyen → jsmith
Attachment #719143 - Flags: feedback?(rmacdonald)
Test Cases for User Story

* Test that when I access an offline event off the month view that the event details are shown in read only mode
* Test that when I access an offline event off the week view that the event details are shown in read only mode
* Test that when I access an offline event off the day view that the event details are shown in read only mode
* Test that when I select to edit an offline event from a read only view of an event that I am taken to the edit event view
* Test that if I hit back from editing an offline event that I am taken back to the read only view for that event
* Test that if I hit back from editing an offline event and select to edit the event again that I will be taken to the edit event view
* Test that if I save an offline event update and select to edit the event from the read only view that I go to the edit event view
* Test that when I access a google calendar event that I see the event in read only mode
* Test that when I access a yahoo calendar event that I see the event in read only mode
* Test that when I access a caldav calendar event that I see the event in read only mode
* Test that when I save an event update for google calendar that I see the updates in a read only view
* Test that when I save an event update for yahoo calendar that I see the updates in a read only view
* Test that when I save an event update for caldav calendar that I see the updates in a read only view
* Test that when I view an event with a long event title, location, and notes that the event information is readable in a read only view
* Test that when I view an event with no alarms that no alarm reminders is shown in the read only view
* Test that when I view an event with a single alarm that the correct alarm reminder is shown in the read only view
* Test that when I view an event with two alarms that two alarm reminders are shown with the correct time in the read only view
* Test that when I view an event in the read only view with UTF-8 characters in the name, location, and notes that the correct name, location, and notes are shown
* Test that I can view an imported event in read only view while that calendar for that event is being synced
Kevin & James - Can you take a look at the test cases proposed in comment 18 to see if they look okay? Anything you think I'm missing? Any general feedback? Comments? Etc.
Flags: needinfo?(kgrandon)
Flags: needinfo?(jlal)
Hi everyone - 

I hope this isn't coming too late, but here's the link to the visual design layout:

https://www.dropbox.com/s/qdl7xj6vc6n6yr7/Event_Details_Spec.png

Also, in talking with QA, we thought it would improve the flow if, upon editing an event, the user would be returned directly to the calendar view. This saves the extra step of backing out of the read-only event view after an item has been edited. However, if the user were to cancel an event edit, they would be returned to the event read-only view. 

I'll make the changes to the spec an re-upload it.

In the meantime, let me know if you have any questions or concerns.
Flags: in-moztrap?(jsmith)
(In reply to Jason Smith [:jsmith] from comment #18)
> Test Cases for User Story

Hi Jason, these test cases look good to me!

(In reply to Rob MacDonald [:robmac] from comment #20)
> Hi everyone - 
> 
> I hope this isn't coming too late, but here's the link to the visual design
> layout:
> 
> https://www.dropbox.com/s/qdl7xj6vc6n6yr7/Event_Details_Spec.png


Hi Rob,

Thanks for the spec. This looks good to me, I guess I just had a few questions:

1 - Alarm display, I'm assuming we want to display alarms on the view page?
2 - Start/End dates. It might be hard to handle multi-day events in this format, how should we display those?
Flags: needinfo?(kgrandon)
I think I'm actually okay with review on Kevin on this one, although James can feel free to add his comments on this.
Flags: needinfo?(jlal)
(In reply to Kevin Grandon :kgrandon from comment #21)
> 
> 1 - Alarm display, I'm assuming we want to display alarms on the view page?

Yes, that would be correct. It could go directly under the meeting room.

> 2 - Start/End dates. It might be hard to handle multi-day events in this
> format, how should we display those?

If it's a multi-day event, let's use the following:

From Tuesday, February 17, 8:00am
to Thursday, February 19, 9:00pm

Also, based on Jason's feedback, I made a modification to the flow in the spec. Now if you tap "Done" in edit mode, it goes straight back to the calendar view.

Here's the flow:

https://www.dropbox.com/s/ii6ngj6iq22fbnx/calendar-editmode.pdf

I'm traveling for the next few days but feel free to flag Casey if there are any urgent issues.
Completed a lot of exploratory testing on this today and filed some bugs appropriately. There's more formal testing that will come from this soon, but we can mark this verified for now that this definitely has been initially looked at.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Keywords: relnote
Whiteboard: [LOE:M] → [LOE:M],relnote-b2g:1.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: