Skip to content

Remove the demoify function #490

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

Merged
merged 1 commit into from
Sep 8, 2017
Merged

Remove the demoify function #490

merged 1 commit into from
Sep 8, 2017

Conversation

wchargin
Copy link
Contributor

@wchargin wchargin commented Sep 6, 2017

Summary:
We don’t support the demo mode at all, nor do we have any plans to. This
function is complicating our logic and getting in the way of things that
we actually want to do, so out it goes.

Note that this commit does not remove “demo mode” entirely: the router
still has demoMode, and I didn’t go through and remove all of its
uses. (But that’s not a bad idea, and there are only a handful.)

Test Plan:
I tested that the image and audio dashboards still properly load images
and audio. Changes to the test are not tested, as we don’t run tests.

wchargin-branch: remove-demoify

@wchargin wchargin requested a review from chihuahua September 6, 2017 22:01
@wchargin wchargin mentioned this pull request Sep 6, 2017
Summary:
We don’t support the demo mode at all, nor do we have any plans to. This
function is complicating our logic and getting in the way of things that
we actually want to do, so out it goes.

Note that this commit does not remove “demo mode” entirely: the router
still has `demoMode`, and I didn’t go through and remove all of its
uses. (But that’s not a bad idea, and there are only a handful.)

Test Plan:
I tested that the image and audio dashboards still properly load images
and audio. Changes to the test are not tested, as we don’t run tests.

wchargin-branch: remove-demoify
@wchargin wchargin force-pushed the wchargin-remove-demoify branch from b9ce895 to 87c01f7 Compare September 7, 2017 12:23
Copy link
Member

@chihuahua chihuahua left a comment

Choose a reason for hiding this comment

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

Nice clean up. I might spend a little time later removing instances of demoMode - thanks for the heads up.

@wchargin
Copy link
Contributor Author

wchargin commented Sep 8, 2017

Cool, that would be great.

@wchargin wchargin merged commit cd8f8d7 into master Sep 8, 2017
@wchargin wchargin deleted the wchargin-remove-demoify branch September 11, 2017 19:38
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.

2 participants