Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editor snippets #38

Merged
merged 10 commits into from
Aug 24, 2024
Merged

Add editor snippets #38

merged 10 commits into from
Aug 24, 2024

Conversation

yuridev24
Copy link
Contributor

@yuridev24 yuridev24 commented Aug 19, 2024

Like a CCS playground.

  • You can create snippets and use editor as before
  • (NEW) You can click 'save' button to make your snippet in a sharable link to share your script or re-open it later!
  • Anyone with the link can view the script but not modify it/delete it (if they edit, they won't be saved but if they click Save button, a new snippet or link will be generated).

For this to work, I dmed @thetrouper to add these environment variables to Vercel first. (if you add them after merging PR, trigger a new commit/deployment so it show up on website).

try before you merge: https://clickcrystals.vercel.app/editor/WWgfFawUcQ (you will see my snippet but yeah whatever u write there lmao)

yuridev24 and others added 8 commits August 19, 2024 21:08
- remade layout of editor because middle column kept getting smaller
- changed color of Publish button
- added Save button and implemented supabase
ok god damn i just realized I had leaked the credentials. Dw, I resetted the credentials so the new credentials are on my .ENV
Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clickcrystals-xyz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 1:52pm

@yuridev24
Copy link
Contributor Author

And some little changes aswell. Your preview probably won't work till you don't add environment variables

@ItziSpyder
Copy link
Collaborator

Great pull request, I'll just wait for @thetrouper to edit the environmental variables first.

@thetrouper
Copy link
Owner

I hope you realize that these pull requests are all public, you just shared the database key to everyone. Please change it and DM it to me on discord.

@yuridev24
Copy link
Contributor Author

Ok wait.

@yuridev24
Copy link
Contributor Author

I dmed @thetrouper with the new URL and Key.

@ItziSpyder
Copy link
Collaborator

I dmed @thetrouper with the new URL and Key.

can you also dm me the new URL and key

@devashish2024
Copy link
Contributor

bump
@thetrouper @ItziSpyder

@I-No-oNe
Copy link
Contributor

What is going on with this pr?

@thetrouper thetrouper merged commit 323f250 into thetrouper:main Aug 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants