[ADF-4894] Json editor dialog (#5082)

* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
This commit is contained in:
Denys Vuika
2019-09-20 07:26:37 +01:00
committed by GitHub
parent c15807a013
commit 90b2cee70d
31 changed files with 357 additions and 127 deletions

View File

@@ -190,7 +190,7 @@ describe('ShareDataTableAdapter', () => {
const col = <DataColumn> {
key: 'createdAt',
type: 'string'
type: 'text'
};
const row = new ShareDataRow(file, contentService, null);
@@ -265,7 +265,7 @@ describe('ShareDataTableAdapter', () => {
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
const row = new ShareDataRow(new SmartFolderNode(), contentService, null);
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
const value = adapter.getValue(row, col);
expect(value).toContain(`assets/images/ft_ic_smart_folder`);
@@ -278,7 +278,7 @@ describe('ShareDataTableAdapter', () => {
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
const row = new ShareDataRow(new LinkFolderNode(), contentService, null);
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
const value = adapter.getValue(row, col);
expect(value).toContain(`assets/images/ft_ic_folder_shortcut_link`);
@@ -291,7 +291,7 @@ describe('ShareDataTableAdapter', () => {
const adapter = new ShareDataTableAdapter(thumbnailService, contentService, null);
const row = new ShareDataRow(new RuleFolderNode(), contentService, null);
const col = <DataColumn> { type: 'folder', key: '$thumbnail' };
const col = <DataColumn> { type: 'text', key: '$thumbnail' };
const value = adapter.getValue(row, col);
expect(value).toContain(`assets/images/ft_ic_folder_rule`);