From 63b44e9ae007fe3ee9a1b64b8fd31aa151abffdd Mon Sep 17 00:00:00 2001 From: Alba Rivas Date: Thu, 10 Oct 2024 16:47:28 +0200 Subject: [PATCH] Adapt Lightning App to work on mobile --- .../default/applications/EBikes.app-meta.xml | 20 +++++++---- .../pageTemplate_2_7_3/pageTemplate_2_7_3.cmp | 36 ++++++++++++++++--- .../Order_Record_Page.flexipage-meta.xml | 22 ++++++++---- .../lwc/accountMap/accountMap.js-meta.xml | 5 ++- .../lwc/orderBuilder/orderBuilder.js-meta.xml | 4 +++ .../orderStatusPath.js-meta.xml | 8 +++++ .../productTileList.js-meta.xml | 4 +++ .../similarProducts.js-meta.xml | 4 +++ 8 files changed, 84 insertions(+), 19 deletions(-) diff --git a/force-app/main/default/applications/EBikes.app-meta.xml b/force-app/main/default/applications/EBikes.app-meta.xml index 6570e74d5..9324092c7 100644 --- a/force-app/main/default/applications/EBikes.app-meta.xml +++ b/force-app/main/default/applications/EBikes.app-meta.xml @@ -1,24 +1,30 @@ - - #C23335 - logo - 1 - false - View Action override created by Lightning App Builder on activation. Added manually because this isn't registered by force:source:pull. + >Action override created by Lightning App Builder on activation. Added manually because this isn't registered by force:source:pull. Account_Record_Page Large false Flexipage Account + + #C23335 + logo + 1 + false + + Small Large + false + false + false + false Standard + all standard-home Product_Explorer standard-Account diff --git a/force-app/main/default/aura/pageTemplate_2_7_3/pageTemplate_2_7_3.cmp b/force-app/main/default/aura/pageTemplate_2_7_3/pageTemplate_2_7_3.cmp index 205cc438d..013ea7cb2 100644 --- a/force-app/main/default/aura/pageTemplate_2_7_3/pageTemplate_2_7_3.cmp +++ b/force-app/main/default/aura/pageTemplate_2_7_3/pageTemplate_2_7_3.cmp @@ -6,10 +6,36 @@ - -
-
{!v.left}
-
{!v.center}
-
{!v.right}
+
+ + + + + {!v.left} + + + {!v.center} + + + {!v.right} + + + + + + + + {!v.left} {!v.center} {!v.right} + + +
diff --git a/force-app/main/default/flexipages/Order_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Order_Record_Page.flexipage-meta.xml index 0d8505066..25d4f87ed 100644 --- a/force-app/main/default/flexipages/Order_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Order_Record_Page.flexipage-meta.xml @@ -93,6 +93,16 @@ + + + + uiBehavior + none + + Record.Status__c + RecordStatus_cField + + Facet-24481a15-ff0a-486e-9b84-705cee2963d1 Facet @@ -257,12 +267,6 @@ forceMobileDetail - - - orderBuilder - orderBuilder - - Replace detailTabContent Facet @@ -326,6 +330,12 @@ Region + + + orderBuilder + c_orderBuilder + + diff --git a/force-app/main/default/lwc/accountMap/accountMap.js-meta.xml b/force-app/main/default/lwc/accountMap/accountMap.js-meta.xml index 0ff1cf46d..522164845 100644 --- a/force-app/main/default/lwc/accountMap/accountMap.js-meta.xml +++ b/force-app/main/default/lwc/accountMap/accountMap.js-meta.xml @@ -11,7 +11,10 @@ Account + + + + - diff --git a/force-app/main/default/lwc/orderBuilder/orderBuilder.js-meta.xml b/force-app/main/default/lwc/orderBuilder/orderBuilder.js-meta.xml index d8b83f2c1..e976b5a79 100644 --- a/force-app/main/default/lwc/orderBuilder/orderBuilder.js-meta.xml +++ b/force-app/main/default/lwc/orderBuilder/orderBuilder.js-meta.xml @@ -15,6 +15,10 @@ Order__c + + + + diff --git a/force-app/main/default/lwc/orderStatusPath/orderStatusPath.js-meta.xml b/force-app/main/default/lwc/orderStatusPath/orderStatusPath.js-meta.xml index f5de52d4f..efe724ce2 100644 --- a/force-app/main/default/lwc/orderStatusPath/orderStatusPath.js-meta.xml +++ b/force-app/main/default/lwc/orderStatusPath/orderStatusPath.js-meta.xml @@ -7,4 +7,12 @@ lightning__RecordPage + + + + + + + + diff --git a/force-app/main/default/lwc/productTileList/productTileList.js-meta.xml b/force-app/main/default/lwc/productTileList/productTileList.js-meta.xml index 8d9a3ace5..96c40ace4 100644 --- a/force-app/main/default/lwc/productTileList/productTileList.js-meta.xml +++ b/force-app/main/default/lwc/productTileList/productTileList.js-meta.xml @@ -25,6 +25,10 @@ Order__c + + + + Product__c + + + +