Repository navigation
Mods: let users and their agents reshape Ardia's UI from files, without forking #1736
alcibiadesc
started this conversation in
Ideas
Replies: 1 comment
|
Must-have. In Zen I rely on mods for small UI fixes like this, e.g. No pinned tab reset btn, so I never accidentally reset or close pinned tabs on hover. In Ardia, the ✕ on a closed pinned row removes the pin in one click, and today there's no way to hide it: no setting, and extensions can't touch the sidebar. Mods would solve this and many similar requests. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The idea
Ardia already has two levels of file-based customization: settings, themes and shortcuts in
~/.config/ardia/(#716), and commands, events and hooks from theardiacommand (#717).I'd like to propose the third level: mods. Small UI modules that live in the config folder and can add to, or replace, parts of Ardia's own interface (a sidebar section, the command bar's rows, a tab's context menu, a popup), and that survive every update.
Where it comes from
The Herdr app works this way, and it changes how you relate to the app. Its whole interface is files in
~/.config/herdr-app:layouts/*.jsonsay which panels go where.mods/<name>/is amod.json(where it sits, its title, whether it's a dialog or popup) plus amain.jsthat describes native elements. There's no web view: the script describes, the app draws.AGENTS.mdand type files (.d.ts) into the folder, matching the running version, so a coding agent knows exactly what it can and can't do.<name>.error.In practice I tell Claude Code "⌘W should send the tab to a trash I can restore from for 3 minutes" or "show a split tab as one pill in the sidebar", and it's done in minutes, in my own folder, versioned in git. And I still get every core update, which a fork would cost me.
Why it fits Ardia
ardiacommand already knows which agent is driving it and ships an agent skill.Rough shape
~/.config/ardia/mods/<name>/mod.json+main.ts.ardia run.requiresversion as plugins already have.Open questions
launchActionshas), may be enough.All reactions