Skip to content

Commit

Permalink
Merge branch 'main' into feature/dashboard-and-home
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeerkatz authored Aug 13, 2024
2 parents 674bbe6 + df2c3f7 commit e713278
Show file tree
Hide file tree
Showing 37 changed files with 84 additions and 98 deletions.
21 changes: 16 additions & 5 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,35 @@ project:


flows:
dev_org:
config_with_data:
steps:
10:
1:
task: deploy_dlrs
11:
2:
task: assign_permission_sets
options:
api_names:
- VolunteerManager
12:
3:
task: load_dataset
options:
mapping: datasets/mapping.yml
sql_path: datasets/sample-animalshelter.sql
drop_missing_schema: True
13:
4:
task: reorder_app_menu

dev_org:
steps:
10:
flow: config_with_data

install_beta:
steps:
10:
flow: config_with_data


make_community:
steps:
1:
Expand Down
Binary file modified docs/images/volunteers_erd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<operator>greaterThan</operator>
<value>0</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Tabular</format>
<name>Activities with Volunteers Needed</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<operator>equals</operator>
<value>LAST_MONTH</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<operator>equals</operator>
<value>THIS_YEAR</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<operator>equals</operator>
<value>1</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Tabular</format>
<name>Available Volunteer Activities</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<operator>greaterOrEqual</operator>
<value>TODAY</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<operator>greaterOrEqual</operator>
<value>N_DAYS_AGO:120</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Tabular</format>
<name>Recent Volunteers</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<operator>greaterThan</operator>
<value>0</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Tabular</format>
<name>Top Volunteers by Lifetime Hours</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
<operator>equals</operator>
<value>LAST_N_DAYS:120</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<operator>equals</operator>
<value>THIS_YEAR</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<operator>greaterOrEqual</operator>
<value>TODAY</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<operator>greaterOrEqual</operator>
<value>TODAY</value>
</criteriaItems>
<language>en_US</language>
</filter>
<format>Summary</format>
<groupingsDown>
Expand Down
2 changes: 1 addition & 1 deletion sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"default": true
}
],
"namespace": "v4us",
"namespace": "v4ustest",
"sourceApiVersion": "58.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerActivityAssignmentTest
private static void testTrigger()
{
// Force the dlrs_VolunteerActivityAssignmentTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerActivityAssignment__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerActivityAssignment__c());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerActivityTest
private static void testTrigger()
{
// Force the dlrs_VolunteerActivityTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerActivity__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerActivity__c());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerHoursLogTest
private static void testTrigger()
{
// Force the dlrs_VolunteerHoursLogTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerHoursLog__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerHoursLog__c());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerPositionAssignmentTest
private static void testTrigger()
{
// Force the dlrs_VolunteerPositionAssignmentTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerPositionAssignment__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerPositionAssignment__c());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerShiftAssignmentTest
private static void testTrigger()
{
// Force the dlrs_VolunteerShiftAssignmentTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerShiftAssignment__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerShiftAssignment__c());
}
}
2 changes: 1 addition & 1 deletion unpackaged/config/dlrs/classes/dlrs_VolunteerShiftTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ private class dlrs_VolunteerShiftTest
private static void testTrigger()
{
// Force the dlrs_VolunteerShiftTrigger to be invoked, fails the test if org config or other Apex code prevents this.
dlrs.RollupService.testHandler(new VolunteerShift__c());
dlrs.RollupService.testHandler(new %%%NAMESPACE%%%VolunteerShift__c());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</values>
<values>
<field>dlrs__AggregateResultField__c</field>
<value xsi:type="xsd:string">FirstVolunteerDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%FirstVolunteerDate__c</value>
</values>
<values>
<field>dlrs__CalculationMode__c</field>
Expand All @@ -28,7 +28,7 @@
</values>
<values>
<field>dlrs__ChildObject__c</field>
<value xsi:type="xsd:string">VolunteerHoursLog__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerHoursLog__c</value>
</values>
<values>
<field>dlrs__ConcatenateDelimiter__c</field>
Expand All @@ -40,11 +40,11 @@
</values>
<values>
<field>dlrs__FieldToAggregate__c</field>
<value xsi:type="xsd:string">StartDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDate__c</value>
</values>
<values>
<field>dlrs__FieldToOrderBy__c</field>
<value xsi:type="xsd:string">StartDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDate__c</value>
</values>
<values>
<field>dlrs__ParentObject__c</field>
Expand All @@ -60,7 +60,7 @@
</values>
<values>
<field>dlrs__RelationshipField__c</field>
<value xsi:type="xsd:string">VolunteerContact__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerContact__c</value>
</values>
<values>
<field>dlrs__RowLimit__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</values>
<values>
<field>dlrs__AggregateResultField__c</field>
<value xsi:type="xsd:string">FirstVolunteerDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%FirstVolunteerDate__c</value>
</values>
<values>
<field>dlrs__CalculationMode__c</field>
Expand All @@ -28,7 +28,7 @@
</values>
<values>
<field>dlrs__ChildObject__c</field>
<value xsi:type="xsd:string">VolunteerHoursLog__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerHoursLog__c</value>
</values>
<values>
<field>dlrs__ConcatenateDelimiter__c</field>
Expand All @@ -40,11 +40,11 @@
</values>
<values>
<field>dlrs__FieldToAggregate__c</field>
<value xsi:type="xsd:string">StartDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDate__c</value>
</values>
<values>
<field>dlrs__FieldToOrderBy__c</field>
<value xsi:type="xsd:string">StartDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDate__c</value>
</values>
<values>
<field>dlrs__ParentObject__c</field>
Expand All @@ -60,7 +60,7 @@
</values>
<values>
<field>dlrs__RelationshipField__c</field>
<value xsi:type="xsd:string">VolunteerContact__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerContact__c</value>
</values>
<values>
<field>dlrs__RowLimit__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</values>
<values>
<field>dlrs__AggregateResultField__c</field>
<value xsi:type="xsd:string">VolunteerHours__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerHours__c</value>
</values>
<values>
<field>dlrs__CalculationMode__c</field>
Expand All @@ -28,7 +28,7 @@
</values>
<values>
<field>dlrs__ChildObject__c</field>
<value xsi:type="xsd:string">VolunteerHoursLog__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerHoursLog__c</value>
</values>
<values>
<field>dlrs__ConcatenateDelimiter__c</field>
Expand All @@ -40,11 +40,11 @@
</values>
<values>
<field>dlrs__FieldToAggregate__c</field>
<value xsi:type="xsd:string">Hours__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%Hours__c</value>
</values>
<values>
<field>dlrs__FieldToOrderBy__c</field>
<value xsi:type="xsd:string">StartDate__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDate__c</value>
</values>
<values>
<field>dlrs__ParentObject__c</field>
Expand All @@ -60,7 +60,7 @@
</values>
<values>
<field>dlrs__RelationshipField__c</field>
<value xsi:type="xsd:string">VolunteerContact__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerContact__c</value>
</values>
<values>
<field>dlrs__RowLimit__c</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</values>
<values>
<field>dlrs__AggregateResultField__c</field>
<value xsi:type="xsd:string">FirstShiftDateTime__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%FirstShiftDateTime__c</value>
</values>
<values>
<field>dlrs__CalculationMode__c</field>
Expand All @@ -28,7 +28,7 @@
</values>
<values>
<field>dlrs__ChildObject__c</field>
<value xsi:type="xsd:string">VolunteerShift__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerShift__c</value>
</values>
<values>
<field>dlrs__ConcatenateDelimiter__c</field>
Expand All @@ -40,15 +40,15 @@
</values>
<values>
<field>dlrs__FieldToAggregate__c</field>
<value xsi:type="xsd:string">StartDateTime__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDateTime__c</value>
</values>
<values>
<field>dlrs__FieldToOrderBy__c</field>
<value xsi:type="xsd:string">StartDateTime__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%StartDateTime__c</value>
</values>
<values>
<field>dlrs__ParentObject__c</field>
<value xsi:type="xsd:string">VolunteerActivity__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerActivity__c</value>
</values>
<values>
<field>dlrs__RelationshipCriteriaFields__c</field>
Expand All @@ -60,7 +60,7 @@
</values>
<values>
<field>dlrs__RelationshipField__c</field>
<value xsi:type="xsd:string">VolunteerActivity__c</value>
<value xsi:type="xsd:string">%%%NAMESPACE%%%VolunteerActivity__c</value>
</values>
<values>
<field>dlrs__RowLimit__c</field>
Expand Down
Loading

0 comments on commit e713278

Please sign in to comment.