Web app behaviour closer to a code playground #7607
Replies: 5 comments 1 reply
-
For reference this is the Codepen experience, which I find to be spot on:
|
Beta Was this translation helpful? Give feedback.
-
Eventually the web app should be parity with the desktop app, but would require a cloud FS or similar, which is probably not worth our attention atm, so Id like the idea of fiddle and making the clear to the user. Though recently I have been thinking we should support multiple files in the web app (but probably not nested dirs, or multiple projects). Because if we have multiple files then the only things that the web app doesn't have is 1) projects, and 2) import meshes etc. But not having multi-file is hurting showing off imports and therefore assemblies, and by extension hurting TTC since it's going to want to create multiple files depending on the prompt. I'm just saying this because you mentioned multiple files above and I second it for sure. |
Beta Was this translation helpful? Give feedback.
-
I think we can do multiple files in the current state of the web application to enable more workflows. No nested dirs, everything is in the same folders. I think the technical idea of a fiddle makes sense. I honestly hate every single fiddle/code pen UI I've ever used in my life. I honestly do not think anyone who made fiddles has ever used an IDE. I don't know how someone when from an IDE experience to 4 boxes that are awful to view and click into and write real code. |
Beta Was this translation helpful? Give feedback.
-
@nadr0 I can definitely relate to that second part of your message. Not suggesting the UI changes for us as a "fiddle," simply the way we store and access files (aka moving from link store to file store) |
Beta Was this translation helpful? Give feedback.
-
We might consider an interface like Web Intents to model the possible interactions between: Website ("Embedded" TTC), TTC Generator, ZDS Web, and ZDS Desktop. Even without following the formal specification, documenting all query parameters on a single page could also be helpful, like these examples: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This ticket will serve as a meta-issue to outline a path towards a more sensible scope for the web app and url.zoo.dev links.
Context
There currently isn't a clear line drawn between what the web version of Zoo Design Studio should accomplish for us and for our users, versus the more complete and more capable desktop version. A Slack conversation started about whether or not url.zoo.dev links should overwrite the current buffer in the web app, or if they should use the new temporary buffer instead. This brought up in question the current implementation for links with the model contained in the URL and the related known issues eg. #6200.
The current implementation of the web app for code storage uses the browser
localStorage
, which means we're able to keep some user data across multiple sessions, but only on the same machine and on the browser and browser profile, and we don't support multiple instances at the same time. This has led to confusion even among us, and the running assumption is that nobody is using the web app for anything meaningful today.Path forward
The conversation landed on a cross-team effort to make the divide clearer between the web app and the desktop app, but more importantly make the user experience more aligned with typical SaaS product expectations.
The end goal would be as such:
localStorage
. This means url.zoo.dev links aren't a frozen copy anymore, but pointers to a piece of KCL in a database that may change over timeStretch goals:
Note: @KittyCAD/frontend team, this is a first draft, feel free to edit!
Beta Was this translation helpful? Give feedback.
All reactions