RFR: 8361366: Allow sorting of member details in lexicographical order [v8]

Nizar Benalla nbenalla at openjdk.org
Fri Oct 17 09:31:41 UTC 2025


> Please review this patch to add a toggle to order the member details in the table of contents in lexical order. The selected choice is stored and preserved.
> 
> Here is a preview of the new toggle.
> 
> 
> https://github.com/user-attachments/assets/55c81e4b-5fc0-416e-8946-53aede419640

Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 12 commits:

 - -simplify approach
   -TOC shouldn't scroll if viewed section hasn't changed
   -add event listener directly to button
 - Merge branch 'master' into toc-toggle
 - remove redundant css
 - prevent sidebar from moving by adding a transparent border
 - Merge branch 'master' into toc-toggle
   
   # Conflicts:
   #	src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/stylesheet.css
 - improve implementation based on feedback
 - member details should also be sorted
 - Merge branch 'refs/heads/master' into toc-toggle
 - Merge branch 'master' into toc-toggle
   
   # Conflicts:
   #	src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
 - Merge branch 'master' into toc-toggle
   
   # Conflicts:
   #	src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
 - ... and 2 more: https://git.openjdk.org/jdk/compare/1af37e5c...424e3854

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

Changes: https://git.openjdk.org/jdk/pull/26322/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26322&range=07
  Stats: 252 lines in 10 files changed: 250 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/26322.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26322/head:pull/26322

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


More information about the javadoc-dev mailing list