Description
Version
3.0.11
Reproduction link
Steps to reproduce
- unicode is is not retained in the base64 encoding/decoding of the url
use ✅ (U 2705) in the code, copy share link and open in new tab. the opened sandbox will no longer have the unicode char
-
changing active file, while typing, may not save changed made to the previous active file.
will be more prominent if delay of debounce is increased. -
due to low debounce delay, error message jumps back to quickly, while making changes
this is a problem when the window height is low, and the red error box keep covering the editing area.
in addition the low debounce mean more cpu usage while typing and editing code. -
selecting a vue version is not retained in the shared link
creating a link while working with vue 3.0.10 will be opened with the current version@03ae300
it also not retained if the user select a version and refresh the page. -
shared links can be quite large, allow for compression.
-
console.clear called every sandbox refresh. removed historical logs.
remove the clear call and allow the developer to clear manually if they want to.
What is expected?
- unicode is retained
- changing active file should not be possible while debounce is in progress
- make error less intrusive (allow hiding errors )
- selected version should be part of the shared url
- url should be more compact, which can be achieved with compression , but also be compatible with urls that were generated uncompressed.
- refresh of sandbox should not clear the whole console.history. alternatively each sandbox logs can be in a console.group.
What is actually happening?
.
POC
version locked to 3.0.10
uncompressed ( will be upgraded once opened )
https://sfc-vue3.netlify.app/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+e3sgbXNnIH19PC9oMT5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXA+XG5jb25zdCBtc2cgPSAnSGVsbG8gV29ybGQhJ1xuPC9zY3JpcHQ+In0=
compressed ( with unicode example )
https://sfc-vue3.netlify.app/#/s/eyJ2IjoiMy4wLjEwIiwidCI6IjEiLCJkIjp7IkFwcC52dWUiOiI8dGVtcGxhdGU+XG4gIDxoMT57eyBtc2cgfX08L2gxPlxuPC/LI1xuPHNjcmlwdCBzZXR1cD5cbmNvbnN0xTI9ICfinIUgSGVsbG8gV29ybGQhICfEQMYyPiJ9LCJj5QCGfQ==