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

Enabling Learner for fill out answer details #7159

Merged
merged 182 commits into from
Aug 25, 2019

Conversation

anubhavsinha98
Copy link
Contributor

This PR includes the frontend changes, to enable the learner to fill out answer details when he is asked for it.

Explanation

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The linter/Karma presubmit checks have passed.
    • These should run automatically, but if not, you can manually trigger them locally using python scripts/pre_commit_linter.py and bash scripts/run_frontend_tests.sh.
  • The PR is made from a branch that's not called "develop".
  • The PR has an appropriate "CHANGELOG: ..." label (If you are unsure of which label to add, ask the reviewers for guidance).
  • The PR follows the style guide.
  • The PR addresses the points mentioned in the codeowner checks for the files/folders changed. (See the codeowner's wiki page.)
  • The PR is assigned to an appropriate reviewer.
    • If you're a new contributor, please ask on Gitter for someone to assign a reviewer and don't tick this checkbox.
    • If you're not sure who the appropriate reviewer is, please assign to the issue's "owner" -- see the "talk-to" label on the issue. Do not only request the review but also add the reviewer as an assignee.

codician and others added 30 commits November 27, 2018 04:28
@seanlip seanlip assigned anubhavsinha98 and unassigned seanlip Aug 22, 2019
@anubhavsinha98
Copy link
Contributor Author

Hi @seanlip, made the changes PTAL. I will upload the video soon

@anubhavsinha98
Copy link
Contributor Author

Video 1
Video 2

@anubhavsinha98
Copy link
Contributor Author

Hi @seanlip uploaded the video too. PTAL Thanks!

Copy link
Member

@seanlip seanlip left a comment

Choose a reason for hiding this comment

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

Looks good, @anubhavsinha98! Just one more comment and I think it can be merged.

spyOn(
mockAnswerClassificationService,
'getMatchingClassificationResult').and.returnValue(acrof.createNew(
oof.createNew('default', 'default_outcome', '', []), 2, 0,
DEFAULT_OUTCOME_CLASSIFICATION));
mockAnswer = 'This is my answer';
mockInteractionRulesService = 'Sample interaction rules service';
Copy link
Member

Choose a reason for hiding this comment

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

This should be a service, not a string.

Why not just use one of the actual interaction rules services?

@seanlip seanlip assigned nithusha21 and anubhavsinha98 and unassigned seanlip Aug 23, 2019
@seanlip
Copy link
Member

seanlip commented Aug 23, 2019

Also @nithusha21 PTAL as codeowner. Thanks!

Copy link
Contributor

@nithusha21 nithusha21 left a comment

Choose a reason for hiding this comment

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

LGTM. Just one question

@nithusha21 nithusha21 removed their assignment Aug 24, 2019
@anubhavsinha98
Copy link
Contributor Author

Done @seanlip

@seanlip
Copy link
Member

seanlip commented Aug 25, 2019

Apparently this needs a codeowner review from @brianrodri (not sure why this did not show up in GitHub before). @brianrodri could you PTAL?

Copy link
Contributor

@brianrodri brianrodri left a comment

Choose a reason for hiding this comment

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

CODEOWNER LGTM

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.

None yet

7 participants