-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dylan Gerow
committed
Apr 28, 2021
0 parents
commit f34c135
Showing
132 changed files
with
33,813 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,14 @@ | ||
# 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 | ||
# | ||
|
||
AppSwitcher.appMenu | ||
Admin.profile-meta.xml | ||
Security.settings-meta.xml | ||
*.objectTranslation | ||
package.xml | ||
force-app/main/default/profiles/* | ||
force-app/main/default/settings/* | ||
**/jsconfig.json | ||
|
||
**/.eslintrc.json |
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 @@ | ||
settings.json | ||
apex.db | ||
.sfdx | ||
.vscode | ||
src | ||
|
||
\.DS_Store | ||
.localdevserver | ||
jsconfig.json |
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,23 @@ | ||
{ | ||
"trailingComma": "none", | ||
"overrides": [ | ||
{ | ||
"files": "**/lwc/**/*.html", | ||
"options": { "parser": "lwc" } | ||
}, | ||
{ | ||
"files": "*.{cmp,page,component}", | ||
"options": { "parser": "html" } | ||
}, | ||
{ | ||
"files": "*.{cls,trigger}", | ||
"options": { | ||
"tabWidth": 4, | ||
"printWidth": 100, | ||
"useTabs": false, | ||
"endOfLine": "lf", | ||
"requirePragma": true | ||
} | ||
} | ||
] | ||
} |
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,46 @@ | ||
# Metadata Tracker | ||
|
||
The Metadata Tracker allows you to track your metadata from within your Salesforce org, making it easier to manage what needs to be deployed during a project. | ||
|
||
## Installation | ||
|
||
1. Ensure my domain is enabled (this is needed for any lightning components to render!) | ||
2. Navigate to the latest release for a package installation link: [latest release](https://github.com/dmgerow/metadata-tracker/releases/latest) | ||
3. Install for admins only | ||
4. Assign the Metadata Tracker Permission Set to your team | ||
5. Configure the custom settings if you want to do special things (only use org custom settings) | ||
|
||
## Usage | ||
|
||
The most up to date information in the help component can be found [here](https://docs.google.com/document/d/1Vo7t0vxxUo2qcHiKo7uifm5SY3G8Rd-u41MDNAuKKys/edit#) | ||
|
||
### Tracking Metadata | ||
|
||
1. Open the Metadata Tracker App | ||
2. Select the metadata type you would like to add | ||
3. Select the piece of metadata that you would like to add or remove from the tracker | ||
|
||
### Generating Packages (for constructive and destructive changes) | ||
|
||
1. Open the Metadata Tracker App | ||
2. Click "Get Packages" | ||
3. Specify if you want all tracked metadata, or only metadata tracked during a specified time range. | ||
4. Download zip | ||
5. Open zip to find the package and destructiveChanges files | ||
|
||
### Reporting on Tracked Metadata | ||
|
||
1. Open the Metadata Tracker Report Folder | ||
2. Click a report or make your own | ||
|
||
## Troubleshooting | ||
|
||
Q: I cannot see the utility bar in the Metadata Tracker App, what is wrong? | ||
|
||
A: Try adding the component to another app. | ||
|
||
## Technical Setup Notes | ||
|
||
To assign yourself the Metadata Tracker Permission Set | ||
|
||
`sfdx force:user:permset:assign -n MetadataTracker` |
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 @@ | ||
{ | ||
"orgName": "DGerow Company", | ||
"edition": "Developer", | ||
"settings": { | ||
"lightningExperienceSettings": { | ||
"enableS1DesktopEnabled": true | ||
}, | ||
"mobileSettings": { | ||
"enableS1EncryptedStoragePref2": false | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
force-app/main/default/applications/MetadataTracker.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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<brand> | ||
<headerColor>#0070D2</headerColor> | ||
<shouldOverrideOrgTheme>false</shouldOverrideOrgTheme> | ||
</brand> | ||
<formFactors>Large</formFactors> | ||
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled> | ||
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled> | ||
<label>Metadata Tracker</label> | ||
<navType>Standard</navType> | ||
<tabs>MetadataTrackerHome</tabs> | ||
<tabs>standard-report</tabs> | ||
<tabs>MetadataFile__c</tabs> | ||
<tabs>Help</tabs> | ||
<uiType>Lightning</uiType> | ||
</CustomApplication> |
31 changes: 31 additions & 0 deletions
31
force-app/main/default/applications/MetadataTrackerConsole.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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<brand> | ||
<headerColor>#0070D2</headerColor> | ||
<shouldOverrideOrgTheme>false</shouldOverrideOrgTheme> | ||
</brand> | ||
<formFactors>Large</formFactors> | ||
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled> | ||
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled> | ||
<label>Metadata Tracker Console</label> | ||
<navType>Console</navType> | ||
<tabs>MetadataTrackerHome</tabs> | ||
<tabs>standard-report</tabs> | ||
<tabs>MetadataFile__c</tabs> | ||
<tabs>Help</tabs> | ||
<uiType>Lightning</uiType> | ||
<workspaceConfig> | ||
<mappings> | ||
<tab>Help</tab> | ||
</mappings> | ||
<mappings> | ||
<tab>MetadataFile__c</tab> | ||
</mappings> | ||
<mappings> | ||
<tab>MetadataTrackerHome</tab> | ||
</mappings> | ||
<mappings> | ||
<tab>standard-report</tab> | ||
</mappings> | ||
</workspaceConfig> | ||
</CustomApplication> |
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 @@ | ||
<aura:event type="COMPONENT" description="Close the feedback modal" /> |
5 changes: 5 additions & 0 deletions
5
force-app/main/default/aura/closeFeedback/closeFeedback.evt-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" ?> | ||
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="closeFeedback"> | ||
<apiVersion>51.0</apiVersion> | ||
<description>A Lightning Event Bundle</description> | ||
</AuraDefinitionBundle> |
1 change: 1 addition & 0 deletions
1
force-app/main/default/aura/closePackageGenerator/closePackageGenerator.evt
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 @@ | ||
<aura:event type="COMPONENT" description="Close the package generator" /> |
5 changes: 5 additions & 0 deletions
5
force-app/main/default/aura/closePackageGenerator/closePackageGenerator.evt-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" ?> | ||
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="closePackageGenerator"> | ||
<apiVersion>51.0</apiVersion> | ||
<description>A Lightning Event Bundle</description> | ||
</AuraDefinitionBundle> |
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,6 @@ | ||
<aura:documentation> | ||
<aura:description>Documentation</aura:description> | ||
<aura:example name="ExampleName" ref="exampleComponentName" label="Label"> | ||
Example Description | ||
</aura:example> | ||
</aura:documentation> |
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,31 @@ | ||
<aura:component controller="FeedbackController"> | ||
|
||
<!-- Button Attributes --> | ||
<aura:attribute name="buttonDisabled" type="Boolean" default="true" /> | ||
|
||
<aura:attribute name="body" type="String"/> | ||
|
||
<!-- Events --> | ||
<aura:registerEvent name="closeFeedback" type="c:closeFeedback" /> | ||
|
||
<div class="demo-only" style="height: 640px;"> | ||
<section role="dialog" tabindex="-1" aria-labelledby="feedback-header" aria-modal="true" aria-describedby="feedback-body" | ||
class="slds-modal slds-fade-in-open"> | ||
<div class="slds-modal__container"> | ||
<header class="slds-modal__header"> | ||
<h2 id="feedback-header" class="slds-text-heading_medium slds-hyphenate">Submit Feedback</h2> | ||
</header> | ||
<div class="slds-modal__content slds-p-around_medium" id="feedback-body"> | ||
<lightning:textarea name="body" label="Description" | ||
placeholder="Enter description here" value="{!v.body}" onchange="{!c.doValidateBody}"/> | ||
</div> | ||
<footer class="slds-modal__footer"> | ||
<lightning:button label="Cancel" onclick="{!c.doCloseFeedback}" /> | ||
<lightning:button variant="brand" label="Submit" disabled="{!v.buttonDisabled}" onclick="{!c.doSubmitFeedback}" /> | ||
</footer> | ||
</div> | ||
</section> | ||
<div class="slds-backdrop slds-backdrop_open"></div> | ||
</div> | ||
|
||
</aura:component> |
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" ?> | ||
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="feedback"> | ||
<apiVersion>51.0</apiVersion> | ||
<description>A Lightning Component Bundle</description> | ||
</AuraDefinitionBundle> |
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,2 @@ | ||
.THIS { | ||
} |
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,3 @@ | ||
<design:component > | ||
|
||
</design:component> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
force-app/main/default/aura/feedback/feedbackController.js
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,15 @@ | ||
({ | ||
doSubmitFeedback: function (component, event, helper) { | ||
helper.doSubmitFeedback(component); | ||
}, | ||
doCloseFeedback: function (component, event, helper) { | ||
helper.doCloseFeedback(component); | ||
}, | ||
doValidateBody: function (component, event, helper) { | ||
if (component.get("v.body")) { | ||
component.set("v.buttonDisabled",false); | ||
} else { | ||
component.set("v.buttonDisabled", true); | ||
} | ||
} | ||
}) |
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,46 @@ | ||
({ | ||
doSubmitFeedback: function (component) { | ||
component.set("v.buttonDisabled", true); | ||
var action = component.get("c.sendFeedback"); | ||
var requestModel = { | ||
"body": component.get("v.body") | ||
}; | ||
var requestString = JSON.stringify(requestModel); | ||
console.log(requestString); | ||
action.setParams({ | ||
"request": requestString | ||
}); | ||
action.setCallback(this, function (response) { | ||
var state = response.getState(); | ||
if (state === "SUCCESS") { | ||
this.doFireToastEvent('Feedback submitted', 'success'); | ||
this.doCloseFeedback(component); | ||
} else if (state === "ERROR") { | ||
var errors = response.getError(); | ||
if (errors) { | ||
if (errors[0] && errors[0].message) { | ||
console.log(errors[0].message); | ||
this.doFireToastEvent(errors[0].message, 'error'); | ||
} | ||
} else { | ||
console.log("Unknown error"); | ||
} | ||
} | ||
component.set("v.buttonDisabled", false); | ||
}); | ||
$A.enqueueAction(action); | ||
}, | ||
doFireToastEvent: function (message, type) { | ||
var toastEvent = $A.get("e.force:showToast"); | ||
toastEvent.setParams({ | ||
type: type, | ||
mode: 'dismissible', | ||
message: message | ||
}); | ||
toastEvent.fire(); | ||
}, | ||
doCloseFeedback: function (component) { | ||
var closeEvent = component.getEvent("closeFeedback"); | ||
closeEvent.fire(); | ||
} | ||
}) |
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 @@ | ||
({ | ||
|
||
// Your renderer method overrides go here | ||
|
||
}) |
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,6 @@ | ||
<aura:documentation> | ||
<aura:description>Documentation</aura:description> | ||
<aura:example name="ExampleName" ref="exampleComponentName" label="Label"> | ||
Example Description | ||
</aura:example> | ||
</aura:documentation> |
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,6 @@ | ||
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global"> | ||
<div class="slds-align_absolute-center"> | ||
<iframe style="width:816px; height:960px; border:none;" | ||
src="https://docs.google.com/document/d/e/2PACX-1vSQw2p9z7rUAkr-2OTUJJg-TzfHKxIHimYr51vIiiAK7rFC6FGvfj6_m5aonhJJkCughXewBGwp-Qqi/pub?embedded=true" /> | ||
</div> | ||
</aura:component> |
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" ?> | ||
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="help"> | ||
<apiVersion>51.0</apiVersion> | ||
<description>A Lightning Component Bundle</description> | ||
</AuraDefinitionBundle> |
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,2 @@ | ||
.THIS { | ||
} |
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,3 @@ | ||
<design:component label="Metadata Tracker Help"> | ||
|
||
</design:component> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
({ | ||
myAction : function(component, event, helper) { | ||
|
||
} | ||
}) |
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 @@ | ||
({ | ||
helperMethod : function() { | ||
|
||
} | ||
}) |
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 @@ | ||
({ | ||
|
||
// Your renderer method overrides go here | ||
|
||
}) |
6 changes: 6 additions & 0 deletions
6
force-app/main/default/aura/metadataTracker/metadataTracker.auradoc
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,6 @@ | ||
<aura:documentation> | ||
<aura:description>Documentation</aura:description> | ||
<aura:example name="ExampleName" ref="exampleComponentName" label="Label"> | ||
Example Description | ||
</aura:example> | ||
</aura:documentation> |
Oops, something went wrong.