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

Allow filtering of API diffs #45

Open
namp007 opened this issue May 27, 2021 · 5 comments
Open

Allow filtering of API diffs #45

namp007 opened this issue May 27, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@namp007
Copy link

namp007 commented May 27, 2021

Hello, I would like to propose the following improvement on this page:
A filter mechanism to filter out "Added" modifications (or just filter based on modification types)
When planning to do an upgrade it's more important to know what will break than know what new API features there are.

@namp007
Copy link
Author

namp007 commented May 27, 2021

And an option to collapse based on the package would also be useful, given the many changes there are from 8 to 17

@marchof marchof added the enhancement New feature or request label May 27, 2021
@marchof
Copy link
Owner

marchof commented May 27, 2021

Dear @namp007, I see your use case. Currently this is a mostly statically generated web site. Maybe some JavaScript can be added to collapse and filter parts. Any technical recommendations are welcome.

@rob-spoor
Copy link

The table structure makes it a bit more difficult to collapse and expand elements. I've used divs on my own site, but the UI is not great.

Within the current structure, maybe each row can get two extra classes: one for the module, one for the package. Collapsing a module means hiding every row that have a class matching the module. Likewise for collapsing a package. The module and package can't get the class themselves, otherwise collapsing a module will hide the entire module.

Filtering is a bit more difficult because you preferably also want to hide empty classes etc.

@Thihup
Copy link

Thihup commented Oct 6, 2021

Maybe you could use the details tag:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_details

@marchof
Copy link
Owner

marchof commented Oct 6, 2021

The original requirement was filtering.

@marchof marchof changed the title Feedback on page "New APIs in Java 17" Allow filtering of API diffs Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants