Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"File Prop" Type #408

Merged
merged 4 commits into from Aug 10, 2023
Merged

Conversation

joaogsleite
Copy link
Contributor

There is already an "Image" Prop Type but it is not possible to select other file types besides images.

With this new "File" Prop Type, it will be possible to select any file type.

Example use case:

Select glb file to change model.

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2023

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Mar 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
theatre-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2023 0:56am

@AriaMinaei
Copy link
Member

This is a great PR. Thank you @joaogsleite! I'll review this week.

@AriaMinaei
Copy link
Member

/release insiders

@github-actions
Copy link

github-actions bot commented Mar 14, 2023

🎉 Released an insiders' build to npm. Here is how to upgrade:
  • 🚧 This is an insiders' build. It possibly is not stable and may corrupt your data. Always backup your work before upgrading.
  • If you do try this build, welcome aboard, insider 😉. If you're feeling generous, share some feedback here or on #contributing at Discord.
  • 🔼 To upgrade, edit package.json and replace the versions of all @theatre or theatric packages with their new versions:
--- @theatre/core: "old-version",
+++ @theatre/core: "0.6.1-insiders.4c37567",
--- @theatre/studio: "old-version",
+++ @theatre/studio: "0.6.1-insiders.4c37567",
--- @theatre/dataverse: "old-version",
+++ @theatre/dataverse: "0.6.1-insiders.4c37567",
--- @theatre/react: "old-version",
+++ @theatre/react: "0.6.1-insiders.4c37567",
--- @theatre/browser-bundles: "old-version",
+++ @theatre/browser-bundles: "0.6.1-insiders.4c37567",
--- @theatre/r3f: "old-version",
+++ @theatre/r3f: "0.6.1-insiders.4c37567",
--- theatric: "old-version",
+++ theatric: "0.6.1-insiders.4c37567",

All published packages are on npm:

@akre54
Copy link
Contributor

akre54 commented Aug 9, 2023

This looks great! In addition to 3d models we'd love to use this for importing data like CSVs or JSONs. Would love to see this merged!

@AriaMinaei AriaMinaei merged commit fc849a5 into theatre-js:main Aug 10, 2023
4 of 10 checks passed
@AriaMinaei
Copy link
Member

Merged. Thank you @joaogsleite :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants