Skip to content

Make descriptorsystem inherit from Runtime - #567

Merged
jkarni merged 5 commits into
masterfrom
jkarni/fix/descriptorsystemruntime
Aug 12, 2013
Merged

Make descriptorsystem inherit from Runtime#567
jkarni merged 5 commits into
masterfrom
jkarni/fix/descriptorsystemruntime

Conversation

@jkarni

@jkarni jkarni commented Aug 2, 2013

Copy link
Copy Markdown

Descriptors also need a runtime.render method.
Switch to studio_view

[STUD-515]

@jkarni

jkarni commented Aug 2, 2013

Copy link
Copy Markdown
Author

@cpennington @sarina

@cpennington

Copy link
Copy Markdown
Contributor

I would just include this in the PR that actually uses the render method.

@jkarni

jkarni commented Aug 2, 2013

Copy link
Copy Markdown
Author

Fair enough - there it is. I imagine wrapping content around a constant function while we don't yet make the switch to the wrap_xmodule alternative is the way to go?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, to keep things separated the way we want them to end up, I would set component.get_html = wrap_xmodule(component.get_html, component, 'xmodule_edit.html') before the call to render_to_response and then 'editor': component.runtime.render(component, None, 'studio_view').content in the call to render_to_response. That way, when we later replace wrap_xmodule with an implementation of wrap_child in the runtime, we'll only have to change the line that replaces get_html, rather than having to rewrite both places.

@jkarni

jkarni commented Aug 6, 2013

Copy link
Copy Markdown
Author

@dianakhuang ? Cale's out

@dianakhuang

Copy link
Copy Markdown
Contributor

I would suggest that @nedbat review this instead of me.

@cpennington

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@sarina

sarina commented Aug 9, 2013

Copy link
Copy Markdown
Contributor

👍

jkarni pushed a commit that referenced this pull request Aug 12, 2013
Make descriptorsystem inherit from Runtime
@jkarni
jkarni merged commit a7568fb into master Aug 12, 2013
@jkarni
jkarni deleted the jkarni/fix/descriptorsystemruntime branch August 12, 2013 19:06
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
…dulestores

Eagerly load modulestores on server startup
e-kolpakov referenced this pull request in open-craft/openedx-platform Dec 4, 2015
caesar2164 pushed a commit to caesar2164/edx-platform that referenced this pull request Jan 24, 2017
…attutor_sha

Update StatTutor sha for 1/13 code
jfavellar90 pushed a commit to eduNEXT/edx-platform that referenced this pull request Apr 11, 2018
* FIX: key error

* Proversity/development (openedx#546)

* removing setting configure and rather setting setting module to lms

* try sys convert

* FIX: key error

* add changes to development branch (openedx#538)

* add changes to development branch

* comments

* remove mig file

* [ci skip] switcching to proversity fork of social auths

* [ci skip] fixing encoding

* [Development] Update clear course cache (openedx#542)

* FIX: key error

* update clear-course-cache to accept multiple courses

* [ci skip] reverting conftest

* Proversity/development (openedx#558)

ENH: bulk grades api to be granular
ENH: course order by
ADD: harambee custom backend SSO

* dynamically update release dates
dgamanenko referenced this pull request in raccoongang/edx-platform Jun 14, 2018
* FIX: key error

* Proversity/development (#546)

* removing setting configure and rather setting setting module to lms

* try sys convert

* FIX: key error

* add changes to development branch (#538)

* add changes to development branch

* comments

* remove mig file

* [ci skip] switcching to proversity fork of social auths

* [ci skip] fixing encoding

* [Development] Update clear course cache (#542)

* FIX: key error

* update clear-course-cache to accept multiple courses

* [ci skip] reverting conftest

* Proversity/development (#558)

ENH: bulk grades api to be granular
ENH: course order by
ADD: harambee custom backend SSO

* dynamically update release dates
mariajgrimaldi added a commit to eduNEXT/edx-platform that referenced this pull request Nov 5, 2021
JU-6: add support for openedx-events
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this pull request Nov 17, 2022
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants