-
Notifications
You must be signed in to change notification settings - Fork 177
Add a playground group in the group list #914
Comments
I really like the idea! A couple of questions though.
Therefore, I am unsure if it wouldn't be easier to just deploy a demo version of karrot to demo.karrot.world and add a demo user (or multiple ones) there, since the demo user cannot mess with the production database then. The database could also be copied and replaced to the original then from time to time. If you feel confident to prevent the demo user from changing non-demo data though, I am happy either way. |
Oh, very good points you have there, @D0nPiano!
I'd love to have the playground directly in production, so that the demo experience is closest to what actual users have. That's also why I'm more in favor of this solution than linking to dev.karrot.world and giving out foo for testing purposes. I think it could confuse some users... |
Yeah, makes sense. I just usually think I can't destroy anything when I am on a demo page, wherefore I just click around randomly. Especially because you are anonymous as a demo user and don't even have to provide an email address for signing in. I think having it translatable is just as complicated as adding a yellow frame. The playground group should probably be named "Playground", and the vue store could then filter out the group and do something like
Furthermore, the demo user should also be special (also a special name? or another special attribute?). This could open possibilities like disabling buttons if it is the current user
...it's not a perfectly safe solution (since not done in backend) but would still be good enough I think. And I can see your point why it would be nicer in production. |
Good idea! |
A script could reset the playground group + users to a certain state periodically. So, kick the playground users out of any other groups they wandered into, kick any other random users out of the playground group, and set the data back sensible defaults. |
With "playground user", do you mean predefined users with predefined password? I would find it nice if I can join the playground group with my personal user account and not getting kicked out of my other groups ;) |
So I renamed group 16 to PLAYGROUND and wrote encouraging things in the description. How about a login? I guess a special demo user would need to be created in the backend..? |
I'll add a group |
I'll implement the playground group into the frontend. It will
Backend-related changes:
|
#960 is ready for review :) |
Playground group is in place, let's see how it turns out. I would close this issue now. We can open another one for the playground user if we want. |
Right now the group list is the landing page. Probably a lot of people come to karrot.world and just want to try it out. It would be great if they didn't have to create an account, or if they wouldn't randomly join open groups. My proposal is the following:
Any resistance to me tackling this?
The text was updated successfully, but these errors were encountered: