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)
Firefox OS Graveyard
Gaia::Calendar
Tracking
(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..
Assignee | ||
Updated•10 years ago
|
Whiteboard: [priority][p=5]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mmedeiros
Target Milestone: --- → 2.1 S5 (26sep)
Updated•10 years ago
|
Target Milestone: 2.1 S5 (26sep) → 2.1 S6 (10oct)
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8499740 -
Flags: review?(gaye)
Comment 2•10 years ago
|
||
This looks awesome. We will have to do some updating after amd lands though...
Assignee | ||
Updated•10 years ago
|
Target Milestone: 2.1 S6 (10oct) → 2.1 S7 (24Oct)
Comment 4•10 years ago
|
||
Comment on attachment 8499740 [details]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/24759#issuecomment-57821230
LGTM! Nice work :)
Attachment #8499740 -
Flags: review?(gaye) → review+
Assignee | ||
Comment 5•10 years ago
|
||
landed on master: https://github.com/mozilla-b2g/gaia/commit/365a18b1a2c7dac7af3c8cd7fdbf5de7fba79b41
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.
Description
•