Skip to content

Very basic UI for Upstream Sync with Content Library Blocks - #16

Closed
bradenmacdonald wants to merge 5 commits into
kdmccormick:kdmccormick/upstream-protofrom
open-craft:braden/sync-icons
Closed

bradenmacdonald wants to merge 5 commits into
kdmccormick:kdmccormick/upstream-protofrom
open-craft:braden/sync-icons

Conversation

@bradenmacdonald

Copy link
Copy Markdown

Description

Implements openedx/frontend-app-authoring#1338 and part of openedx/frontend-app-authoring#1341 . Depends on openedx#34925 .

This PR displays an icon when content comes from a content library (see on the left):

Screenshot

Or if the link is broken, it says that:

Screenshot

And when an update is available, it displays a working "Update" button

Screenshot

It does not yet have a modal to allow you to accept/reject/preview the changes. This is just a developer tool at the moment.

Note: these icons are temporary - I'm waiting to get the correct icons as SVG.

Testing instructions

  1. Change this line to link_to_upstream=True,
  2. Copy an XBlock from a content library and paste it into a course.
  3. Make changes to the block in the library and test the syncing.

Deadline

ASAP - before Sumac.

@bradenmacdonald

Copy link
Copy Markdown
Author

@kdmccormick FYI. Also: nice work on your PR! You have the data available so nicely, it was trivial to implement this first stab at the UI.

@bradenmacdonald

Copy link
Copy Markdown
Author

@rpenido FYI

@bradenmacdonald

Copy link
Copy Markdown
Author

I have updated the icons to the ones specified in openedx/frontend-app-authoring#1335

@kdmccormick
kdmccormick force-pushed the kdmccormick/upstream-proto branch 5 times, most recently from 0fec922 to 8de8b45 Compare October 9, 2024 17:05
@kdmccormick
kdmccormick force-pushed the kdmccormick/upstream-proto branch from 8de8b45 to 4eab85e Compare October 9, 2024 17:57
@kdmccormick
kdmccormick force-pushed the kdmccormick/upstream-proto branch from 4eab85e to 5179a8f Compare October 11, 2024 15:44
@kdmccormick

Copy link
Copy Markdown
Owner

Manually merged into openedx#34925

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.

2 participants