* added code for sandpack console
* add log
* added console for older bundle
* Revert "[beta] Sandpack - new bundler (#4458)"
This reverts commit 3ab1245314.
* adds proper console and removes new bundle
* modify styles
* remove unwanted code
* nit
* fix types (#4677)
* update console
* little nits
* remove unwanted code changes
* update bundler URL
* use `message.firstLoad` for clearing console
* use `refresh` event to clear logs as well (used when going away and coming back to sandpack)
* remove padding for code blocks inside console
* small UI revamps
* change p to div since the sandpack comes inside the p, add try catch and a try catch for the catch again
* tweaks
* Fixes
* Reset unrelated changes
* tweaks
* fix
* fixes
* oops
* Fix
* fix
Co-authored-by: Danilo Woznica <danilowoz@gmail.com>
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add loading indicator to sidebar links
* fix clicking on same route whould show indicator
* maybe final?
* handle routeChangeError as well as cleaning up timeout
* clearing timeout before creating one instead of routeChangeError
* rm unused
* add license header
* Update usePendingRoute.ts
Co-authored-by: dan <dan.abramov@gmail.com>
The Text "Click me" in the button confuses first-time users because it forces them to actually click on the button in the live demo but it does nothing. By changing the text, we can control the user behavior as they don't expect anything on that click.
* added sandpack linter and installed latest sandpacl
* integrate eslint into Sandpack
* Format the linting errors, disable preview on lint error, have only two react hooks
* fixes build
* split eslint-integration
* fix tooltip text color, error rename to 'Lint Error', show single lint error
* NIT
* Just enable it
* Delete eslint.md
Co-authored-by: Strek <ssharishkumar@gmail.com>
Co-authored-by: dan <dan.abramov@gmail.com>