ayon-frontend icon indicating copy to clipboard operation
ayon-frontend copied to clipboard

Anatomy Presets: Resolve schema addition.

Open kobflo opened this issue 11 months ago • 3 comments

Story

As any user Building anatomy presets

Quick viewable example of the expected result of the file name/ directory template.

Problems/ current view.

directory template: {root[work]}/{project[name]}/{hierarchy}/{folder[name]}/work/{task[name]} file name template: {project[code]}{folder[name]}{task[name]}{@version}<{comment}>.{ext}

Proposal

on hover over, or a middle click or a help icon, resolve the expression into an artist readable view. ie, /mnt/projects/SOMECOOLSHOW/EP002/BAK-020/SH-101/work/FX

TODO

  • [ ] ...

Attachments

kobflo avatar Jan 23 '25 04:01 kobflo

It seems easy, but it is not trivial, as to resolve some templates properly you need to know the exact context.

so one template can produce many different paths so without knowing the context it is just guessing game.

m-u-r-p-h-y avatar Jan 23 '25 08:01 m-u-r-p-h-y

It seems easy, but it is not trivial, as to resolve some templates properly you need to know the exact context.

so one template can produce many different paths so without knowing the context it is just guessing game.

Agreed!

Maybe each field could have a best guess assumption based on the easier things that could be resolved?

or

a selected project to guess from?

Just thoughts :)

Thanks for the response :)

kobflo avatar Jan 23 '25 09:01 kobflo

I've wanted this for a while to be honest. We might possibly just pick a completely random entity and fill it with that. So every time you hover you'd see a different example.

mkolar avatar Mar 19 '25 17:03 mkolar