From 9123e74b1a1911a275d413fd59c4b15e18207c84 Mon Sep 17 00:00:00 2001 From: Bruce B Date: Thu, 9 Jan 2020 10:33:56 -0600 Subject: [PATCH 1/3] setting up project Initial setup --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b38089 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.vscode/* +*.db +*.ts +force-app/main/default/lwc/.eslintrc.json +force-app/main/default/lwc/jsconfig.json \ No newline at end of file From df0a785b341e1f47e955d3e43f4297ad236e8ab1 Mon Sep 17 00:00:00 2001 From: Bruce B Date: Thu, 9 Jan 2020 10:36:49 -0600 Subject: [PATCH 2/3] fix scatch org config issue fixxes deploy issue: ERROR running force:org:create: We've deprecated OrgPreferences. Update the scratch org definition file to replace OrgPreferences with their corresponding settings. Replace the orgPreferences section: { "orgPreferences": { "enabled": [ "S1DesktopEnabled" ] } } With their updated settings: { "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true } } } For more info on configuring settings in a scratch org definition file see: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm.' --- .sfdx/sfdx-config.json | 2 +- config/project-scratch-def.json | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.sfdx/sfdx-config.json b/.sfdx/sfdx-config.json index 46c7289..abd14b7 100755 --- a/.sfdx/sfdx-config.json +++ b/.sfdx/sfdx-config.json @@ -1,4 +1,4 @@ { "defaultdevhubusername": "my-hub-org", - "defaultusername": "ADK" + "defaultusername": "gantt-chart2" } \ No newline at end of file diff --git a/config/project-scratch-def.json b/config/project-scratch-def.json index a2f39fb..fa510e9 100755 --- a/config/project-scratch-def.json +++ b/config/project-scratch-def.json @@ -1,7 +1,9 @@ { "orgName": "spencerhsieh Company", "edition": "Developer", - "orgPreferences" : { - "enabled": ["S1DesktopEnabled"] + "settings": { + "lightningExperienceSettings": { + "enableS1DesktopEnabled": true + } } } From f2a01bb37b340abf8f745f8e32a599516b2786bc Mon Sep 17 00:00:00 2001 From: Bruce B Date: Thu, 9 Jan 2020 11:41:37 -0600 Subject: [PATCH 3/3] Winter 20 Fixes Fixed issues caused by witer 20 release 1. for:each= Keys have to be a interger or string = originally that were poiting at an object 2. fix set values on a property that was read only project.allocations --- .../main/default/lwc/gantt_chart/gantt_chart.html | 4 ++-- .../gantt_chart_resource/gantt_chart_resource.html | 2 +- .../gantt_chart_resource/gantt_chart_resource.js | 13 ++++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/force-app/main/default/lwc/gantt_chart/gantt_chart.html b/force-app/main/default/lwc/gantt_chart/gantt_chart.html index be8f16b..817adac 100755 --- a/force-app/main/default/lwc/gantt_chart/gantt_chart.html +++ b/force-app/main/default/lwc/gantt_chart/gantt_chart.html @@ -91,7 +91,7 @@