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

Triplex for VS Code Public Release #211

Open
70 of 81 tasks
itsdouges opened this issue Jun 27, 2024 · 0 comments
Open
70 of 81 tasks

Triplex for VS Code Public Release #211

itsdouges opened this issue Jun 27, 2024 · 0 comments
Labels
New feature New feature or request

Comments

@itsdouges
Copy link
Collaborator

itsdouges commented Jun 27, 2024

Note

Triplex for VS Code is in closed Beta! Find the link to install on Discord.


Keeping track of what needs to be completed to get mostly feature parity with Triplex app. Complete parity isn't the goal as there is a code-first focus for the extension.

MVP release

  • Triplex scene
  • Triplex backend
  • Element panel
  • Selected element controls
  • Undo/redo/save
  • Jump to
  • Play/pause/edit
  • Union input toggle
  • Basic error handling for userland errors
  • Element / prop filters

Announcement release

  • Duplicate selected element
  • Component switcher in the editor
  • Select mode (turn off transform controls)
  • Delete selected element
  • Element actions menu
  • Color input
  • Resize panel
  • Link to code for controlled in code input
  • Provider controls
  • Component controls
  • Prop input tags (basic + union)
  • Toggle default lights shown when no lights are in the component
  • Upgrade core dependencies (Vite, TSC, ...)
  • Create debugging output channel "createOutputChannel"
  • Sentry
  • Telemetry
  • View through camera
  • Documentation
  • Branding
  • Trade-offs page in docs, e.g. static analysis limitations, expectations, and so on
  • Blog post
  • Short form videos
  • Long form videos

Bugs

  • Saving errors for CJS import of ESM prettier-plugin-jsdoc
  • Need to wait when re-trying vscode
  • (Windows) Saving hotkey triggers scale hotkey
  • (Windows) Can't open another component in the file in Triplex, just noops
  • Save / save as commands inactive in VSCode File menu save commands get unexpectedly disabled when using a custom editor microsoft/vscode#219807
  • Save hotkey not working in Windows
  • Starting Triplex really quickly results in errors (Can't replicate)
  • Resolve layout bugs in panel
  • Inputs unable to be undo/redo/escape/enter
  • Undo/redo after saving is a bit janky
  • Playing through default camera doesn't hide controls
  • Prop type switcher misaligned for light args/color args/...
  • Union input descriptions missing
  • Open a scene in triplex, Quickly close it, Open it again, can't open triplex anymore
  • Fix x-file modification (e.g. child of a component) not being able to be saved (but being counted as modifying the current open file instead of the actual file)
  • Undo/redo can get into invalid state where VS Code raises an error saying an undo is already in progress (no replicate)
  • Re-opening a quit vscode session opens the scene but not the component
  • Updating element visibility in materials results in the selection being lost
  • Can't undo/redo changed performed in code editor through Triplex editor
  • When waking from sleep the Vite never reconnects
  • Sentry might be broken in prod
  • Resetting loses track of the selected scene object (but remains "selected")
  • When focused in editor pressing camera modifiers don't get set
  • When in "double click" tab mode (double click on a tab in vs code), clicking into the Triplex webview makes the camera rotate bonkers for a sec
  • Duplicate element should focus on the new element
  • Fix global provider HMR
  • Forward glsl/console errors to vsce output/error notification
  • Playing a scene then stopping resulting in an error
  • Long running sessions have a tendency to lose track of elements resulting in an invariant thrown

Questions from Ecosystem

These should be documented and/or written into blogs.

  • How to zoom to selected element?
  • How to get logs
  • How to disable Triplex for non-3d/Triplex projects?
  • How to view VSCE developer tools
  • Projects that have a parent package json somewhere affecting things
  • Simpler examples (no pnpm / tsx)
  • How to use with framer motion
  • How to use with theatre js

Feature

  • Name prop on custom components being honored by the element panel
  • Click through already selected mesh to select another inside it
  • Unbounded transform control
  • Change default lights
  • Explicit error/resolution for required props
  • Change default transform step to 0.001
  • Move from view cube to axis helper
  • Custom default lights
  • Improve rotation prop support via Math.PI / division
  • Z-up setting
  • Grid settings

Out of scope

These features won't be added to the extension.

  • Reorder elements
  • Add element panel
  • Enter element
  • Installing / managing node module dependencies
  • Custom names for custom editor tabs in vs code (not possible)
@itsdouges itsdouges added the New feature New feature or request label Jun 27, 2024
@itsdouges itsdouges changed the title Vsce mvp todo list Vsce features Jun 29, 2024
@itsdouges itsdouges changed the title Vsce features Vsce road to release Jul 7, 2024
@itsdouges itsdouges pinned this issue Jul 14, 2024
@itsdouges itsdouges changed the title Vsce road to release Triplex for VS Code Oct 1, 2024
@itsdouges itsdouges changed the title Triplex for VS Code Triplex for VS Code Public Release Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant