Skip to content

Conversation

@manan-memon
Copy link

No description provided.

@manan-memon manan-memon self-assigned this Sep 21, 2025
@Waleed-Mujahid
Copy link
Member

@manan-memon can we suggest these changes on upstream?

Comment on lines +183 to +189

if fields and 'display_name' in fields:
user = User.objects.get(id=user_id)
course_module = modulestore().get_course(destination_course_key, depth=0)
metadata = {u'display_name': fields['display_name']}
CourseMetadata.update_from_dict(metadata, course_module, user)

Copy link
Member

Choose a reason for hiding this comment

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

@muhammadali286 we need to make a decision here. We are adding a small patch of code here. We can either:

  1. Move this code to edly_features_app and import this as a util, reducing number of lines changed
  2. Keep small block of codes inside edx-platform for verbosity

Do you think it is worth it to move this code out of edx-platform

Choose a reason for hiding this comment

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

We can Keep it here with a detailed comment mentioning

  1. These changes are from edly
  2. Why do we need it
  3. What this piece of code is doing.

cc: @manan-memon

@manan-memon
Copy link
Author

manan-memon commented Oct 20, 2025

Closing this PR as the required changes are already reflected in upstream.
https://projects.arbisoft.com/project/edly-product/task/7684

@manan-memon manan-memon deleted the manan/EDLY-7684 branch October 20, 2025 07:10
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.

3 participants