mozilla-b2g/gaia — pull request #5742 by lightsofapollo (2012-10-10 08:27:54+00:00)
Title: Bug 797538  - Relative event positioning. Conflict/overlap display.

The size of this patch is largely due to the moving of logic from DayChild to DayBased view.
To me it made little sense to have DayChild contain all the abstract logic that all other children inherit and also have DayBased. So I simplified DayChild by removing all the common bits over.

The most important additions are the changes in how we render events.
Each event is only rendered once (busytime -> element relationship) and then goes through
two different processes.

Detect Overlap/Conflict (see new overlap.js for details)
Position & Length (calculated from the length of event)

---

I would ask you to try this out as well with some real data. I have my own calendar + my wife's hooked up to this with very promising results, but some things are rough.

# Known issues

- Week view "all day" events still do not float
- Gradients look a little off in week view for long events.
- MonthsDay view is too cramped. Likely needs simplifications. (list based)