Codesandbox-client: Feature Request: Add deep link to file

Created on 5 Sep 2017  路  5Comments  路  Source: codesandbox/codesandbox-client

It would be nice to be able to link directly to a file in my sandbox. This way I can control which file someone will see when they load the sandbox based on the link I give them.

馃 Improvement

Most helpful comment

In that case, it would be nice to have the URL update when I click on a file to make this feature is more discoverable :)

All 5 comments

Hmm, maybe we support this already if I'm not wrong. Here's an example:

https://codesandbox.io/s/new?module=/Hello.js

and with Module View turned on:

https://codesandbox.io/s/new?module=/Hello.js&moduleview=1

In that case, it would be nice to have the URL update when I click on a file to make this feature is more discoverable :)

Ah, yes. I've added this at the beginning of CodeSandbox, but it puts the simulated browser in an inconsistent state. There is maybe an option to fix it, we're discussing it here: https://github.com/CompuIves/codesandbox-client/issues/110

Thanks to @lbogdan this becomes possible now!

Closing as this appears to be implemented.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alansouzati picture alansouzati  路  3Comments

Haroenv picture Haroenv  路  3Comments

yazaabed picture yazaabed  路  3Comments

faceyspacey picture faceyspacey  路  3Comments

BingoRUS picture BingoRUS  路  3Comments