-
Notifications
You must be signed in to change notification settings - Fork 6
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
isEnabled: false doesnt disable the plugin #95
Comments
@tomallpress Thanks for raising this. I think What is the use case for allowing Dev Tools to be toggled on and off? Should we only allow the toggle if |
We had it like this so that we could hide devtools, to give the course to QA or the client, without uninstalling the devtools plugin. Devtools would still be accessible for those who knew and wouldn't require complete uninstallation in the development period. The plugin was then removed before sending the course to the client. What workflow is the property breaking that necessitates a change to this behaviour? |
We usually publish courses with Dev Tools installed but set to |
This file shows all of the ways to enable devtools when it is Typing Lines 35 to 37 in b8b77ca
Pressing Line 18 in b8b77ca
Running Lines 55 to 58 in b8b77ca
Visiting the url Lines 60 to 62 in b8b77ca
Touch screen, top left and top right tap hold: Lines 110 to 112 in b8b77ca
It is a very deliberate design choice, not an accident, that @chris-steele will need to give input |
If we don't want to remove this functionality, I like Tom's idea of creating a new option to just hide the button. Maybe call this
|
I'd like to see the functionality remain available via the 'secret' incantation as it is often very useful to invoke when testing from the front door, svn or even courses running on client systems. Perhaps the change can be that if |
What do you think of @tomallpress suggestion that
It sounds as though the ability to hide it and have it enableable is a reasonably useful and well used use-case? From my perspective, I think the result seem almost identical. The person releasing would have to know to change I think I'd prefer Tom's other suggestion:
Then everyone is clearer and we can carry on as usual? |
If disabling the plugin means that it cannot be re-enabled at runtime, yes, it would be far less useful to me.
From my point of view, again, absolutely. Today I have 'invoked' devtools several times. Just seen your latest comment, yes, I'd vote for the readme change. |
Also think about what may happen with a project months or years down the line when something needs to be resurrected. All of our devs & QA are trained to enable / disable devTools on final release. Even LD's need it when reviewing current and old content. It's so much easier for any Kineo staff member to be able to flip it on at any time. More than just technical people use this and I think we need to keep non-technical & non-developers into consideration on this because many find value in it.
|
This could be a crazy conspiracy theory, but we had an issue with a handful of learners finishing a course in 5 minutes when it should have taken them 30+ minutes. The audience for this course is highly technical, so it's possible they realized they could enable Dev Tools and cheat their way through the course. |
It is possible to complete any scorm course through the console without using devtools. |
5 minutes? If you know what to look for it should take seconds 😆 |
The readme states that
isEnabled
controls whether the plugin is enabled or not, but it seems to actually control whether the icon appears in the nav bar. IfisEnabled
is set tofalse
, the cog doesn't appear, but you can still use the shortcuts to show the cog, and then use it, suggesting it's not actually disabled.Suggest we could either:
isEnabled
just shows/hides the icon, and clarifying it doesn't actually disable the plugin.or
isEnabled
to enable/disable the plugin (for consistency with other plugins), and then a seperate control to show/hide the icon?What do people think?
The text was updated successfully, but these errors were encountered: