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

[Console] Move out of quarantined #52270

Merged
merged 22 commits into from
Dec 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f53964c
WiP, lotta broken things, working through new editor.ts
jloleysens Nov 25, 2019
ba78edd
RowParser -> TS
jloleysens Nov 29, 2019
d92621c
Utils to TS and regular module
jloleysens Nov 29, 2019
05bb02b
Finished first version of core & sense editor wrappers. Tokenizer pro…
jloleysens Dec 2, 2019
18d0093
WiP - moved A LOT of code around and busy fixing sense-editor tests
jloleysens Dec 3, 2019
0f2ef09
Fix sense editor test
jloleysens Dec 3, 2019
458cd57
Clean up mocks
jloleysens Dec 3, 2019
78bbd57
Moved A LOT of code out of quarantined.
jloleysens Dec 4, 2019
47f5191
WiP still finishing up manual testing
jloleysens Dec 4, 2019
f733e8f
Fix use of Ace Range and fix open documentation
jloleysens Dec 4, 2019
6feb90c
Move out of quarantined!
jloleysens Dec 5, 2019
3d0259f
Remove load remote editor state for now
jloleysens Dec 5, 2019
dd2f3e1
- fix use of token iterator
jloleysens Dec 5, 2019
c7157e7
Address getSelectionRange document TODO
jloleysens Dec 6, 2019
59ea7d0
Update src/legacy/core_plugins/console/public/np_ready/application/mo…
jloleysens Dec 6, 2019
62cec7c
Remove commented-out code
jloleysens Dec 9, 2019
6cff57b
Rename format request function
jloleysens Dec 9, 2019
59cc081
utils.ts default export usage cleanup
jloleysens Dec 9, 2019
f3b80b9
Merge branch 'master' into console/sense-editor-core-editor
elasticmachine Dec 9, 2019
a0e39bb
Update replace regex and add another utils test
jloleysens Dec 9, 2019
4441976
Remove legacy replace behaviour
jloleysens Dec 10, 2019
d6bc4b7
Fix typo in comment
jloleysens Dec 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions src/legacy/core_plugins/console/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import Boom from 'boom';
import { first } from 'rxjs/operators';
import { resolve, join, sep } from 'path';
import { resolve, join } from 'path';
import url from 'url';
import { has, isEmpty, head, pick } from 'lodash';

Expand Down Expand Up @@ -51,9 +51,7 @@ function filterHeaders(originalHeaders: any, headersToKeep: any) {

// eslint-disable-next-line
export default function(kibana: any) {
const modules = resolve(__dirname, 'public/webpackShims/');
const quarantinedSrc = resolve(__dirname, 'public/quarantined/src/');
const npSrc = resolve(__dirname, 'np_ready/public');
const npSrc = resolve(__dirname, 'public/np_ready');

let defaultVars: any;
return new kibana.Plugin({
Expand Down Expand Up @@ -180,16 +178,10 @@ export default function(kibana: any) {
},

uiExports: {
devTools: [`${npSrc}/legacy`],
styleSheetPaths: resolve(__dirname, 'public/quarantined/index.scss'),

devTools: [resolve(__dirname, 'public/legacy')],
styleSheetPaths: resolve(npSrc, 'application/styles/index.scss'),
injectDefaultVars: () => defaultVars,

noParse: [
join(modules, 'ace' + sep),
join(modules, 'moment_src/moment' + sep),
join(quarantinedSrc, 'sense_editor/mode/worker.js'),
],
noParse: [join(npSrc, 'application/models/legacy_core_editor/mode/worker/worker.js')],
},
} as any);
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading