java-almanac icon indicating copy to clipboard operation
java-almanac copied to clipboard

Allow filtering of API diffs

Open namp007 opened this issue 4 years ago • 5 comments

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 avatar May 27 '21 07:05 namp007

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

namp007 avatar May 27 '21 07:05 namp007

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.

marchof avatar May 27 '21 09:05 marchof

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.

rob-spoor avatar Sep 15 '21 08:09 rob-spoor

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

Thihup avatar Oct 06 '21 13:10 Thihup

The original requirement was filtering.

marchof avatar Oct 06 '21 13:10 marchof