-
Notifications
You must be signed in to change notification settings - Fork 22
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
Local script development #45
Comments
Generally I'm supportive of the idea. Yes, the screenshots should be updated and a video/gif may be added. The article is indeed outdated and may be improved, even though technically it's still correct. The process is simpler now in Firefox i.e. you don't need to install a web server, but simply keep the original file:// tab open in addition to the installer tab. But I don't think removing the favorite editor part has any value. Maybe it can be rephrased. Its purpose is to explain you don't have to suffer using the editor inside the extension.
What do you mean specifically? Please elaborate. |
As a side-note I looked at how that whole page works. Serendipitously it's written with vue, which is my preferred front end thing, so I could easily navigate the code. Because I was curious why my script wasn't updating when I ran it off my own server. After all whether it's This would be an issue with the extension itself, but I would probably rename the checkbox to "Track local file changes while this window is open." with like an ℹ that tells you exactly what local means. Cuz seeing the source of the script one might reasonably conclude any url would work. But it don't. Or... perhaps redesign how the interactions on that page work - after all the check boxes are mutually exclusive. [Install and close window] After all you cannot edit the script on that page and there is no reason to remain on that page beyond those two mutually exclusive user actions. Should I open this as an issue in the VM repo? Also the question remains - write new article or edit the old one? |
The article may start with a very concise list of actions, probably separate for Chrome and Firefox:
Then maybe two gifs, for Chrome and Firefox. As for the extension's UI, we should probably show this list when "Use another editor" link is clicked inside the editor so that the info is available without a network connection. There'll be of course a link to the full article. I also like the idea with buttons. Maybe The button to install and keep the tab open should remain for compatibility. AFAIK, currently we don't implement @gera2ld, WDYT? |
Yea, exactly, a list of explicit steps based on browser that would be easy to follow. Some notes:
|
No, |
The blog has this article: How to edit scripts with your favorite editor?
However I found it quite confusing - it took me a long time to figure out how to get VM to sync. And quite weird - why do we need to be told you can edit javascript with your favourite editor?
Would there be interest in rewriting and updating it? Or perhaps writing a completely new article, and leaving the old one in place.
I was considering doing that - but I don't want to start if the PR is just going to be rejected after I've done all the work.
To give an outline of how I'd update it:
@require
option for local development.Would such contribution be welcome?
And what would be the preferred way - write a completely new article, or change/rewrite the old one?
The text was updated successfully, but these errors were encountered: