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

8172095: Let Node.managed become CSS-styleable #602

Closed
wants to merge 3 commits into from

Conversation

abhinayagarwal
Copy link
Contributor

@abhinayagarwal abhinayagarwal commented Aug 12, 2021


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jfx pull/602/head:pull/602
$ git checkout pull/602

Update a local copy of the PR:
$ git checkout pull/602
$ git pull https://git.openjdk.java.net/jfx pull/602/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 602

View PR using the GUI difftool:
$ git pr show -t 602

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jfx/pull/602.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 12, 2021

👋 Welcome back abhinayagarwal! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Ready for review label Aug 12, 2021
@kevinrushforth
Copy link
Member

This will need at least a brief discussion on the openjfx-dev mailing list.

/csr
/reviewers 2

@openjdk openjdk bot added the csr Need approved CSR to integrate pull request label Aug 12, 2021
@openjdk
Copy link

openjdk bot commented Aug 12, 2021

@kevinrushforth has indicated that a compatibility and specification (CSR) request is needed for this pull request.
@abhinayagarwal please create a CSR request for issue JDK-8172095. This pull request cannot be integrated until the CSR request is approved.

@openjdk
Copy link

openjdk bot commented Aug 12, 2021

@kevinrushforth
The number of required reviews for this PR is now set to 2 (with at least 1 of role reviewers).

@abhinayagarwal
Copy link
Contributor Author

Past OpenJFX mailing list discussion: http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-July/017597.html

@mlbridge
Copy link

mlbridge bot commented Aug 12, 2021

Webrevs

@kevinrushforth
Copy link
Member

Please start a new thread and reference that one. That thread asks for a new property, but I think what you propose, which is to make the existing managed property CSS styleable, is better. Given how simple a request yours is, I expect the discussion will be brief.

@abhinayagarwal
Copy link
Contributor Author

Thanks for the feedback. I will create a CSR and start a thread on the mailing list.

@abhinayagarwal
Copy link
Contributor Author

@abhinayagarwal abhinayagarwal changed the title JDK-8172095: Let Node.managed become CSS-styleable 8172095: Let Node.managed become CSS-styleable Aug 12, 2021
@abhinayagarwal
Copy link
Contributor Author

I started a discussion on the mailing list. Is there anything else pending to move this PR forward?

@kevinrushforth
Copy link
Member

Is there anything else pending to move this PR forward?

Nothing else needed for now. The review can proceed.

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

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

The new API looks fine. I left one comment on the cssref docs, and that's otherwise ready to go (so you can get the CSR ready).

I noticed that there are no existing tests in NodeTest for the default value or for setting / getting the property, which there are for other properties. Can you add these missing tests, to verify that there are no problems?

Copy link
Member

@arapte arapte left a comment

Choose a reason for hiding this comment

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

Changes look good to me.
The tests, managedSetFromCSS() and Node_cssMethods_Test fail before and pass after. Other tests do pass both before and after, which is expected behaviour.

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

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

Looks good.

@kevinrushforth
Copy link
Member

This is ready to be integrated once the CSR is approved.

@openjdk openjdk bot removed the csr Need approved CSR to integrate pull request label Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@abhinayagarwal This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8172095: Let Node.managed become CSS-styleable

Reviewed-by: kcr, arapte

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 19 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth, @arapte) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Ready to be integrated label Sep 18, 2021
@abhinayagarwal
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Ready to sponsor label Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@abhinayagarwal
Your change (at version 394a47e) is now ready to be sponsored by a Committer.

@kevinrushforth
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Sep 18, 2021

Going to push as commit d356340.
Since your change was applied there have been 19 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot closed this Sep 18, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Ready to be integrated rfr Ready for review sponsor Ready to sponsor labels Sep 18, 2021
@openjdk
Copy link

openjdk bot commented Sep 18, 2021

@kevinrushforth @abhinayagarwal Pushed as commit d356340.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants