Rayon’s current Layers panel includes a basic “more” menu (⋯) with a few global actions:
▶️
Collapse all▶️
Delete unused layers
These options are helpful, but limited. In larger projects with multiple pages, formats, and layered content, users would benefit from more granular control — especially when navigating, sorting, or cleaning up complex document structures.
📁 Proposed Menu Structure
├── Pages
│ ├── Sort pages by
│ │ ├── Default
│ │ └── Page format
│ ├── Expand pages
│ ├── Collapse pages
│ └── Delete blank pages
│
├── Layers
│ ├── Expand layers
│ ├── Collapse layers
│ └── Delete unused layers ✅
│
├── Expand all
└── Collapse all ✅✅ Feature Details
▶️ Top Level Dropdown Menu
🔽 Pages Section
Sort pages by → Default
Sort pages by → Page format
Sorts all pages by their assigned format (e.g., A0, A1, A3).
Helpful for quickly organizing multi-format documents.
Expand pages / Collapse pages
Expands or collapses all entries in the All Pages section of the Layers panel.Delete blank pages
Deletes pages that contain no objects, text, annotations, or blocks.
Useful for removing empty placeholders or leftover sheets from templates.
🔽 Layers Section
Expand layers / Collapse layers
Quickly opens or closes all layer groups for easier review or cleanup.Delete unused layers ✅
Already implemented — no changes needed.
🔄 Global Controls
Expand all ✅
Expands both pages and layers in one action — useful for full visibility.Collapse all ✅
Already implemented. Collapses all sections for a clean overview.
These improvements would bring much-needed structure and efficiency to the Layers panel — especially for users managing large, professional drawing sets. The enhancements align with existing UI patterns and can be adopted with minimal visual or functional disruption.