codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.03k stars 2.27k forks source link

feat: add a "Go to Dashboard" button to /s #8301

Closed CompuIves closed 7 months ago

CompuIves commented 7 months ago

Noticed that people can get lost when they get redirected to the "Create Sandbox" modal, with this change we do give them a way to go to the dashboard:

image
codesandbox[bot] commented 7 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview
CompuIves commented 7 months ago

Yeah that's interesting, so in this case, the user wanted to go create an account from the homepage immediately. So they pressed "Get started" from the homepage and got here, but they wanted to be in the dashboard to sign up and create a workspace. So I think this is especially useful for anonymous users.

On Tue, Jan 30 2024 at 8:50 AM, Alex Moldovan < @.*** > wrote:

Isn't /s mostly used by anonymous users? we should check if the user is signed in and only then show the link maybe?

— Reply to this email directly, view it on GitHub ( https://github.com/codesandbox/codesandbox-client/pull/8301#issuecomment-1916254510 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAEPKCHD4ZO6FJUBD47NV6TYRCQ3RAVCNFSM6AAAAABCQCCND2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGI2TINJRGA ). You are receiving this because you authored the thread. Message ID: <codesandbox/codesandbox-client/pull/8301/c1916254510 @ github. com>

alexnm commented 7 months ago

In that case why not send the user from the website to the dashboard directly? so they go through the sign in. I remember we talked about not encouraging anonymous usage as much.

CompuIves commented 7 months ago

Yeah hmm, I think we should still give people the opportunity to explore the editor/product before putting in a sign in wall. That's also why I was wondering if we could allow people to open the editor of devbox templates without signing in.

On Tue, Jan 30 2024 at 9:04 AM, Alex Moldovan < @.*** > wrote:

In that case why not send the user from the website to the dashboard directly? so they go through the sign in. I remember we talked about not encouraging anonymous usage as much.

— Reply to this email directly, view it on GitHub ( https://github.com/codesandbox/codesandbox-client/pull/8301#issuecomment-1916274293 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAEPKCFZCTHBBJG6QDHV6X3YRCSQ3AVCNFSM6AAAAABCQCCND2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGI3TIMRZGM ). You are receiving this because you authored the thread. Message ID: <codesandbox/codesandbox-client/pull/8301/c1916274293 @ github. com>

alexnm commented 7 months ago

ok, sounds good

maybe in the future we can differentiate some of the CTAs on the website, like have one for trying out the product (sounds very weird when typing it :D) and another CTA for sign up / sign in.

CompuIves commented 7 months ago

Yeah, I agree. Good idea!