-
Notifications
You must be signed in to change notification settings - Fork 2
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-125413 Use new ImageSelector component in image-selector tag and remove old one #1494
LPS-125413 Use new ImageSelector component in image-selector tag and remove old one #1494
Conversation
…ttribute in favor of imageCropDirection. Add isDraggable logic to Tag.
…and using new ImageSelector react component
…name some methods to improve naming consistency. Add missing markup. Update props to fit new API from tag.
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. |
ci:test:sf |
✔️ ci:test:sf - 1 out of 1 jobs passed in 4 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-125413-migrate-image-selector.2 1 Successful Jobs:For more details click here. |
ci:test:relevant |
Jenkins Build:test-portal-source-format#2631 |
Just started reviewing :) |
I think the failure is not from this PR but it had not been detected until now, when a draft is autosaved we find the input coverImageFileEntryCropRegion and on blogs.js we are trying to retrieve the value with getElementById https://github.com/liferay/liferay-portal/blob/5860529bcad88ac3c9b2f76f7e5cd7c877e5cc23/modules/apps/blogs/blogs-web/src/main/resources/META-INF/resources/blogs/js/blogs.js#L363-L365 so it would be fine to add that missing id with the same value of the name. It is a little trickier to see because that part of the code is only passed when drafts are saved in the background, you only have to leave it open for a few seconds with some type of content to see the failure. |
✔️ ci:test:stable - 9 out of 9 jobs passed❌ ci:test:relevant - 18 out of 23 jobs passed in 2 hours 28 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 9272e31bc0297f9ad114de2c3a67f68aec8ea3cd ci:test:stable - 9 out of 9 jobs PASSED9 Successful Jobs:
ci:test:relevant - 18 out of 23 jobs PASSED5 Failed Jobs:
18 Successful Jobs:
For more details click here.Failures unique to this pull:
Failures in common with acceptance upstream results at 9272e31:
|
Thx @boton yup, it looks like some ids were missing there since the creation of the component. Just added'em and pushed the commit ;) |
ci:test:sf |
Jenkins Build:test-portal-acceptance-pullrequest(master)#4360 |
Hi @carloslancha, it looks like the changes to Sent the fix here - https://github.com/carloslancha/liferay-portal/pull/280 |
ci:test:relevant |
ci:forward |
CI is automatically triggering the following test suites:
The pull request will automatically be forwarded to the user
|
Skipping previously passed test suites: |
✔️ ci:test:sf - 1 out of 1 jobs passed in 47 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-125413-migrate-image-selector.2 1 Successful Jobs:For more details click here. |
All required test suite(s) passed. |
Pull request has been successfully forwarded to brianchandotcom#98928 |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7558 |
Jenkins Build:test-portal-source-format#3790 |
Following up on #1484
https://issues.liferay.com/browse/LPS-125413
In this pr we're removing the old
image-selector
AUI component in favor of the new React one.We're adding some missing markup in the React component and removing no needed one for SSR in the JSP
Made also some refactor and renaming in the React Components.
Deprecate
draggableImage
in favor of newimageCropDirection
attribute inImageSelector
tag to improve naming.Test Plan 1:
Test Plan 2: