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

Introduce interface for ExplorationDataController #121

Closed
BenHenning opened this issue Sep 17, 2019 · 5 comments · Fixed by #193
Closed

Introduce interface for ExplorationDataController #121

BenHenning opened this issue Sep 17, 2019 · 5 comments · Fixed by #193
Assignees
Labels
Priority: Essential This work item must be completed for its milestone. Z-ibt Temporary label for Ben to keep track of issues he's triaged.

Comments

@BenHenning
Copy link
Member

This is tracking introducing a stubbed interface for #113 without the real implementation being complete.

@BenHenning
Copy link
Member Author

@vinitamurthi you mentioned that you were interested in working on this.

@BenHenning
Copy link
Member Author

FYI @vinitamurthi we are planning to get this checked in by EOW. Please let me know if that's not feasible.

@vinitamurthi
Copy link
Contributor

For now, a getExplorationById() should be sufficient

@BenHenning
Copy link
Member Author

For references look at #177 and #174 for how to stub & test similar controllers.

@BenHenning
Copy link
Member Author

For the stub, maybe we could pull in some of the demo explorations from the file system: https://github.com/oppia/oppia/tree/develop/data/explorations. We could convert a few of these over to JSON and include them in the app.

BenHenning pushed a commit that referenced this issue Sep 29, 2019
* Initial check in for the ExplorationDataController

* Load json asset into a JSON object

* Use data provider and add state creation

* fix warnings

* Added interactions

* Added customization args

* Initial structure for the test file and remove interactive map from the sample explorations

* Add initial tests

* add states to the exploration

* Added exploration tests

* Added comments

* Made null check more readable

* Review changes

* Lint fix

* Used android studio reformatting

* Lint fixes, remove print statement
@BenHenning BenHenning added the Z-ibt Temporary label for Ben to keep track of issues he's triaged. label Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Essential This work item must be completed for its milestone. Z-ibt Temporary label for Ben to keep track of issues he's triaged.
Development

Successfully merging a pull request may close this issue.

2 participants