adapt_authoring icon indicating copy to clipboard operation
adapt_authoring copied to clipboard

integrate devtools into preview

Open lc-thomasberger opened this issue 7 years ago • 6 comments

Affected Area

Course Preview

Requested Feature

Integrate some features from adapt-devtools into the preview window.

Use Case

  • Disable trickle
  • Jump to Element
  • Solve Assessment or Questions
  • Mark optional components

Current Workaround

One must enable the plugin manually and make sure it is removed once the course is deployed.

lc-thomasberger avatar Dec 06 '17 15:12 lc-thomasberger

This is something that I think would work well as a plugin. Need to look into what we need to do to get this working that we can't do now

taylortom avatar Dec 08 '17 11:12 taylortom

What would this add that just installing dev tools would not?

canstudios-louisem avatar Dec 13 '17 09:12 canstudios-louisem

In my opinion: none, it just brings workflow improvements.

This being said, it'd be very nice to avoid the annoyance of having to enable/disable for each course, and to potentially add some other AT-specific features.

If we can do this as an installable plugin, then it doesn't need to be something that goes into core.

taylortom avatar Dec 13 '17 13:12 taylortom

My concern would be that preview would no longer show exactly what the course will look like. Its also worth pointing out dev tools is not an adapt_authoring extension so if we were to do this we may want to fork or move it to contrib.

canstudios-louisem avatar Dec 13 '17 13:12 canstudios-louisem

When we trigger a global event with a handle to the previewWindow, Plugin authors can hook into and inject scripts into the preview Window.

lc-thomasberger avatar Dec 20 '17 08:12 lc-thomasberger

We all agree that, preview and some kind of live editing functionality is missing in the current versions. In my opinion the devtools offer some very interesting and powerfull concepts that can improve a course authors workflow and experience. therefore I think we should think about adding some concepts from this plugin into the core.

@canstudios-louisem we can add a button that loads the plugin only when requested. So sideeffects should be rather low.

lc-thomasberger avatar Dec 20 '17 08:12 lc-thomasberger