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 #7176: Add types for Customization Args #9463

Merged
merged 8 commits into from Jun 12, 2020
Merged

Fix part of #7176: Add types for Customization Args #9463

merged 8 commits into from Jun 12, 2020

Conversation

nishantwrp
Copy link
Contributor

Overview

  1. This PR fixes or fixes part of Add types for Object Factories  #7176
  2. This PR does the following: Add types for Customization Args

Essential 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 linter/Karma presubmit checks have passed locally on your machine.
  • "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
    • This lets reviewers restart your CircleCI tests for you.
  • The PR is made from a branch that's not called "develop".

PR Pointers

  • Oppiabot will notify you when you don't add a PR_CHANGELOG label. If you are unable to do so, please @-mention a code owner (who will be in the Reviewers list), or ask on Gitter.
  • For what code owners will expect, see the Code Owner's wiki page.
  • Make sure your PR follows conventions in the style guide, otherwise this will lead to review delays
  • Never force push. If you do, your PR will be closed.

@oppiabot
Copy link

oppiabot bot commented Jun 8, 2020

Hi, @nishantwrp. This pull request does not have a "CHANGELOG: ..." label as mentioned in the PR checkbox list. Please add this label. PRs without this label will not be merged. If you are unsure of which label to add, please ask the reviewers for guidance. Thanks!

@oppiabot
Copy link

oppiabot bot commented Jun 8, 2020

Assigning @bansalnitish for the first-pass review of this pull request. Thanks!

Copy link
Member

@vojtechjelinek vojtechjelinek left a comment

Choose a reason for hiding this comment

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

Thanks! Just a few comments.

_computeBfsTraversalOfStates(initStateId: string, states: any,
sourceStateName: string): Array<any> {

_computeBfsTraversalOfStates(initStateId: string, states: States,
Copy link
Member

Choose a reason for hiding this comment

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

break after (

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

computeBfsTraversalOfStates(initStateId: string, states: any,
sourceStateName: any): Array<any> {

computeBfsTraversalOfStates(initStateId: string, states: States,
Copy link
Member

Choose a reason for hiding this comment

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

break after (

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Comment on lines 185 to 192
ICodeReplCustomizationArgs | IContinueCustomizationArgs |
IDragAndDropSortInputCustomizationArgs | IEndExplorationCustomizationArgs |
IFractionInputCustomizationArgs | IGraphInputCustomizationArgs |
IImageClickInputCustomizationArgs | IInteractiveMapCustomizationArgs |
IItemSelectionInputCustomizationArgs | ILogicCustomizationArgs |
IMultipleChoiceInputCustomizationArgs | IMusicNotesInputCustomizationArgs |
IPencilCodeCustomizationArgs | ISetInputCustomizationArgs |
ITextInputCustomizationArgs);
Copy link
Member

Choose a reason for hiding this comment

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

put every type on a separate line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@vojtechjelinek
Copy link
Member

@brianrodri, @kevintab95, @ankita240796, @aks681 and @marianazangrossi PTAL

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.

LGTM for code-owner files. Thanks @nishantwrp!

@kevintab95 kevintab95 removed their assignment Jun 8, 2020
@nishantwrp
Copy link
Contributor Author

@marianazangrossi @brianrodri @aks681 PTAL!

Copy link
Member

@aks681 aks681 left a comment

Choose a reason for hiding this comment

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

Lgtm as codeowner

@aks681 aks681 removed their assignment Jun 9, 2020
@brianrodri brianrodri assigned nishantwrp and unassigned brianrodri Jun 9, 2020
@nishantwrp nishantwrp assigned brianrodri and unassigned nishantwrp Jun 9, 2020
@brianrodri brianrodri assigned nishantwrp and unassigned brianrodri Jun 9, 2020
@nishantwrp nishantwrp assigned brianrodri and unassigned nishantwrp Jun 9, 2020
@brianrodri brianrodri removed their assignment Jun 9, 2020
@nishantwrp
Copy link
Contributor Author

@marianazangrossi PTAL!

@kevintab95
Copy link
Member

@nithusha21 PTAL!

@nishantwrp
Copy link
Contributor Author

@nithusha21 ptal!

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 as a codeowner!

@nithusha21 nithusha21 merged commit 612b181 into oppia:develop Jun 12, 2020
@nishantwrp nishantwrp deleted the any-type-6 branch June 12, 2020 14:21
shavavo pushed a commit to shavavo/oppia that referenced this pull request Aug 20, 2020
* Add types for Customization Args

* Copyright Notice

* Reviews

* lint tests

* reviews

* reviews

* reviews
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.

None yet

9 participants