FEAT: Create basic model embed #588
Reference in New Issue
Block a user
Delete Branch "feat-embed"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Creates a new
/embedview for all projects, which shows the viewer with minimal overlays. Makes it possible to embed this view within blog posts via<iframe>, although future work is needed to incorporate the embed markup into the Share modal.I'll bring it up here since related to iframe, At one point I had an idea about using a twitter player card for a cadhub experience on twitter #97, but looking at their docs it says "Do not circumvent the intended use of the Card. Player Cards are reserved for linear audio and video consumption only." so I don't know how sketch fab got their player approved.
Maybe I should try and contact twitter's dev support 🤷
Looks good, thanks @franknoirot.
I've asked for two minor changes.
Will merge after those.
Could we remove the log?
You should be able to import than re export QUERY from
app/web/src/components/IdeProjectCell/IdeProjectCell.tsxinstead of redefining it here (can import the Project type too)I don't mind having some duplication, but having more than one query with the same name
FIND_PROJECT_BY_USENAME_TITLEcan cause issues with apollo, if you don't want to import the query could you atleast rename to something unique.@@ -214,3 +214,3 @@src={URL.createObjectURL(image)}className="h-full w-full"className="w-full h-full"/>🙃
Yeah that appears to have been a special partnership that came kind of out of nowhere and doesn't appear to have been repeated, maybe the sort of thing that came from people who work at each company knowing each other or something. But def worth a shot at some point.
Complete.
Ah nice thank you, complete.