Skip to content

Commit

Permalink
Merge PR OCA#2775 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Apr 6, 2024
2 parents 716fca0 + 98bc985 commit 9adfe33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion web_timeline/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
* Implement a more efficient way of refreshing timeline after a record update;
* Make `attrs` attribute work;
* Make ``attrs`` attribute work;
* Make action attributes work (create, edit, delete) like in form and tree views.
* When grouping by m2m and more than one record is set, the timeline item appears only
on one group. Allow showing in both groups.
* When grouping by m2m and dragging for changing the time or the group, the changes on
the group will not be set, because it could make disappear the records not related
with the changes that we want to make. When the item is showed in all groups change
the value according the group of the dragged item.
* When an item label does not fit in its date-range box: ✅ the label correctly overflows
the box; ✅ clicking anywhere on the label allows moving the box; ❌ double-clicking
the label outside of the box does not open that item.
11 changes: 7 additions & 4 deletions web_timeline/static/src/scss/web_timeline.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$vis-hover-background-color: linen;
$vis-weekend-background-color: #dcdcdc;
$vis-item-content-padding: 0 3px !important;

Expand All @@ -10,16 +11,18 @@ $vis-item-content-padding: 0 3px !important;
}

.vis-item {
&.vis-box:hover {
&:hover {
background-color: $vis-hover-background-color !important;
cursor: pointer !important;
}
&.vis-item-overflow {
.vis-item-overflow {
overflow: visible;
}

.vis-item-content {
width: 100%;
padding: $vis-item-content-padding;
&:hover {
background-color: $vis-hover-background-color !important;
}
}
}
}
Expand Down

0 comments on commit 9adfe33

Please sign in to comment.