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

feat: add lms_user_email and content_tile to Transactions #40

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

johnnagro
Copy link
Contributor

@johnnagro johnnagro commented Oct 24, 2023

Description:

  • Add optional lms_user_email and content_tile fields to Transactions.
  • Setup the project with make test-shell cribbed from edx-enterprise

In support of:

@johnnagro johnnagro force-pushed the johnnagro/ENT-7867/0 branch 2 times, most recently from 124d699 to 00cd171 Compare October 24, 2023 19:45
@@ -353,6 +363,16 @@ class Meta:
"The globally unique content identifier. Joinable with ContentMetadata.content_key in enterprise-catalog."
)
)
content_title = models.CharField(
max_length=255,
Copy link
Contributor

Choose a reason for hiding this comment

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

This may be too short for content titles.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

db_index=True,
help_text=(
"The email of the Open edX LMS user record with which this Transaction is associated."
"The email is captured at the time the Transaction is created may not be up to date."
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: missing "and" in "Transaction is created may not"?

db_index=True,
help_text=(
"The title of the content associated with this Transaction."
"The title is captured at the time the Transaction is created may not be up to date."
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: missing "and"?

@@ -0,0 +1,25 @@
# Docker in this repo is only supported for running tests locally
# as an alternative to virtualenv natively - johnnagro 2022-02-11
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 2023-10-24

Copy link
Contributor

@macdiesel macdiesel left a comment

Choose a reason for hiding this comment

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

Thanks for the testing container.

@johnnagro johnnagro force-pushed the johnnagro/ENT-7867/0 branch from 6d24559 to 6a164fa Compare October 24, 2023 20:05
@johnnagro johnnagro merged commit afe5689 into main Oct 24, 2023
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