Repository navigation
Replies: 5 comments 1 reply
|
Yes please. |
|
It looks like the HOME/.storybook/ path is hardcoded here too: code/core/src/cli/ai/mcp/registry.ts line 15 |
|
Im working on adding this with possible solution:
One thing im unsure about: Still need to finish testing then i will open a PR with possible solution |
|
i opened PR #36231 Open question in there: the instance registry is runtime state, so it might fit better under |
|
@shilman I think this makes a lot of sense and it's trivial to support. Respecting XDG makes things nicer for Linux users. Are you ok with approving the feature being implemented? If so I can test @akuumaa's PR. EDIT: we're happy to implement support for this in Storybook. I'll follow up via the PR. |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
I'd love it if storybook could support the XDG Base Directory specification
Describe the solution you'd like
From a very quick glance, the path is set on line 10 of globalSettings.ts:
You would just need to check if XDG_CONFIG_HOME is set, and fallback to homedir.
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
All reactions