-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Figure out how to test the plugin: GH Page, separate site, or both? #655
Comments
It'd require more work, but I think it would be nice to set up a version allowing public access without needing login credentials (without any save support). This could serve to hold us accountable to ensuring the editor is portable and not tied to any specific context. Related:
|
Could we use this http://poopy.life/ for a quick and easy WP site? |
I thought about this just earlier today and found this issue, great! I decided to try an approach for this and have setup a website that could be used for testing at: https://testgutenberg.wpkonsulterna.se/ also created this shortlink that can be used to simplify sharing: I have no problem mapping it towards another domain if that is preferred. The website is a standard WordPress install setup which is using the plugin Autologin Links by Paul Konstantin Gerke (https://wordpress.org/plugins/autologin-links/) to provide the possibility to login as a WordPress user only using a generated login token. You are being logged in as a already created user who have the role Author and are being sent to the Gutenberg page which have a pre-generated post which you can start edit and save as a draft. I have 2 thoughts though:
|
This seems to work great @j-falk! Thanks so much for setting this up!
@youknowriad do you know if we can do something here?
I think for the near future we'll probably have to do it manually. But we can probably keep updates to the tagged releases, which we plan to start doing sometime this week. |
Can't we just initialise the editor on https://wordpress.github.io/gutenberg/? |
I guess this goes back to @aduth's comment
|
This would show without the admin, right? Since we're actually able to show it in admin context, I think it'd be good to. |
Yeah, it would. I'd argue that if you want to see it in context, install the plugin. I'm not sure we want to user test the context? I also like the idea that the editor could be used stand alone (e.g. as a React component). |
I'm not a testing expert, but I feel like seeing the new editor in context of actual WordPress makes it "real" in a way it doesn't without it. I would guess this would affect test results.
I like that too — and your idea isn't bad. Just not sure it's the best for usertests. |
Yes, "edit_posts" seems more "logic" to me. Easy change, I wonder why it's "manage_options" in the first place. |
Let's make the edit_posts change and embrace @j-falk gracious setup of a testing site for now. |
Closing this as fixed, since the edit_posts change has been merged. @j-falk do you have all you need? |
I have all I need, I just uploaded the latest version to the site and I guess I can do it manually like this when there are new versions. How often should I update the plugin you think? Once a week? |
Reopening for discussing in light of new ideas. |
There has been some suggestions that we remove the old prototypes, and instead add a built version of the editor running there. This does not necessarily preclude others from hosting it in wp-admin, and the approach is not yet fully fleshed out, hence the reopening. |
Would be cool if https://wordpress.github.io/gutenberg/ has the editor on the whole page. |
Seems like we might want to close this in favor of #953? |
Closing in favor of #953. |
In order to facilitate user tests, we need an easy way to test the plugin, so @karmatosed and others run tests. Two ideas have been suggested:
GH Page:
We archive the prototypes (move to separate repo? archive elsewhere?) and run the editor, with a fake wp-admin around it.
Separate site:
@j-falk has an excellent option for testing in the wp-admin context: #655 (comment)
The text was updated successfully, but these errors were encountered: