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 file player to fix khrj's workflow #981

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

kognise
Copy link
Member

@kognise kognise commented Mar 21, 2023

This adds a new route, /deprecated-file-player, which is a barebones player-only page that autoruns. It supports two URL parameters, file to load a file from URL, and watch to rerun when the file changes.

@khrj I recognize that this is more barebones than the original PR, but I wonder if this is enough to fix your workflow? If not, please let me know what you need.

Calling it deprecated because I don't want to encourage using this for anything except to un-break existing projects relying on the parameters you added in #644. I'm planning on likely removing this page if we publish an NPM package and make sure everything relying on this migrates over.

When merged this will fix #908.

@kognise kognise self-assigned this Mar 21, 2023
@vercel
Copy link

vercel bot commented Mar 21, 2023

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

Name Status Preview Updated
sprig ✅ Ready (Inspect) Visit Preview Mar 21, 2023 at 5:10PM (UTC)

Copy link
Member

@khrj khrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I haven't tested this in combination with the scripts, it seems functional by itself. This should be enough to fix the workflow. Thanks!

@grymmy grymmy merged commit 9918994 into main Mar 28, 2023
@grymmy grymmy deleted the kognise/deprecated-file-player branch March 28, 2023 13:41
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.

file, run, hide and watch URL params missing in the new editor
3 participants