Commit Graph

15 Commits (0e325c71263c545e2e5ef9a07ff2c0b281b5fe87)

Author SHA1 Message Date
Houzéfa Abbasbhay 0e325c7126 [IMP] web_timeline: Overflow text, add hover colors
When an item label does not fit in its date-range box, overflow
according to
https://visjs.github.io/vis-timeline/examples/timeline/items/rangeOverflowItem.html

Previous CSS code was already trying to do that, but was selecting
`.vis-item.vis-item-content` instead of `.vis-item .vis-item-content`.

Displaying overflow text brings up layout issues solved by removing the
forced-100% width instruction.

This change also adds highlight when hovering a box, which is useful on
text that has overflown (as it has no borders).
2024-10-20 12:31:03 -05:00
Houzéfa Abbasbhay 97d02aa2ee [IMP] web_timeline: Add demo view on cron tasks
This way we can showcase this module without project_timeline.
2024-10-20 12:31:03 -05:00
Houzéfa Abbasbhay 210f9229bf [FIX] web_timeline: Wrap fields_get arg into a list
By contract the first argument of the `fields_get` method is supposed to
be a list. Before this fix, `web_timeline` would call `fields_get` with
a string instead of a list.

Fortunately in case only 1 field is being grouped, this worked as Odoo
does an `x in y` comparison in its `fields_get` implementation, which
does pass in a simple `"project_id" in "project_id"` case.

But that call remains invalid and can break when `fields_get` has been
tweaked by other modules.
2024-10-20 12:31:03 -05:00
Henrik Norlin 3aa358db8a [FIX] web_timeline: date_delay = date_stop - date_start 2024-10-20 12:31:03 -05:00
anjeel.haria c6d9bf6987 [MIG] web_timeline: Migration to 16.0
Syntax changes

Syntax changes
2024-10-20 12:31:02 -05:00
oca-ci 5d0a475586 [UPD] Update web_timeline.pot 2024-10-20 12:31:02 -05:00
CarlosRoca13 4f1301aef8 [FIX] web_timeline: Allow groupby m2m fields 2024-10-19 14:52:37 -05:00
Murtaza Mithaiwala 19ee4cc22c [14.0][MIG] Migrated web_timeline. 2024-10-19 14:52:37 -05:00
Alexandre Díaz 6f8b908597 [MIG] web_timeline: Finish migration to 13.0 2024-10-19 14:52:37 -05:00
Thong Nguyen Van b0eb269e41 [MIG] web_timeline: Migration to 13.0 2024-10-19 14:52:37 -05:00
HemanginiPatel e8123dd745 [FIX][12.0] web_timeline: Scroll Issue. 2024-10-19 14:52:37 -05:00
Cyril VINH-TUNG c7c7a24baa [web_timeline][IMP] Add margin support in web_timeline (#1135) 2024-10-19 14:52:37 -05:00
invitu 15ead6c6e8 [FIX] web_timeline: fix readme - To be squashed with previous one on migration (#1137) 2024-10-19 14:52:37 -05:00
tarteo 71fbf1c106 [IMP] Readme: Available attribute list 2024-10-19 14:52:37 -05:00
Pedro M. Baeza 0394e262ed [MIG] web_timeline: Migration to 9.0 2024-10-19 14:52:37 -05:00