Closed Bug 1052960 Opened 10 years ago Closed 10 years ago

[Calendar] Day View: update it to use same logic as the 5-day week view

Categories

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

defect
Not set
normal

Tracking

(tracking-b2g:+)

RESOLVED FIXED
2.1 S7 (24Oct)
tracking-b2g +

People

(Reporter: mmedeiros, Assigned: mmedeiros)

References

Details

(Whiteboard: [priority][p=5])

Attachments

(1 file)

I wrote the 5-Day Week View as generic MultiDay/SingleDay views, so it should be fairly easy to reuse the same logic between week and day views (by just setting the amount of visible days to 1 and a couple extra overrides). The main benefit of using the same logic is that the new WeekView is way simpler to understand (better separation of concerns, less inheritance, simpler DOM structure); it looks nicer since we have the drag and swipe animations; UX will be consistent; and many times we have bugs that we need to update in multiple views, those should be easier to fix with a shared codebase..
Blocks: 992728
Blocks: 988079
Blocks: 999959
Blocks: 993677
Blocks: 797702
Whiteboard: [priority][p=5]
Assignee: nobody → mmedeiros
Target Milestone: --- → 2.1 S5 (26sep)
Depends on: 1062792
Blocks: 1071389
Target Milestone: 2.1 S5 (26sep) → 2.1 S6 (10oct)
This looks awesome. We will have to do some updating after amd lands though...
Target Milestone: 2.1 S6 (10oct) → 2.1 S7 (24Oct)
[priority] --> tracking-b2g:+ conversion
tracking-b2g: --- → +
Attachment #8499740 - Flags: review?(gaye) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: