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

Should be able to force a full rebuild of a course #1497

Closed
simondate opened this issue Feb 3, 2017 · 4 comments
Closed

Should be able to force a full rebuild of a course #1497

simondate opened this issue Feb 3, 2017 · 4 comments
Assignees
Labels
I: minor Low, impact, low priority bugs S: merged Completed, reviewed, and merged issues T: enhancement Adding additional functionality

Comments

@simondate
Copy link
Member

When updating a plugin for an existing course it would be nice to have a force-rebuild button that rebuilds all the CSS + JS. At the moment I have to add a random extension and remove it everytime to make the Authoring Tool rebuild fully.

@taylortom taylortom self-assigned this Feb 4, 2017
@taylortom
Copy link
Member

taylortom commented Feb 4, 2017

👍 A slightly better way to do this is to just go into the theme picker and click save.

I've done something like this in the Kineo fork, will dig it out and submit a PR. Basically you command/ctrl click the standard preview button to force a full rebuild.

However, I think this is only a temporary solution; the real problem here is that the build process is very basic in the way that it chooses between a basic and full build.

Side-note: I think we need to get to a place where preview uses an 'instant build', and the full build is only run on download/export. This being said, I don't think this is possible using the current framework set-up (particularly the way we use require).

@simondate
Copy link
Member Author

It would be nice if there were some kind of 'developer-mode' that can be enabled for certain accounts (maybe super admins) that have access to advanced features that are only required by developers/system admins.

@taylortom
Copy link
Member

@simondate I've set up a 'super toolbar' in the Kineo code which adds a toolbar to the top of the main window for super admins only, and can house any kind of functionality. See here for code: https://github.com/cgkineo/adapt_authoring/tree/staging/frontend/src/plugins/superToolbar

I'm not sure how I feel about this kind of thing in the open-source code though, feels a bit hacky.

@simondate
Copy link
Member Author

Is there a way to automate this?

If any version change has occurred rebuild the course?

@lc-thomasberger lc-thomasberger added T: enhancement Adding additional functionality I: minor Low, impact, low priority bugs labels Nov 9, 2018
@lc-thomasberger lc-thomasberger added this to the 0.7.0 Loose ends milestone Nov 9, 2018
@lc-thomasberger lc-thomasberger added the S: merged Completed, reviewed, and merged issues label Feb 11, 2019
@taylortom taylortom changed the title Force full rebuild button Should be able to force a full rebuild of a course Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: minor Low, impact, low priority bugs S: merged Completed, reviewed, and merged issues T: enhancement Adding additional functionality
Projects
None yet
Development

No branches or pull requests

4 participants