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

Fix part of #19435: Learner group editor page migration #19761

Merged

Conversation

AFZL210
Copy link
Contributor

@AFZL210 AFZL210 commented Feb 16, 2024

Overview

  1. This PR fixes part of Migration of Individual Pages from Webpack/AngularJS to Lazy-Loaded Angular Modules #19435 .
  2. This PR does the following: Migrates the Learner Group Editor page from Webpack/AngularJS to Lazy-Loaded Angular Modules

Essential Checklist

  • The PR title starts with "Fix #bugnum: " or "Fix part of #bugnum: ...", followed by a short, clear summary of the changes.
  • I have followed the instructions for making a code change.
  • I have assigned the correct reviewers to this PR (or will leave a comment with the phrase "@{{reviewer_username}} PTAL" if I don't have permissions to assign reviewers directly).
  • The linter/Karma presubmit checks pass on my local machine, and my PR follows the coding style guide).
  • "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)

Proof that changes are correct

when user is a valid facilitator

Screencast.from.16-02-24.08.09.53.PM.IST.webm

logged out user

Screencast.from.16-02-24.08.25.51.PM.IST.webm

when the user isn't a valid facilitator

Screencast.from.16-02-24.08.27.05.PM.IST.webm

Proof of changes on desktop with slow/throttled network

N/A

Proof of changes on mobile phone

N/A

Proof of changes in Arabic language

N/A

PR Pointers

@AFZL210 AFZL210 requested review from a team as code owners February 16, 2024 14:59
Copy link

oppiabot bot commented Feb 16, 2024

Hi @AFZL210 please assign the required reviewer(s) for this PR. Thanks!

@DubeySandeep DubeySandeep removed their assignment Feb 17, 2024
@AFZL210
Copy link
Contributor Author

AFZL210 commented Feb 17, 2024

@DubeySandeep addressed all comments, but this comment though it is handled 100% as BLOG_AUTHOR_PROFILE_PAGE also has an extra param but I didn't find the exact reason why it's working.

@DubeySandeep
Copy link
Member

@kevintab95 Can you please review this PR?

Copy link
Member

@kevintab95 kevintab95 left a comment

Choose a reason for hiding this comment

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

Thanks @AFZL210! Left a comment. PTAL

Comment on lines -29 to -36
<script>
// Use the normal default browser eventlistener without passive
// set to false.
// TODO(#10749): Remove workaround for passive event listeners when
// jQuery supports it.
EventTarget.prototype.addEventListener = (
EventTarget.prototype.addEventListener._original);
</script>
Copy link
Member

Choose a reason for hiding this comment

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

Should we add this in the migrated HTML? Like in

<script>
// Use the normal default browser eventlistener without passive
// set to false.
// TODO(#10749): Remove workaround for passive event listeners when
// jQuery supports it.
EventTarget.prototype.addEventListener = (
EventTarget.prototype.addEventListener._original);
</script>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

although I don't have much idea about this, looking at the issue and the explanation for this in the previous PR, I believe we should add this.

@kevintab95 kevintab95 removed their assignment Feb 21, 2024
@DubeySandeep
Copy link
Member

@AFZL210 Would you like to pick one more issue from #19435 while we work on getting this PR reviewed and merged?

@AFZL210
Copy link
Contributor Author

AFZL210 commented Feb 22, 2024

@AFZL210 Would you like to pick one more issue from #19435 while we work on getting this PR reviewed and merged?

Sure

@kevintab95 kevintab95 added this pull request to the merge queue Feb 22, 2024
Copy link

oppiabot bot commented Feb 22, 2024

Unassigning @kevintab95 since they have already approved the PR.

@oppiabot oppiabot bot added the PR: LGTM label Feb 22, 2024
Copy link

oppiabot bot commented Feb 22, 2024

Hi @AFZL210, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to ask someone to merge your PR once the CI checks pass and you're happy with it. Thanks!

Merged via the queue into oppia:develop with commit e979bb1 Feb 22, 2024
70 checks passed
@AFZL210 AFZL210 deleted the fix19435-migrate-learner-group-editor branch February 22, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants