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

Remove gadgets functionality and update the exploration schema version accordingly. #3801

Merged
merged 2 commits into from
Aug 26, 2017

Conversation

seanlip
Copy link
Member

@seanlip seanlip commented Aug 25, 2017

No description provided.

@seanlip
Copy link
Member Author

seanlip commented Aug 25, 2017

/cc @BenHenning. The exploration migration job needs to be run for the next release.

@codecov-io
Copy link

codecov-io commented Aug 25, 2017

Codecov Report

Merging #3801 into develop will increase coverage by 0.31%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3801      +/-   ##
===========================================
+ Coverage    45.88%   46.19%   +0.31%     
===========================================
  Files          280      275       -5     
  Lines        21167    20703     -464     
  Branches      3293     3232      -61     
===========================================
- Hits          9712     9564     -148     
+ Misses       11455    11139     -316
Impacted Files Coverage Δ
...ges/exploration_editor/settings_tab/SettingsTab.js 0.64% <ø> (ø) ⬆️
...editor/ExplorationEditorAdvancedFeaturesService.js 21.42% <ø> (+8.38%) ⬆️
...head/pages/exploration_editor/ExplorationEditor.js 5.18% <ø> (-1.25%) ⬇️
...ev/head/pages/exploration_player/PlayerServices.js 1.11% <ø> (-0.55%) ⬇️
...pages/exploration_editor/preview_tab/PreviewTab.js 2% <ø> (ø) ⬆️
...es/exploration_player/ConversationSkinDirective.js 2.2% <ø> (+0.01%) ⬆️
...es/exploration_player/SupplementalCardDirective.js 1.58% <ø> (ø) ⬆️
...v/head/domain/utilities/UrlInterpolationService.js 91.3% <ø> (-0.48%) ⬇️
...xploration_player/ExplorationPlayerStateService.js 5.88% <ø> (+0.61%) ⬆️
core/templates/dev/head/app.js 51.09% <ø> (ø) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ed2638...822de96. Read the comment docs.

Copy link
Contributor

@tjiang11 tjiang11 left a comment

Choose a reason for hiding this comment

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

Thanks Sean!

gadget_instance = exploration.get_gadget_instance_by_name(
change.gadget_name)
if (change.property_name ==
exp_domain.GADGET_PROPERTY_VISIBILITY):
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this constant in exp_domain? (and GADGET_PROPERTY_CUST_ARGS)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @tjiang11! I thought I put it under the "these four properties are deprecated" part, though -- is that the one you mean? The idea is to prevent others using them as keys in the future.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, @tjiang11 -- if this sounds OK to you, please go ahead and merge. Don't want to delay it too much since this PR is large and prone to merge conflicts.

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Ohh I see, okay that makes sense

@tjiang11 tjiang11 merged commit 7d3d505 into develop Aug 26, 2017
@seanlip seanlip deleted the remove-gadgets branch May 9, 2020 06:28
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.

3 participants