Skip to content

Every Library in its own place: Library view grouped by Library (L3) - #200

Merged
jcombs-pointblue merged 1 commit into
mainfrom
library-folders-l3
Nov 23, 2026
Merged

jcombs-pointblue merged 1 commit into
mainfrom
library-folders-l3

Conversation

@jcombs-pointblue

Copy link
Copy Markdown
Contributor

L3 of DirXMLDev's docs/library-containers.md (PointBlueTechnology/DirXMLDev#133). Pins DirXMLDev 0.78.0 (L1 in 0.77.0, L2 in 0.78.0): another Library's or container's objects now live in the tree's libraries/<alias>/, and two Libraries can each hold one of a name.

What changes in the page

  • Outline and Developer view: the driver set's own Library comes first. Each other Library follows in a read-only group of its own, with its DN. A container that only links reach shows no group. Inside a group the pill is on the group, not on every leaf.
  • Driver set page: counts the own Library's items, then names each other Library ("2 items, read-only" or "only links reach it").
  • Policy flow: the set panel's members and the "link an existing policy" picker say which Library a copy comes from, e.g. shared-only (Library@services). So does a policy's hover text.
  • Validation: findings group under each Library (Library pub, Library@services).
  • Promotion: manifestOf knows libraries/<alias>/library.xml.
  • Trace: a policy name links to the driver set's own Library first.
  • New item: the name-clash check looks only at the own Library.
  • MCP: the read_artifact description mentions libraries/<alias>/<name>.
  • Labels: an alias that already starts with "Library" (Library@services) isn't prefixed again; the others read Library SKyPRO. One helper (libraries.ts / TreeService.libraryTitle) does this for all views.
  • Older trees: a tree written before 0.77.0 still reads as before. Its other-Library objects stay in library/ with the per-item read-only pill.

Tests

  • ReadOnlyLibraryTest.eachOtherLibraryIsAGroupOfItsOwn covers the outline, the artifact and the Developer tree.
  • New libraries.test.ts, plus a moduleOf case.
  • Java: 119 pass. Page: 62 pass.

Checked by hand in the browser against a tree imported from a synthetic LDIF with three other Libraries (Library@services, Library@DriverSet-Other, SKyPRO): outline, Developer view, set panel and validation.

🤖 Generated with Claude Code

Other Libraries and containers the driver set uses get a read-only group of
their own in the outline and the Developer view; the set panel, the flow's
hover text, validation and promotion name the Library. Pins DirXMLDev 0.78.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jcombs-pointblue
jcombs-pointblue merged commit dec9d75 into main Nov 23, 2026
2 checks passed
@jcombs-pointblue
jcombs-pointblue deleted the library-folders-l3 branch November 23, 2026 19:25
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.

1 participant