RFR: JDK-8325874: Improve checkbox-based interface in summary pages

Hannes Wallnöfer hannesw at openjdk.org
Mon Mar 11 13:43:03 UTC 2024


Please review a change to improve the user experience and implementation for the checkbox-based interface to selectively display content on API summary pages:

 - Add a checkbox to toggle (select/unselect) all checkboxes in the page.
 - Remove the `Table.setAlwaysShowDefaultTab(boolean)` setter as it is redundant and can be replaced by `!renderTabs`.
 - Consolidate the code to generate checkboxes into a new protected `SummaryListWriter.getCheckbox` method.

-------------

Commit messages:
 - Add bug id to tests
 - JDK-8325874: Improve checkbox-based interface in summary pages

Changes: https://git.openjdk.org/jdk/pull/18194/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18194&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325874
  Stats: 140 lines in 9 files changed: 55 ins; 52 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/18194.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18194/head:pull/18194

PR: https://git.openjdk.org/jdk/pull/18194


More information about the javadoc-dev mailing list