-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 #13162: StateHitEventHandler #14326
Conversation
…ppia#14263) * Revert "Revert "Fix part of oppia#9749: Create a component that shows rte-output-display and use it instead of angular-html-bind. (oppia#13229)" (oppia#13361)" This reverts commit 792de45. * Fix issues * Fix spelling mistakes in comment * Merge with upstream/develop * Address review comments: 1. Move oppia-rte-output.spec from the list of ignored files for innerHTML check in eslintrc and move to inline disables. 2. Change the CODEOWNER listing from oppia-rte-parser.service.ts to oppia-rte-parser.service*.ts to include the spec file. 3. Add refernce to the note at the top of file for all value.replace ops. 4. Miscellaneous changes. Co-authored-by: Vasa Srijan Reddy <redvasa@amazon.com>
Hi @anurag629, can you complete the following:
|
Hi @aks681, could you please add the appropriate changelog label to this pull request? Thanks! |
@vojtechjelinek Please look through changes and suggest what to do next |
@anurag629 The backend tests are failing, also you didn't remove the |
@anurag629 The tests are still failing. |
@vojtechjelinek please help me in this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments.
core/controllers/reader.py
Outdated
'username': { | ||
'schema': { | ||
'type': 'basestring', | ||
'validators': [{ | ||
'id': 'is_valid_username_string' | ||
}] | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why username? When the arg of the post
function is exploration_id
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
core/controllers/reader.py
Outdated
} | ||
} | ||
HANDLER_ARGS_SCHEMAS = { | ||
'POST': {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the post
there are other args that should be defined here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Hi @anurag629, it looks like some changes were requested on this pull request by @vojtechjelinek. PTAL. Thanks! |
@vojtechjelinek Please help why checks are failing |
@anurag629 Please, do not resolve comments yourself, just reply with "Done" and then let the reviewer resolve it. |
Hey @anurag629, a PR was recently merged that fixes a flake in the frontend tests (the same flake that is causing the frontend tests to fail on this PR). Please update the PR with the latest changes in develop. Thanks! |
@vojtechjelinek from where I will get these extra elements. I searched in the codebase but I am unable to find these. |
This says that you need to remove these two from the constant at handler_schema_constants.py |
@vojtechjelinek why the "End-to-End" test is failing. Previous they are not failing ??? |
They are sometimes flaky, I have restarted them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Took a pass.
'old_params': { | ||
'schema': { | ||
'type': 'int', | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this int
?
'client_time_spent_in_secs': { | ||
'schema': { | ||
'type': 'int', | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have a minimal value of 0?
hey, @vojtechjelinek I was not active in the past days. Can you help me in resolving errors? Thanks! |
@anurag629 Can you address my comments first? |
Hi @anurag629, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 4 days, it will be automatically closed so that others can take up the issue. |
Overview
Essential Checklist
Proof that changes are correct
PR Pointers