[clarity/consistency] rename /explorev2/ -> /explore/ (#2802)

* rename /explorev2/ -> /explore/

* add redirect for existing explorev2 urls

* fix long line

* remove extra line

* fix missed ref in spec
This commit is contained in:
Alanna Scott
2017-05-24 17:12:28 -07:00
committed by GitHub
parent a4a2bf7ae9
commit 0c9f9b695b
54 changed files with 48 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ import { Alert, Button, Col, Modal } from 'react-bootstrap';
import Select from 'react-select';
import { Table } from 'reactable';
import shortid from 'shortid';
import { getExploreUrl } from '../../explorev2/exploreUtils';
import { getExploreUrl } from '../../explore/exploreUtils';
import * as actions from '../actions';
const CHART_TYPES = [
@@ -285,4 +285,3 @@ function mapDispatchToProps(dispatch) {
export { VisualizeModal };
export default connect(mapStateToProps, mapDispatchToProps)(VisualizeModal);

View File

@@ -2,8 +2,8 @@
import $ from 'jquery';
import Mustache from 'mustache';
import vizMap from '../../visualizations/main';
import { getExploreUrl } from '../explorev2/exploreUtils';
import { applyDefaultFormData } from '../explorev2/stores/store';
import { getExploreUrl } from '../explore/exploreUtils';
import { applyDefaultFormData } from '../explore/stores/store';
const utils = require('./utils');

View File

@@ -1,7 +1,7 @@
/* eslint no-console: 0 */
import fs from 'fs';
import path from 'path';
import { controls } from './explorev2/stores/controls';
import { controls } from './explore/stores/controls';
function exportFile(fileLocation, content) {
fs.writeFile(fileLocation, content, function (err) {