* updated import application modal design as v2 * updated import flow * added title, description, uploadIcon on filepicker ads component for custom file picker * adding modal of add credential for git import * added "Git Import" modal * added generating ssh key for importing flow * fixed issue of merging * chore: fix import * chore: show old import modal based on feature flag * seperated import api from connect * added datasource list on reconnect credential modal * chore: minor changes * chore: move ssh keys to git sync reducer from applications reducer * chore: minor fixes * chore: fetch datasource config for import * for pulling * for review of displaying of datasource * added reconnect datasources after git import * fix: initialize datasource with default values * fix: initialise redux for after updating datasource with default values * fixed issue of git connection init when importing * if there is a datasource config missing in import, reconnect modal should be opened * updated logic for unconfigured datasources * commented unnecessary code * fixed issue of successful import * updated import app error logic * Add un-configured datasources to Import via file response * Add test * fix * chore: refactors * change per review * fix: reset ssh keys / url * Fix issue with newly created datasources not sent * fix * chore: minor updates * chore: minor fix * WIP * added saas and rest api datasource form * feat: fixes and updates for file import flow * chore: close on upload * Refactor logic ofr finding unconfigured datasources * fix: minor fixes * Fix issue with IsPartialImport * fix * Add PartialImport flag for ImportExport service * refactoring of datasource editor form for both of importing app and editing app * fixed collapse config * Fix tests * Handle redirection back to the /applications for oAuth type * Show reconnect button on the datasources pages if the datasource configuration is skipped * added analytic events for reconnecting datasource modal * Fix the repo limit check for git import * updated test of importing app from json as new work flow * updated exported app json while testing automatically * Add isImport flag for handling OAuth redirection in import flow * WIP * updated card UI for import from git title and message in import app modal * chore: cleanup * chore: lint * fix: add is import query param to get token for oauth * fix * When the user imports the application there should not be any uncommitted changes displayed on the commit icon * Add flag to identify OAuth redirection for git import * Update the variable name * refactoring reconnect datasource modal * close git import modal when repo limit error responded * fixed issue of restoring draft data of datasource form without save on reconnect datasource modal * chore: update query * updated query name of oauth redirection url * Fix duplicate name issue in git import * fixed rest api reconnect issue on reconnect modal * init datasources and plugins after imported app, updated reconnect modal as new design * added unconfigured datasource list logic when importing and updated rest api form delete button visible * removed put default config of datasource and fixed issue on it * Add logic to check isCOnfugred in datasource API * Expose API to get un configured datasources for git import * added fetch unconfigured datasource list api when redirecting form OAuth * Remove sensitive fields from application json during export * update put call response to check for datasourceConfig * chore: use @appsmith for constants/messages * chore: use download icon and Import for Importing application label * chore: move import application text up a bit * Fix bad merge * chore: update skip to application tooltip text * fixed tooltip content of skip to application CTA * init values of datasource when importing * updated ui of git import modal as figma design * fixing padding issue of reconnect datasource modal * fixed cursor issue on import app modal * Fix issue with datasource config * chore: make code compile * chore: sort lines * fixed save button issue of dbform on reconnecting modal * fixed style of import application modal * Fix iisue with wrong value updated to flag * reverted from reconnection form style * fix: update design as per slack discussions on 2022.02.23 * fix: move modal close button to the left * Remove check for the flag and use the one from db * Set siCOnfigured as true for mockdata sets * updated creating datasource with isConfigured as false * Fix NPE while importing * fixed scrollbar issue and text alignment on reconnect datasource modal * fixed style of form container in reconnect datasource and redirecting to app if all are configured * remove unwanted fields from application json * FIx NPE for file import * fix: move close button up in import modal * remove delete button on reconnect datasource modal * Add isConfigured false while creating datasources * fix: add a gap and update color gap between git import dialog title and subtitle update color of subtext to GREY_800 * fix: use git import feature flag * fix: do not use older modal * updated selecting logic of unconfigured datasource in reconnect modal * cleanup: auto format * cleanup: refactor react component * cleanup: refactor some more * cleanup: autoformat * Fix reconnect flag for mockdatasource * During git import set the isConfigured to false for datasources * Remove decrypted field from the applicationJson file * Remove decrypted field from the applicationJson file * Add app slug to remote repo * fixed cypress test related with git * updated json while testing * Changes per review * Update the method name * fixed cypress test related with git * fixed migration cypress test * set is configured field as true on tour app * Fix issue with datasource creation for welcome tour * fixed issue of replay_editor cypress test Co-authored-by: Rishabh Saxena <rishabh@appsmith.com> Co-authored-by: Anagh Hegde <anagh@appsmith.com> Co-authored-by: Anubhav <anubhav@appsmith.com> Co-authored-by: f0c1s <iamanubhavsaini+git@gmail.com>
321 lines
11 KiB
JSON
321 lines
11 KiB
JSON
{
|
|
"clientSchemaVersion": 1,
|
|
"serverSchemaVersion": 1,
|
|
"exportedApplication": {
|
|
"name": "d85f5e74",
|
|
"isPublic": false,
|
|
"appIsExample": false,
|
|
"unreadCommentThreads": 0,
|
|
"color": "#D9E7FF",
|
|
"icon": "cloud",
|
|
"slug": "d85f5e74",
|
|
"evaluationVersion": 2,
|
|
"new": true
|
|
},
|
|
"datasourceList": [],
|
|
"pageList": [
|
|
{
|
|
"userPermissions": [
|
|
"read:pages",
|
|
"manage:pages"
|
|
],
|
|
"gitSyncId": "6200c8457d76221d03e360e0_6200c8457d76221d03e360e2",
|
|
"unpublishedPage": {
|
|
"name": "Page1",
|
|
"slug": "page1",
|
|
"layouts": [
|
|
{
|
|
"id": "Page1",
|
|
"userPermissions": [],
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 1224,
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 1292,
|
|
"containerStyle": "none",
|
|
"snapRows": 33,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"minHeight": 1292,
|
|
"parentColumnSpace": 1,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"backgroundColor": "#FFFFFF",
|
|
"widgetName": "Container1",
|
|
"rightColumn": 8,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"widgetId": "mxbaasg65u",
|
|
"containerStyle": "card",
|
|
"topRow": 0,
|
|
"bottomRow": 9,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "CONTAINER_WIDGET",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 75.25,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"backgroundColor": "transparent",
|
|
"widgetName": "59gdivzv7s",
|
|
"rightColumn": 602,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "bxekwxgc1i",
|
|
"containerStyle": "none",
|
|
"topRow": 0,
|
|
"bottomRow": 342,
|
|
"parentRowSpace": 1,
|
|
"isVisible": true,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": false,
|
|
"isLoading": false,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"image": "",
|
|
"widgetName": "Image1",
|
|
"rightColumn": 10,
|
|
"widgetId": "glksllew0g",
|
|
"topRow": 2,
|
|
"bottomRow": 5,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "IMAGE_WIDGET",
|
|
"parentId": "bxekwxgc1i",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 34.6875,
|
|
"imageShape": "RECTANGLE",
|
|
"leftColumn": 6,
|
|
"defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"backgroundColor": "#FFFFFF",
|
|
"widgetName": "Container3",
|
|
"rightColumn": 16,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"widgetId": "i331vll2mg",
|
|
"containerStyle": "card",
|
|
"topRow": 9,
|
|
"bottomRow": 23,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "CONTAINER_WIDGET",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 75.25,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"backgroundColor": "transparent",
|
|
"widgetName": "rhfg2vf1n5",
|
|
"rightColumn": 1204,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "rglduihhzk",
|
|
"containerStyle": "none",
|
|
"topRow": 0,
|
|
"bottomRow": 532,
|
|
"parentRowSpace": 1,
|
|
"isVisible": true,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": false,
|
|
"isLoading": false,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Chart1",
|
|
"rightColumn": 8,
|
|
"allowScroll": false,
|
|
"widgetId": "hwi9cwhg43",
|
|
"topRow": 1,
|
|
"bottomRow": 9,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "CHART_WIDGET",
|
|
"parentId": "rglduihhzk",
|
|
"isLoading": false,
|
|
"chartData": [
|
|
{
|
|
"seriesName": "Sales",
|
|
"data": [
|
|
{
|
|
"x": "Mon",
|
|
"y": 10000
|
|
},
|
|
{
|
|
"x": "Tue",
|
|
"y": 12000
|
|
},
|
|
{
|
|
"x": "Wed",
|
|
"y": 32000
|
|
},
|
|
{
|
|
"x": "Thu",
|
|
"y": 28000
|
|
},
|
|
{
|
|
"x": "Fri",
|
|
"y": 14000
|
|
},
|
|
{
|
|
"x": "Sat",
|
|
"y": 19000
|
|
},
|
|
{
|
|
"x": "Sun",
|
|
"y": 36000
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"yAxisName": "Total Order Revenue $",
|
|
"parentColumnSpace": 71.75,
|
|
"chartName": "Sales on working days",
|
|
"leftColumn": 2,
|
|
"dynamicBindingPathList": [],
|
|
"xAxisName": "Last Week",
|
|
"chartType": "LINE_CHART"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"backgroundColor": "#FFFFFF",
|
|
"widgetName": "Container4",
|
|
"rightColumn": 16,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"widgetId": "qznzsquf70",
|
|
"containerStyle": "card",
|
|
"topRow": 0,
|
|
"bottomRow": 9,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "CONTAINER_WIDGET",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 75.25,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 8,
|
|
"children": [
|
|
{
|
|
"backgroundColor": "transparent",
|
|
"widgetName": "3bn6uv0vy4",
|
|
"rightColumn": 602,
|
|
"orientation": "VERTICAL",
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "7vm5mdu8ey",
|
|
"containerStyle": "none",
|
|
"topRow": 0,
|
|
"bottomRow": 342,
|
|
"parentRowSpace": 1,
|
|
"isVisible": true,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": false,
|
|
"isLoading": false,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Text1",
|
|
"rightColumn": 7,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "9xcfqahpw2",
|
|
"topRow": 3,
|
|
"bottomRow": 4,
|
|
"parentRowSpace": 38,
|
|
"isVisible": true,
|
|
"type": "TEXT_WIDGET",
|
|
"parentId": "bxekwxgc1i",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 34.6875,
|
|
"leftColumn": 3,
|
|
"text": "Label"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"layoutOnLoadActions": [],
|
|
"new": false
|
|
}
|
|
],
|
|
"userPermissions": []
|
|
},
|
|
"publishedPage": {
|
|
"name": "Page1",
|
|
"slug": "page1",
|
|
"layouts": [
|
|
{
|
|
"id": "Page1",
|
|
"userPermissions": [],
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 1224,
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 1254,
|
|
"containerStyle": "none",
|
|
"snapRows": 33,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 4,
|
|
"minHeight": 1292,
|
|
"parentColumnSpace": 1,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": []
|
|
},
|
|
"new": false
|
|
}
|
|
],
|
|
"userPermissions": []
|
|
},
|
|
"new": true
|
|
}
|
|
],
|
|
"publishedDefaultPageName": "Page1",
|
|
"unpublishedDefaultPageName": "Page1",
|
|
"actionList": [],
|
|
"actionCollectionList": [],
|
|
"decryptedFields": {},
|
|
"editModeTheme": {
|
|
"name": "Classic",
|
|
"new": true,
|
|
"isSystemTheme": true
|
|
},
|
|
"publishedTheme": {
|
|
"name": "Classic",
|
|
"new": true,
|
|
"isSystemTheme": true
|
|
},
|
|
"publishedLayoutmongoEscapedWidgets": {},
|
|
"unpublishedLayoutmongoEscapedWidgets": {}
|
|
} |