Skip to content

Show nested projects co-located and indented - #9602

Open
jtulach wants to merge 2 commits into
apache:masterfrom
jtulach:jtulach/NestedProjectsNextToEachOther
Open

Show nested projects co-located and indented#9602
jtulach wants to merge 2 commits into
apache:masterfrom
jtulach:jtulach/NestedProjectsNextToEachOther

Conversation

@jtulach

@jtulach jtulach commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
  • this PR is implementation of @mbien's idea
    • sorting of project is changed so nested projects are co-located next to each other
  • however just co-locating isn't enough to express which project is nested to each
    • as such we also indent nested projects
    • that gives the user a clue of the project relations
  • while it keeps the overall presentation unchanged
    • except indentation and different sorting the project view behavior remains the same
  • no API changes in the Project API are needed
    • that's very encouraging
  • one small API change was needed to reuse NodeRenderer and control its (already existing and used in ChoiceView) indentation support
  • write some unit tests
  • verify indentation is update when project list is changed
  • make it fast (e.g. avoid too frequent traversal)
Maven 4 Projects with Indentation

@svenreimers

Copy link
Copy Markdown
Member

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants