mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Add app/lib folder for general client code (instead of app/utils)
This commit is contained in:
parent
047475562d
commit
fb723328d4
@ -325,6 +325,4 @@ function boxQuartiles(d) {
|
||||
return [d3.quantile(d, 0.25), d3.quantile(d, 0.5), d3.quantile(d, 0.75)];
|
||||
}
|
||||
|
||||
box.skipAutoLoad = true;
|
||||
|
||||
export default box;
|
@ -333,6 +333,4 @@ function Sankey() {
|
||||
return sankey;
|
||||
}
|
||||
|
||||
Sankey.skipAutoLoad = true;
|
||||
|
||||
export default Sankey;
|
@ -397,6 +397,4 @@ Sunburst.prototype.remove = function remove() {
|
||||
angular.element(this.element[0]).empty('.vis-container');
|
||||
};
|
||||
|
||||
Sunburst.skipAutoLoad = true;
|
||||
|
||||
export default Sunburst;
|
@ -1,6 +1,6 @@
|
||||
import moment from 'moment';
|
||||
|
||||
import { Paginator } from '../../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './outdated-queries.html';
|
||||
|
||||
function OutdatedQueriesCtrl($scope, Events, $http, $timeout) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import moment from 'moment';
|
||||
|
||||
import { Paginator } from '../../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './tasks.html';
|
||||
|
||||
function TasksCtrl($scope, $location, $http, $timeout, Events) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './alerts-list.html';
|
||||
|
||||
const stateClass = {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import _ from 'underscore';
|
||||
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './dashboard-list.html';
|
||||
import './dashboard-list.css';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './list.html';
|
||||
|
||||
function GroupsCtrl($scope, $uibModal, currentUser, Events, Group) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import moment from 'moment';
|
||||
|
||||
import { LivePaginator } from '../../utils';
|
||||
import { LivePaginator } from '@/lib/pagination';
|
||||
import template from './queries-list.html';
|
||||
|
||||
class QueriesListCtrl {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import moment from 'moment';
|
||||
import { isString } from 'underscore';
|
||||
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './queries-search-results-page.html';
|
||||
|
||||
function QuerySearchCtrl($location, $filter, currentUser, Events, Query) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './list.html';
|
||||
|
||||
function SnippetsCtrl($location, currentUser, Events, QuerySnippet) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Paginator } from '../../utils';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './list.html';
|
||||
|
||||
function UsersCtrl(currentUser, Events, User) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import d3 from 'd3';
|
||||
import box from './d3box';
|
||||
import box from '@/lib/visualizations/d3box';
|
||||
import editorTemplate from './box-plot-editor.html';
|
||||
|
||||
function boxPlotRenderer() {
|
||||
|
@ -3,7 +3,7 @@ import _ from 'underscore';
|
||||
import $ from 'jquery';
|
||||
import d3 from 'd3';
|
||||
|
||||
import d3sankey from './d3sankey';
|
||||
import d3sankey from '@/lib/visualizations/d3sankey';
|
||||
import editorTemplate from './sankey-editor.html';
|
||||
|
||||
function getConnectedNodes(node) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import jQuery from 'jquery';
|
||||
import Sunburst from './sunburst';
|
||||
import Sunburst from '@/lib/visualizations/sunburst';
|
||||
import editorTemplate from './sunburst-sequence-editor.html';
|
||||
|
||||
function sunburstSequenceRenderer() {
|
||||
|
Loading…
Reference in New Issue
Block a user