New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[web] dashboard view: display imp #30288
Conversation
e60d454
to
88e3c46
Compare
aa1a191
to
c01a008
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message: 'an appropriate in' weird
var $svgContainer = $('<div/>', {class: 'o_graph_svg_container'}); | ||
|
||
|
||
var $svgContainer = $('<div/>', { class: 'o_graph_svg_container'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too much blank lines
var $svgContainer = $('<div/>', { class: 'o_graph_svg_container'}); | ||
// Split the tooltip into columns for large data because some portion goes out off the screen. | ||
if (data.length >= SPLIT_THRESHOLD) { | ||
$svgContainer.addClass('tooltip_split_in_columns'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefix all odoo classnames by o_
In graph line mode, min and max abs are displayed beyond the screen when there are less than 3 abs. This is happening because nvd3 fixes their text-anchor to 'middle'. The present commit fixes correctly their text-anchors to start and end respectively by using the '!important' rule (it seems difficult to do otherwise). Co-authored-by: Mohammed Shekha <msh@openerp.com> Related to Task: 1917958
Currently tooltip goes out off the screen when the graph view (in line mode) presents a large number of groups. The present commit splits the tooltip content in three columns when the number of groups exceeds 20. This split is not done in mobile mode because it is not an appropriate in that situation. Co-authored-by: Mohammed Shekha <msh@openerp.com> Related to Task: 1917958
c01a008
to
98dd254
Compare
robodoo r+ |
robodoo rebase-ff |
Merge method set to rebase and fast-forward |
Merged, thanks! |
Description of the issue/feature this PR addresses:
Task: https://www.odoo.com/web?#id=1917958&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
Pad: https://pad.odoo.com/p/r.c823631022033d11e887856d7ca025a3
Current behavior before PR:
Desired behavior after PR is merged:
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr