Tresjs / cientos

Collection of useful helpers and fully functional, ready-made abstractions for TresJS
https://cientos.tresjs.org/
MIT License
286 stars 40 forks source link

Start migrating playground controls to @tresjs/leches #183

Closed alvarosabu closed 10 months ago

alvarosabu commented 1 year ago

Description

Since we are going to deprecate useTweakpane soon, let's start migrating all the playground examples that use tweakpane with @tresjs/leches instead

Suggested solution

Migrate:

Alternative

No response

Additional context

No response

Validations

andretchen0 commented 1 year ago

Are there docs for leches? Or a repo?

All I've managed to find so far is the source on npm.

alvarosabu commented 1 year ago

Hi @andretchen0 I just made it public https://github.com/Tresjs/leches

The documentation can be found here https://tresleches.netlify.app/

alvarosabu commented 11 months ago

Hey @JaimeTorrealba @andretchen0 I just created a branch for this, I'm planning to migrate some of them to TresLeches but I really need your support here.

We need to deprecate tweakpane for v4. https://github.com/Tresjs/cientos/issues/296

andretchen0 commented 11 months ago

Hey @JaimeTorrealba @andretchen0 I just created a branch for this, I'm planning to migrate some of them to TresLeches but I really need your support here.

@alvarosabu

Happy to help out!

The branch isn't linked in the sidebar here or on #296.

Can you add the link to the branch here and then @ me?

I'm guessing the preference is to use Leches where possible and not v-tweakpane, which was linked on #296. Is that right?

alvarosabu commented 11 months ago

I'm guessing the preference is to use Leches where possible and not v-tweakpane, which was linked on https://github.com/Tresjs/cientos/issues/296. Is that right?

Correct

I just pushed the branch bugfix/183-start-migrating-playground-controls-to-tresjsleches

@andretchen0 @JaimeTorrealba let me know which ones would you take so we don't repeat ourselves

andretchen0 commented 10 months ago

branch

Got it. Thanks!

let me know which ones would you take

I'll start at the bottom of the "Migrate" list in the top-line issue and work up.

So we don't duplicate our efforts, I'll do my best to remember to push as the files are completed and tick the proper box in the "Migrate" list.

Housekeeping:

andretchen0 commented 10 months ago

@alvarosabu

I've just pushed the last of the playground demos to #308 .

Questions

Remaining occurences of tweakpane

package.json
pnpm-lock.yaml
vite.config.ts
docs/package.json
docs/.vitepress/config.ts
docs/.vitepress/theme/components/CustomShaderMaterialDemo.vue
docs/guide/misc/use-tweakpane.md
src/core/misc/index.ts
src/core/misc/useTweakPane/index.ts
alvarosabu commented 10 months ago

Hi buddy @andretchen0 , sorry that it took me so long to get back to you.

Amazing job migrating all the demos to tresleches and for providing insightful feedback about the GUI controls.

What should we do about "TheGizmos" in the top-level issue description? I'm not sure what that refers to. Could you let me know which files need to be changed or whether to ignore "TheGizmos"?

Ignore it, it was the old name of the TransformControlsDemo

There are still some non-playground occurences of tweakpane in Cientos. See list below. I've left them in place for now because this issue is "Start migrating playground controls". Do you want those to be addressed under this issue?

Lets include in this PR the ones in the docs, then we merge this because the complete removal of tweakpane is gonna be done in #296

Are we ready to review https://github.com/Tresjs/cientos/pull/308 ?

Lets include the changes in the docs and we are ready

Thanks a lot 🙏🏻