Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

hiralvbhavsar
Copy link
Contributor

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

@C3POdoo C3POdoo added the RD research & development, internal work label Jan 17, 2019
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Jan 17, 2019
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Feb 21, 2019
@Polymorphe57 Polymorphe57 force-pushed the 12.0-dashboard-view-imp-hbh branch 3 times, most recently from aa1a191 to c01a008 Compare February 21, 2019 11:12
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Feb 21, 2019
Copy link
Contributor

@aab-odoo aab-odoo left a 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'});
Copy link
Contributor

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');
Copy link
Contributor

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
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Feb 21, 2019
@aab-odoo
Copy link
Contributor

robodoo r+

@aab-odoo
Copy link
Contributor

robodoo rebase-ff

@robodoo
Copy link
Contributor

robodoo commented Feb 21, 2019

Merge method set to rebase and fast-forward

@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Feb 21, 2019
@robodoo robodoo closed this in bb6aec1 Feb 21, 2019
@robodoo
Copy link
Contributor

robodoo commented Feb 21, 2019

Merged, thanks!

@Polymorphe57 Polymorphe57 deleted the 12.0-dashboard-view-imp-hbh branch July 18, 2019 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants