Files
edx-platform/openedx/core
Kyle McCormick 12f63ddb55 refactor: extract save_xblock_to_user_clipboard Python API (#35027)
Previously, the logic for copying an XBlock's OLX to the clipboard
was directly in a POST view handler. This commit extracts it into a
Python API function.

In addition to following architectural guidelines [1], this change will
help me develop the Content Libraries Relaunch, as I need a way to
locally test library content reference via copy-paste while the UX for
it is still being developed.

[1] https://docs.openedx.org/projects/openedx-proposals/en/latest/best-practices/oep-0049-django-app-patterns.html
2024-07-01 15:43:29 +00:00
..
2024-05-28 13:02:16 +05:00
2024-05-25 18:05:28 +03:30
2021-04-01 21:58:29 -04:00