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

integrate devtools into preview #1813

Open
lc-thomasberger opened this issue Dec 6, 2017 · 6 comments
Open

integrate devtools into preview #1813

lc-thomasberger opened this issue Dec 6, 2017 · 6 comments
Labels
T: enhancement Adding additional functionality transfer

Comments

@lc-thomasberger
Copy link
Member

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 lc-thomasberger added the T: enhancement Adding additional functionality label Dec 6, 2017
@lc-thomasberger lc-thomasberger added this to the 0.?.0 Preview 2.0 milestone Dec 6, 2017
@taylortom
Copy link
Member

taylortom commented Dec 8, 2017

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

@canstudios-louisem
Copy link
Contributor

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

@taylortom
Copy link
Member

taylortom commented Dec 13, 2017

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.

@canstudios-louisem
Copy link
Contributor

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.

@lc-thomasberger
Copy link
Member Author

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
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: enhancement Adding additional functionality transfer
Projects
None yet
Development

No branches or pull requests

3 participants