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: allow download of program record even when segment is blocked #2360

Conversation

deborahgu
Copy link
Member

@deborahgu deborahgu commented Jan 24, 2024

we were assuming that segment was always being permitted from the browser side, but segment is blocked by every single privacy built in, including strict tracking protections in the browser. Allow download of the record in that case.

FIXES: APER-3164

Run JavaScript tests locally with Karma

There is work being done on a fix to get Karma to run in CI. Until then, however, contributors are required to run these tests locally.

  • Make sure you are inside the devstack container
  • Run make test-karma
  • All tests pass

we were assuming that segment was always being permitted from the
browser side, but segment is blocked as every single privacy built in,
including strict tracking protections in the browser. Allow download of
the record in that case.

FIXES: APER-3164
linter

FIXES: APER-3164
linter

FIXES: APER-3164
["Learner Name", record["learner"]["full_name"]],
["Username", record["learner"]["username"]],
["Email", record["learner"]["email"]],
["Program Name", program.get("name", None)],
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for this. Definitely should make it more robust/resilient. 👍

Copy link
Contributor

@justinhynes justinhynes left a comment

Choose a reason for hiding this comment

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

Looks like a good change! Thanks for your work on this.

@deborahgu deborahgu merged commit 8ece419 into master Jan 25, 2024
6 of 9 checks passed
@deborahgu deborahgu deleted the dkaplan1/APER-3164_download-program-record-needs-to-work-when-segment-is-blocked branch January 25, 2024 15:23
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