tjikko-studio / components

Component library for Tjikko Studio apps
0 stars 0 forks source link

new FeaturesShow animation #212

Closed shawninder closed 2 years ago

shawninder commented 2 years ago

I brought some working code in from this Codepen : https://codepen.io/shawninder/pen/vYJmZQO?editors=0110

I also added a Story for the FeaturesShow to facilitate testing.

Things don't exactly work in this context, so fixing that is the first order of business. Part of the problem must be a clash between how I handle positioning of popups in the Codepen versus how positioning has been handled here historically. We may need a different way to support the 9-grid position system and have it behave within the context of this animation stuff…

Next, there is also tweaking to do to make this more usable and pretty.

shawninder commented 2 years ago

En gros ceci: https://user-images.githubusercontent.com/416462/139964162-3d75509b-2aac-4e6b-b2b2-81b6bfdf0231.mp4

En gros il manque templates_ref… Faudrait que toutes les pages aient un templates_ref, j'imagine qu'on peut mettre ça dans site/blueprints/options/page.yml?

@ktryndchrs Sais-tu comment faire pour donner un templates_ref à toutes les pages?

Sinon, sans templates_ref, cette condition n'est jamais "accomplie" et les templates ne sont pas envoyés à la page pour référence (voir ici)…

ktryndchrs commented 2 years ago

Je pourrais le faire dans une branche à part …

En gros ceci: https://user-images.githubusercontent.com/416462/139964162-3d75509b-2aac-4e6b-b2b2-81b6bfdf0231.mp4

En gros il manque templates_ref… Faudrait que toutes les pages aient un templates_ref, j'imagine qu'on peut mettre ça dans site/blueprints/options/page.yml?

@ktryndchrs Sais-tu comment faire pour donner un templates_ref à toutes les pages?

Sinon, sans templates_ref, cette condition n'est jamais "accomplie" et les templates ne sont pas envoyés à la page pour référence (voir ici)…

shawninder commented 2 years ago

Je pourrais le faire dans une branche à part …

Si tu veux ouais!