Skip to content

Commit

Permalink
Adjusting search layouts for Measurements and Achievements (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
kryvyifedir authored Oct 15, 2024
1 parent 1efa0b9 commit bed6e85
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ScoreHub Release Notes

## version 2.0.0.WIP
### version 2.0.0.3
- Adjusting "Recently Viewed" list views for Achievements and Measurements to have the same set of fields as "All Measurements" and "All Achievements" views

### version 2.0.0.2
- Unsubscribing from `AchievementReached__e` platform event during `unrender` of ScoreHubUtility component

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,15 @@
<allowInChatterGroups>false</allowInChatterGroups>
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
<deploymentStatus>Deployed</deploymentStatus>
<deprecated>false</deprecated>
<description>The list of achievement that users can get</description>
<enableActivities>false</enableActivities>
<enableBulkApi>true</enableBulkApi>
<enableFeeds>false</enableFeeds>
<enableHistory>false</enableHistory>
<enableLicensing>false</enableLicensing>
<enableReports>false</enableReports>
<enableSearch>false</enableSearch>
<enableSearch>true</enableSearch>
<enableSharing>true</enableSharing>
<enableStreamingApi>true</enableStreamingApi>
<externalSharingModel>ControlledByParent</externalSharingModel>
Expand All @@ -160,7 +161,13 @@
<type>Text</type>
</nameField>
<pluralLabel>Achievements</pluralLabel>
<searchLayouts></searchLayouts>
<searchLayouts>
<searchResultsAdditionalFields>UITitle__c</searchResultsAdditionalFields>
<searchResultsAdditionalFields>UIDescription__c</searchResultsAdditionalFields>
<searchResultsAdditionalFields>Measurement__c</searchResultsAdditionalFields>
<searchResultsAdditionalFields>Goal__c</searchResultsAdditionalFields>
<searchResultsAdditionalFields>Score__c</searchResultsAdditionalFields>
</searchLayouts>
<sharingModel>ControlledByParent</sharingModel>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Description__c</fullName>
<deprecated>false</deprecated>
<description>Short description for the achievement</description>
<externalId>false</externalId>
<inlineHelpText>Short description used by admin users to better identify list of achievements</inlineHelpText>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Goal__c</fullName>
<deprecated>false</deprecated>
<description>Numerical value representing a goal number that has to be reached for achievement to be tracked as &quot;Reached&quot; by the user</description>
<externalId>false</externalId>
<label>Goal</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Measurement__c</fullName>
<deprecated>false</deprecated>
<externalId>false</externalId>
<label>Measurement</label>
<referenceTo>Measurement__c</referenceTo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Score__c</fullName>
<defaultValue>0</defaultValue>
<deprecated>false</deprecated>
<description>Number of points that user gets, once reaching the achievement. Used to calculate high-score on the leaderboard</description>
<externalId>false</externalId>
<label>Score</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>UIDescription__c</fullName>
<deprecated>false</deprecated>
<description>Achievement description that is going to be shown in the UI elements</description>
<externalId>false</externalId>
<inlineHelpText>Supports plain text, as well as reference to the Custom Labels API Name</inlineHelpText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>UITitle__c</fullName>
<caseSensitive>false</caseSensitive>
<deprecated>false</deprecated>
<description>Achievement title that is going to be shown in the UI elements</description>
<externalId>false</externalId>
<inlineHelpText>Supports plain text, as well as reference to the Custom Labels API Name</inlineHelpText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,15 @@
<allowInChatterGroups>false</allowInChatterGroups>
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
<deploymentStatus>Deployed</deploymentStatus>
<deprecated>false</deprecated>
<description>A list of system-wide statistics that are being counted towards the goals defined in Achievement sObject. (For example: number of converted lead)</description>
<enableActivities>false</enableActivities>
<enableBulkApi>true</enableBulkApi>
<enableFeeds>false</enableFeeds>
<enableHistory>false</enableHistory>
<enableLicensing>false</enableLicensing>
<enableReports>false</enableReports>
<enableSearch>false</enableSearch>
<enableSearch>true</enableSearch>
<enableSharing>true</enableSharing>
<enableStreamingApi>true</enableStreamingApi>
<externalSharingModel>Private</externalSharingModel>
Expand All @@ -161,7 +162,10 @@
<type>AutoNumber</type>
</nameField>
<pluralLabel>Measurements</pluralLabel>
<searchLayouts></searchLayouts>
<searchLayouts>
<searchResultsAdditionalFields>UniqueIdentifier__c</searchResultsAdditionalFields>
<searchResultsAdditionalFields>Description__c</searchResultsAdditionalFields>
</searchLayouts>
<sharingModel>ReadWrite</sharingModel>
<visibility>Public</visibility>
</CustomObject>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Description__c</fullName>
<deprecated>false</deprecated>
<externalId>false</externalId>
<label>Description</label>
<length>131072</length>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>UniqueIdentifier__c</fullName>
<caseSensitive>false</caseSensitive>
<deprecated>false</deprecated>
<description>Unique name for the measurement</description>
<externalId>false</externalId>
<label>Unique Identifier</label>
Expand Down

0 comments on commit bed6e85

Please sign in to comment.