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

LPS 131395 Fix line chart and pie chart popover styles #2144

Closed
wants to merge 2 commits into from

Conversation

claraizquierdo
Copy link
Collaborator

@claraizquierdo claraizquierdo commented Jan 31, 2022

Motivation

Pie chart and line chart popover styles in Content Performance panel are not in sync with Lexicon popover styles
Link to ticket

Proposed Solution

We have added .popover classes to charts popovers so that they inherit the styles from Clay Popovers. We have also removed unnecessary styles.

Steps to Verify:

  1. Open Content Perfomance Panel
  2. Hover over the donut chart
  3. Hover over the line chart
  4. If you want to verify this behaviour with more data cherry-pick this commit: claraizquierdo@e3275f1

Change summary (optional):

  • LPS-131395 Change pie chart popover styles to be the same as ClayPopover
  • LPS-131395 Change line chart popover styles to be the same as ClayPopover

Screenshots (optional):

Before:
unstlyed-tooltip

After:
popover with modified spacing

@liferay-continuous-integration

To conserve resources, the PR Tester does not automatically run for every pull.

If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed.

If your pull was never tested, comment "ci:test" to run the PR Tester for this pull.

@claraizquierdo claraizquierdo changed the title LPS 131395 LPS 131395 Fix line chart and pie chart popover styles Jan 31, 2022
@claraizquierdo
Copy link
Collaborator Author

ci:test:sf

@liferay-continuous-integration

✔️ ci:test:sf - 1 out of 1 jobs passed in 4 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 8e3c0cafbe1bd373d7d44150f855efd5c343412f

Sender Branch:

Branch Name: LPS-131395
Branch GIT ID: b6aa55373f14dddf9e4dcabbdc41d30b68bb7bc7

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration

Copy link

@beltranrengifo beltranrengifo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@claraizquierdo
Copy link
Collaborator Author

ci:test:relevant

@liferay-continuous-integration

✔️ ci:test:stable - 21 out of 25 jobs passed

✔️ ci:test:relevant - 24 out of 28 jobs passed in 1 hour 47 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 0fe5a379dbda167300085e2b96614224c617d89e

Upstream Comparison:

Branch GIT ID: 0fe5a379dbda167300085e2b96614224c617d89e
Jenkins Build URL: Acceptance Upstream DXP (master) #2873

ci:test:stable - 21 out of 25 jobs PASSED
21 Successful Jobs:
ci:test:relevant - 23 out of 28 jobs PASSED
23 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 0fe5a37:
  1. test-portal-acceptance-pullrequest-batch(master)/semantic-versioning-jdk8/0
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0 #31122

      Please fix semantic versioning on liferay-tango/LPS-131395

           [exec]   PACKAGE_NAME                                       DELTA      CUR_VER    BASE_VER   REC_VER    WARNINGS  
           [exec] = ================================================== ========== ========== ========== ========== ==========
           [exec] * com.liferay.portal.kernel.util                     MAJOR      23.0.0     23.0.0     24.0.0     VERSION INCREASE REQUIRED
           [exec]   >   interface  com.liferay.portal.kernel.util.PropsKeys
           [exec]     -   field      PORTLET_URL_GENERATE_BY_PATH_ENABLED
           [exec]       -   access     final
           [exec]       -   access     static
           [exec]       -   constant   portlet.url.generate.by.path.enabled
           [exec]       -   return     java.lang.String
           [exec] [Baseline Warning] Bundle Version Change Recommended: 34.0.0
           [exec] [Baseline Report] Mode: diff (persisted)
           [exec] Semantic versioning is incorrect while checking /opt/dev/projects/github/liferay-portal/portal-kernel/portal-kernel.jar against /opt/dev/projects/github/liferay-portal/.gradle/caches/modules-2/files-2.1/com.liferay.portal/com.liferay.portal.kernel/33.0.0/a67dd6264c43c6276987fcefdfc7290fe126de7a/com.liferay.portal.kernel-33.0.0.jar

  2. test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/0
    Job Results:

    2 Tests Passed.
    3 Tests Failed.

    1. AXIS_VARIABLE=0 #448032
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanOSGiLog
        junit.framework.AssertionFailedError: 
        Portal log assert failure, OSGi log found: /opt/dev/projects/github/liferay-portal/bundles/osgi/state/1643709393164.log:
        !SESSION 2022-02-01 09:56:49.571 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.8.0_121
        java.vendor=Oracle Corporation
        BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
        

        !ENTRY com.liferay.portal.odata.impl 4 0 2022-02-01 09:56:49.572
        !MESSAGE FrameworkEvent ERROR
        !STACK 0
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.odata.impl [89]
        Unresolved requirement: Import-Package: io.netty.buffer

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

        !ENTRY com.liferay.site.initializer.extender 4 0 2022-02-01 09:56:...

      2. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError:
        FrameworkEvent ERROR
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.odata.impl [89]
        Unresolved requirement: Import-Package: io.netty.buffer

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(Por...

  3. test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8/0
    Job Results:

    1116 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=1 #484895
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError:
        com.liferay.portal.kernel.exception.PortalException: Unable to search with filter ((customField/_52127_9fjnIWS7 eq 'Y4bEsc0C')) and (classPK eq '20128')
        com.liferay.portal.kernel.exception.PortalException: Unable to search with filter ((customField/_52127_9fjnIWS7 eq 'Y4bEsc0C')) and (classPK eq '20128')
        at com.liferay.segments.internal.odata.search.ODataSearchAdapterImpl.searchCount(ODataSearchAdapterImpl.java:110)
        at com.liferay.segments.internal.odata.retriever.UserODataRetriever.getResultsCount(UserODataRetriever.java:69)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.isMember(BaseSegmentsEntryProvider.java:286)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.lambda$getSegmentsEntryIds$1(BaseSegmentsEntryProvider.java:153)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
        at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
        at java.util.stream.LongPipeline.toArray(LongPipeline.java:484)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.getSegmentsEntryIds(BaseSegmentsEntryProvider.java:157)
        at com.lif...
    2. AXIS_VARIABLE=2 #484895
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError:
        com.liferay.portal.kernel.exception.PortalException: Unable to search with filter ((customField/_59370_w3s70Oai eq 'GmigHOnu')) and (classPK eq '20128')
        com.liferay.portal.kernel.exception.PortalException: Unable to search with filter ((customField/_59370_w3s70Oai eq 'GmigHOnu')) and (classPK eq '20128')
        at com.liferay.segments.internal.odata.search.ODataSearchAdapterImpl.searchCount(ODataSearchAdapterImpl.java:110)
        at com.liferay.segments.internal.odata.retriever.UserODataRetriever.getResultsCount(UserODataRetriever.java:69)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.isMember(BaseSegmentsEntryProvider.java:286)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.lambda$getSegmentsEntryIds$1(BaseSegmentsEntryProvider.java:153)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
        at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
        at java.util.stream.LongPipeline.toArray(LongPipeline.java:484)
        at com.liferay.segments.internal.provider.BaseSegmentsEntryProvider.getSegmentsEntryIds(BaseSegmentsEntryProvider.java:157)
        at com.lif...

@liferay-continuous-integration

@claraizquierdo
Copy link
Collaborator Author

ci:forward

@liferay-continuous-integration

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration

Skipping previously passed test suites:
ci:test:relevant

@liferay-continuous-integration

✔️ ci:test:sf - 1 out of 1 jobs passed in 4 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 0fe5a379dbda167300085e2b96614224c617d89e

Sender Branch:

Branch Name: LPS-131395
Branch GIT ID: af06b6b095ea4f1ef7689c9faa36e28ecda0454e

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration

All required test suite(s) passed.
Forwarding pull request to brianchandotcom.
Console

@liferay-continuous-integration

Pull request has been successfully forwarded to brianchandotcom#112907
Console

@liferay-continuous-integration

Copy link
Collaborator

@Stephy6 Stephy6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review finished!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants