Skip to content

Browser: a Bodies folder under every component pushes deep assemblies far to the right #4217

Closed

Description

@CamWight

What happens

Every component in the Browser has a Bodies folder (and a Features folder) between it and its bodies. In an assembly each level of nesting already indents the tree, and the folder adds one more level for every part, so on detailed models the body rows end up far to the right and the names get cut short.

A three-level assembly of plain shapes (a Machine holding two Drive units of a housing, a shaft and a gear, and a Guard of a panel and a bracket) puts each body five levels deep (Machine, Drive unit, Housing, Bodies, the body). That's half the Browser's width spent on indentation before the name starts:

browser-nesting-crop

In larger models (hundreds of bodies, five or six levels of subassemblies) it's hard to read which part a body belongs to.

Steps to reproduce

  1. Create components nested three deep, each part with one body (for example component.create with parent, then solid.box).
  2. Look at the Browser: every part shows Bodies with its single body inside, plus Features.

What the folder does today

Any change has to keep these:

Possible directions

  • A. A component whose only content is one body shows that body directly under the component, without the folder (one level less where it matters most).
  • B. No Bodies folder: bodies are listed directly under their component; the drop target and the eye move to the component row.
  • C. A Browser view option, "Show Bodies folders", on or off.

I'll prototype these in the app and post screenshots here before anything is built.

Version

0.18.1 build from main 4098ff9d (the Browser code is unchanged on main since, apart from #3617), Windows 11.

Activity

  1. added
    area:doc
    needs-triage
    in progress
    on Oct 21, 2026
  2. github-actions commented on Oct 21, 2026

    @github-actions
    Contributor

    Claimed by @CamWight through #4219. The claim lapses after 14 days without pushes.

  3. CamWight commented on Oct 22, 2026

    @CamWight
    ContributorAuthor

    Plan

    Cameron picked a preference, with the first option as its default.

    What changes

    • Preferences › General, under Parts browser: Bodies folders: Always / Several bodies only / Never, default Several bodies only.
      • Several bodies only: a component (or a placement of one) whose Bodies folder would hold exactly one body, and no groups, lists that body straight under it, one level less. Two or more bodies, any group, or a hidden folder: the folder as today.
      • Never: no Bodies folder inside components. Their bodies and groups are listed straight under them, and the component's right-click menu gains the folder's items (Create Components from Bodies, New Group, Group Selected, Show All).
      • Always: as today.
    • The design's own Bodies folder (what a single-part design shows) stays in every mode, and a hidden folder always shows, so its eye can bring it back.
    • What the folder row did is kept where it goes: a folded body's own eye and hover do the folder's jobs for one body, and dropping a body on a component's row already moves it into that component (A body dropped on a component's Bodies folder moves into that component (#3270) #3347). Find in Browser (Find in Browser finds the body; Find in Timeline opens the feature's folders (#3883) #3884) still reaches a folded body.
    • Saved as browser_bodies_folders with the other preferences; an unknown value reads as the default, and ui.prefs takes it.

    Tests

    • The folding rule: no, one and two bodies; a group; a hidden folder; the design's own folder; a placement's folder; each mode.
    • In the Browser: the rows of a nested assembly in each mode, a drop onto a component with a folded body, a folded body's eye, the component menu in Never, the preference saved and read back, an unknown value.
    • Planted faults, screenshots of each mode in the real app, and the full gate.

    The UI freeze: this adds one preference row. I'll keep #4219 as a draft until the remaining redesign PRs (#3822, #3985) are in, unless @bherbruck would rather it went up sooner.

  4. 4 remaining items

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

Metadata

Metadata

Assignees

Labels

area:docin progressneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions