-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b479c2f
Showing
65 changed files
with
2,260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# List files or directories below to ignore them when running force:source:push, force:source:pull, and force:source:status | ||
# More information: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm | ||
# | ||
|
||
package.xml | ||
|
||
# LWC configuration files | ||
**/jsconfig.json | ||
**/.eslintrc.json | ||
|
||
# LWC Jest | ||
**/__tests__/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.sfdx | ||
.vscode | ||
.DS_Store | ||
assets/mdapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# List files or directories below to ignore them when running prettier | ||
# More information: https://prettier.io/docs/en/ignore.html | ||
# | ||
|
||
.sfdx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"trailingComma": "none", | ||
"overrides": [ | ||
{ | ||
"files": "**/lwc/**/*.html", | ||
"options": { "parser": "lwc" } | ||
}, | ||
{ | ||
"files": "*.{cmp,page,component}", | ||
"options": { "parser": "html" } | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SFDX App | ||
|
||
## Dev, Build and Test | ||
|
||
## Resources | ||
|
||
## Description of Files and Directories | ||
|
||
## Issues |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<types> | ||
<members>DreamHouseSampleDataController</members> | ||
<members>DreamHouseSampleDataControllerTest</members> | ||
<name>ApexClass</name> | ||
</types> | ||
<types> | ||
<members>DreamHouseSampleData</members> | ||
<name>ApexPage</name> | ||
</types> | ||
<types> | ||
<members>Broker__c.Broker_Compact</members> | ||
<members>Property__c.Property_Compact_Layout</members> | ||
<name>CompactLayout</name> | ||
</types> | ||
<types> | ||
<members>DreamhouseLogo</members> | ||
<name>ContentAsset</name> | ||
</types> | ||
<types> | ||
<members>Dreamhouse</members> | ||
<name>CustomApplication</name> | ||
</types> | ||
<types> | ||
<members>Broker__c.Email__c</members> | ||
<members>Broker__c.Mobile_Phone__c</members> | ||
<members>Broker__c.Phone__c</members> | ||
<members>Broker__c.Picture_IMG__c</members> | ||
<members>Broker__c.Picture__c</members> | ||
<members>Broker__c.Title__c</members> | ||
<members>Property__c.Address__c</members> | ||
<members>Property__c.Assessed_Value__c</members> | ||
<members>Property__c.Baths__c</members> | ||
<members>Property__c.Beds__c</members> | ||
<members>Property__c.Broker__c</members> | ||
<members>Property__c.City__c</members> | ||
<members>Property__c.Date_Agreement__c</members> | ||
<members>Property__c.Date_Closed__c</members> | ||
<members>Property__c.Date_Contracted__c</members> | ||
<members>Property__c.Date_Listed__c</members> | ||
<members>Property__c.Date_Pre_Market__c</members> | ||
<members>Property__c.Days_On_Market__c</members> | ||
<members>Property__c.Description__c</members> | ||
<members>Property__c.Location__c</members> | ||
<members>Property__c.Picture_IMG__c</members> | ||
<members>Property__c.Picture__c</members> | ||
<members>Property__c.Price__c</members> | ||
<members>Property__c.Record_Link__c</members> | ||
<members>Property__c.RemoveMe__c</members> | ||
<members>Property__c.State__c</members> | ||
<members>Property__c.Status__c</members> | ||
<members>Property__c.Tags__c</members> | ||
<members>Property__c.Thumbnail_IMG__c</members> | ||
<members>Property__c.Thumbnail__c</members> | ||
<members>Property__c.Title__c</members> | ||
<members>Property__c.Zip__c</members> | ||
<name>CustomField</name> | ||
</types> | ||
<types> | ||
<members>Broker__c</members> | ||
<members>Property__c</members> | ||
<name>CustomObject</name> | ||
</types> | ||
<types> | ||
<members>Broker__c</members> | ||
<members>Property__c</members> | ||
<members>Sample_Data_Import</members> | ||
<name>CustomTab</name> | ||
</types> | ||
<types> | ||
<members>Property_Record_Page</members> | ||
<name>FlexiPage</name> | ||
</types> | ||
<types> | ||
<members>Broker__c-Broker Layout</members> | ||
<members>Property__c-Property Layout</members> | ||
<name>Layout</name> | ||
</types> | ||
<types> | ||
<members>Broker__c.All</members> | ||
<members>Property__c.All</members> | ||
<name>ListView</name> | ||
</types> | ||
<types> | ||
<members>Dreamhouse</members> | ||
<name>PermissionSet</name> | ||
</types> | ||
<version>43.0</version> | ||
</Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"orgName": "Company", | ||
"edition": "Developer", | ||
"settings": { | ||
"orgPreferenceSettings": { | ||
"s1DesktopEnabled": true, | ||
"s1EncryptedStoragePref2": false | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
force-app/main/default/applications/Dreamhouse.app-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionOverrides> | ||
<actionName>View</actionName> | ||
<comment>Action override created by Lightning App Builder during activation.</comment> | ||
<content>Property_Record_Page</content> | ||
<formFactor>Large</formFactor> | ||
<skipRecordTypeSelect>false</skipRecordTypeSelect> | ||
<type>Flexipage</type> | ||
<pageOrSobjectType>Property__c</pageOrSobjectType> | ||
</actionOverrides> | ||
<brand> | ||
<headerColor>#0070D2</headerColor> | ||
<logo>DreamhouseLogo</logo> | ||
<logoVersion>1</logoVersion> | ||
<shouldOverrideOrgTheme>false</shouldOverrideOrgTheme> | ||
</brand> | ||
<description>DreamHouse helps you connect with your customers in a whole new way.</description> | ||
<formFactors>Large</formFactors> | ||
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled> | ||
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled> | ||
<label>Dreamhouse</label> | ||
<navType>Standard</navType> | ||
<tabs>standard-home</tabs> | ||
<tabs>Property__c</tabs> | ||
<tabs>Broker__c</tabs> | ||
<tabs>standard-Contact</tabs> | ||
<tabs>Sample_Data_Import</tabs> | ||
<uiType>Lightning</uiType> | ||
</CustomApplication> |
8 changes: 8 additions & 0 deletions
8
force-app/main/default/classes/DreamHouseSampleDataController.cls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
global with sharing class DreamHouseSampleDataController { | ||
|
||
@RemoteAction | ||
global static void deleteAll() { | ||
DELETE [SELECT ID FROM property__c]; | ||
DELETE [SELECT ID FROM broker__c]; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
force-app/main/default/classes/DreamHouseSampleDataController.cls-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>43.0</apiVersion> | ||
<status>Active</status> | ||
</ApexClass> |
27 changes: 27 additions & 0 deletions
27
force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@isTest | ||
private class DreamHouseSampleDataControllerTest { | ||
|
||
@isTest | ||
static void test_deleteAll() { | ||
|
||
Property__c property = new Property__c(); | ||
Broker__c broker = new Broker__c(); | ||
|
||
insert property; | ||
insert broker; | ||
|
||
System.assertEquals( 1, [ SELECT count() FROM Property__c ] ); | ||
System.assertEquals( 1, [ SELECT count() FROM Broker__c ] ); | ||
|
||
Test.startTest(); | ||
|
||
DreamHouseSampleDataController.deleteAll(); | ||
|
||
Test.stopTest(); | ||
|
||
System.assertEquals( 0, [ SELECT count() FROM Property__c ] ); | ||
System.assertEquals( 0, [ SELECT count() FROM Broker__c ] ); | ||
|
||
} | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>43.0</apiVersion> | ||
<status>Active</status> | ||
</ApexClass> |
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
force-app/main/default/contentassets/DreamhouseLogo.asset-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ContentAsset xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<isVisibleByExternalUsers>false</isVisibleByExternalUsers> | ||
<language>en_US</language> | ||
<masterLabel>DreamhouseLogo</masterLabel> | ||
<relationships> | ||
<organization> | ||
<access>VIEWER</access> | ||
</organization> | ||
</relationships> | ||
<versions> | ||
<version> | ||
<number>1</number> | ||
<pathOnClient>DreamhouseLogo.png</pathOnClient> | ||
</version> | ||
</versions> | ||
</ContentAsset> |
140 changes: 140 additions & 0 deletions
140
force-app/main/default/flexipages/Property_Record_Page.flexipage-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>collapsed</name> | ||
<value>false</value> | ||
</componentInstanceProperties> | ||
<componentName>force:highlightsPanel</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>header</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>force:relatedListContainer</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>relatedTabContent</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>force:detailPanel</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>detailTabContent</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>body</name> | ||
<value>relatedTabContent</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>title</name> | ||
<value>Standard.Tab.relatedLists</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tab</componentName> | ||
</componentInstances> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>active</name> | ||
<value>true</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>body</name> | ||
<value>detailTabContent</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>title</name> | ||
<value>Standard.Tab.detail</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tab</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>maintabs</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>tabs</name> | ||
<value>maintabs</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tabset</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>main</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>runtime_sales_activities:activityPanel</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>activityTabContent</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>forceChatter:recordFeedContainer</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>feedTabContent</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>active</name> | ||
<value>true</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>body</name> | ||
<value>activityTabContent</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>title</name> | ||
<value>Standard.Tab.activity</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tab</componentName> | ||
</componentInstances> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>body</name> | ||
<value>feedTabContent</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>title</name> | ||
<value>Standard.Tab.collaborate</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tab</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>sidebartabs</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>tabs</name> | ||
<value>sidebartabs</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tabset</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>sidebar</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<masterLabel>Property Record Page</masterLabel> | ||
<parentFlexiPage>flexipage__default_rec_L</parentFlexiPage> | ||
<sobjectType>Property__c</sobjectType> | ||
<template> | ||
<name>flexipage:recordHomeTemplateDesktop</name> | ||
</template> | ||
<type>RecordPage</type> | ||
</FlexiPage> |
Oops, something went wrong.