Collapsible Ribbon

by Alan
5
4
3
2
1
Score: 50/100

Description

Hover to expand the Obsidian left ribbon, pin it open, and drag to set its width.

Reviews

No reviews yet.

Stats

0
stars
176
downloads
0
forks
47
days
37
days
37
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
9
commits

Latest Version

a month ago

Changelog

Addresses the reported Obsidian plugin-review warnings and makes the existing settings searchable.

  • Validate loaded data and native settings entries without unsafe any assignments, calls or member access.
  • Use Obsidian's parent DOM helpers and the ribbon's owning window for popout compatibility; remove globalThis references.
  • Expose width, animation and label controls through getSettingDefinitions(), preserving the normal serialized save path.
  • Preserve dynamic native method receivers without this aliases or unbound-method warnings.
  • Replace the broad :has tooltip selector with an owned document-body class, restored on collapse, layout replacement and unload.
  • Add the official recommended ESLint configuration and a zero-warning lint gate to CI. No reported lint rules are disabled.

Validation: zero lint warnings/errors, TypeScript and production build passed, 36 behavior tests passed, native Obsidian checks passed on 1.13.7 and 1.14.4, and AnuPpuccin/Blue Topaz browser fixtures passed. Live Obsidian acceptance and refresh of the community listing's review results remain external/manual checks.

After updating, search Settings for Expanded ribbon width, Animate transitions and Show labels when expanded. Check hover/pin/resize and persistence as usual.

For a manual update, replace main.js, manifest.json and styles.css while keeping data.json. No runtime dependencies or additional settings were introduced. The ZIP contains only those three runtime files in a collapsible-ribbon folder.

README file from

Github

Collapsible Ribbon

Make Obsidian's left ribbon easier to use with labelled actions.

  • Hover to expand: See icon labels in a rail over nearby content. Your editor stays in place.
  • Pin it open: The rail stays visible and the editor makes room for it.
  • Resize it: Drag the right edge to set a width from 120 to 300 px. The default is 220 px.

Your existing ribbon buttons, including those added by other plugins, keep working. Empty buttons left by obsolete plugin icons receive a reversible fallback. Labels use their existing accessible names where available. Tooltips appear while the ribbon is collapsed and are hidden while expanded.

Use

Hover over a ribbon icon to open the rail. Click the pin at the bottom to keep it open; click again to return to hover mode. Drag the right edge to resize. You can also focus the resize handle and use Left/Right arrows (1 px), Shift+arrows (10 px), or Home/End.

The plugin remembers your ribbon order, pin state and width across restarts. Reorder icons by dragging or through Settings → Interface → Ribbon menu configuration. Both views stay synchronized, and late-loading plugins return to their saved positions. Its searchable settings let you change the width or turn off animations and labels.

Install

For manual installation, download the ZIP from the latest release and extract its collapsible-ribbon folder into your vault's .obsidian/plugins/ directory. Then enable Collapsible Ribbon in Obsidian's Community plugins settings. Requires desktop Obsidian 1.13.7 or later.

Development and release notes · MIT licence