Repository navigation
Opt-in slide animation when browsing the theme/background picker #18505
SachaGrdc
started this conversation in
Suggestions
Replies: 0 comments
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.
Idea
An opt-in slide in the theme/background picker: when moving between items with the arrows, Tab or a click, the carousel slides the slices into place and the newly selected item grows into the preview, instead of jumping.
Context
I know #14709 removed the carousel's x/y/width/height transitions on purpose so the picker shows and reacts instantly, and I'm not proposing to undo that by default. The suggestion is a setting that is off out of the box, for people who prefer the motion when browsing themes.
How it would work
I've been running it locally as a cloned plugin (
omarchy plugin clone omarchy.image-picker) and it feels good. The change is small and stays within the rules inagents/skills/motion.md:Behavior on x / y / width / heighton the carousel delegate, 240ms,Style.duration()+Style.easeOut, soomarchy toggle animationsstill turns it off.enabledis bound toroot.layoutSettled, so opening stays the single-frame reveal from Show the image picker instantly, with no backdrop #14709. Only navigation inside the open picker moves.syncWindow()already keeps delegates keyed byimageIndex, so existing slices really slide rather than being recreated.Upstream, this would sit behind an opt-in key in
shell.json(for exampleimagePicker.slide: true).Would a PR for this be welcome, and if so, where should the setting live?
All reactions