mirror of
https://github.com/jsmorabito/obsidian-commander.git
synced 2026-07-22 06:40:31 +00:00
No description
Adds an optional defaultValue prop to SliderComponent; when set, a small reset icon (matching the existing "reset to default" pattern used for advanced-toolbar icons) appears next to the value and resets it back to that default on click. Wired up for the General tab's "custom spacing" slider using DEFAULT_SETTINGS.spacing so it stays in sync if the default ever changes. MacroBuilder's per-item Delay slider is unaffected (no defaultValue passed, so no button shows - there's no persistent default for a one-off macro action value). Adds the new "Restore default" string to locale/en.json plus the ten other filled locale files (untranslated, English placeholder) so the locale completeness test suite still passes. |
||
|---|---|---|
| .github | ||
| locale | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| AGENTS.md | ||
| app.css | ||
| eslint.config.mts | ||
| LICENSE.md | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| versions.json | ||
| vitest.config.ts | ||
Commander is a plugin for Obsidian which allows you to add commands to different parts of the user interface.
Features
- add commands
- remove commands
- re order commands (via plugin settings menu)
- edit commands
- hide commands added by Obsidian or other plugins
- choose which devices commands appear on (for sync users)
Demo
How you can improve this Plugin
Feedback
Share feedback, issues, and ideas on Github, with our Commander feedback form, or tag the authors on Discord!
Adding translations
If you want to help and translate this Plugin to new languages, see locale/. Copy the English (en.json) File to your language file and start changing the sentences on the right.
Credits
- This plugin is being designed by Johnny ✨ and developed by phibr0
- Thank you to Kometenstaub and kzhovn for giving us permission to use the code from their plugins Customizable Page Header and Titlebar and Customizable Menu
- All designs for Commander were created using Penpot
