@salesforce/ui-bundle-template-app-react-sample-b2x 1.119.2 → 1.119.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +19 -0
- package/dist/force-app/main/default/classes/MaintenanceRequestTriggerHandler_Test.cls +5 -5
- package/dist/force-app/main/default/data/Maintenance_Request__c.json +8 -8
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Priority__c.field-meta.xml +2 -2
- package/dist/force-app/main/default/uiBundles/propertyrentalapp/package.json +3 -3
- package/dist/force-app/main/default/uiBundles/propertyrentalapp/src/pages/Maintenance.tsx +2 -2
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/dist/scripts/org-setup.mjs +3 -3
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.119.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.3...v1.119.4) (2026-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* replace undefined WEBAPPLICATIONS_DIR with UIBUNDLES_DIR in org-setup ([#398](https://github.com/salesforce-experience-platform-emu/webapps/issues/398)) ([615d499](https://github.com/salesforce-experience-platform-emu/webapps/commit/615d49976fd4b92a840d25db79591e2818938a92))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.119.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.2...v1.119.3) (2026-03-31)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [1.119.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.1...v1.119.2) (2026-03-31)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -103,7 +103,7 @@ private class MaintenanceRequestTriggerHandler_Test {
|
|
|
103
103
|
Maintenance_Request__c request = new Maintenance_Request__c(
|
|
104
104
|
Type__c = 'Electrical',
|
|
105
105
|
Description__c = 'Outlet not working',
|
|
106
|
-
Priority__c = 'High
|
|
106
|
+
Priority__c = 'High'
|
|
107
107
|
);
|
|
108
108
|
insert request;
|
|
109
109
|
Test.stopTest();
|
|
@@ -129,7 +129,7 @@ private class MaintenanceRequestTriggerHandler_Test {
|
|
|
129
129
|
Maintenance_Request__c request = new Maintenance_Request__c(
|
|
130
130
|
Type__c = 'HVAC',
|
|
131
131
|
Description__c = 'AC not cooling',
|
|
132
|
-
Priority__c = 'High
|
|
132
|
+
Priority__c = 'High'
|
|
133
133
|
);
|
|
134
134
|
insert request;
|
|
135
135
|
Test.stopTest();
|
|
@@ -203,10 +203,10 @@ private class MaintenanceRequestTriggerHandler_Test {
|
|
|
203
203
|
static void testBulkRequestAssignment() {
|
|
204
204
|
Test.startTest();
|
|
205
205
|
List<Maintenance_Request__c> requests = new List<Maintenance_Request__c>{
|
|
206
|
-
new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 1', Priority__c = 'High
|
|
206
|
+
new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 1', Priority__c = 'High'),
|
|
207
207
|
new Maintenance_Request__c(Type__c = 'Electrical', Description__c = 'Issue 1', Priority__c = 'Standard'),
|
|
208
208
|
new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 2', Priority__c = 'Standard'),
|
|
209
|
-
new Maintenance_Request__c(Type__c = 'HVAC', Description__c = 'AC Issue', Priority__c = 'High
|
|
209
|
+
new Maintenance_Request__c(Type__c = 'HVAC', Description__c = 'AC Issue', Priority__c = 'High'),
|
|
210
210
|
new Maintenance_Request__c(Type__c = 'Appliance', Description__c = 'Fridge Issue', Priority__c = 'Standard')
|
|
211
211
|
};
|
|
212
212
|
insert requests;
|
|
@@ -261,7 +261,7 @@ private class MaintenanceRequestTriggerHandler_Test {
|
|
|
261
261
|
Maintenance_Request__c request = new Maintenance_Request__c(
|
|
262
262
|
Type__c = 'Plumbing',
|
|
263
263
|
Description__c = 'Emergency leak',
|
|
264
|
-
Priority__c = 'High
|
|
264
|
+
Priority__c = 'High'
|
|
265
265
|
);
|
|
266
266
|
insert request;
|
|
267
267
|
Test.stopTest();
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"User__c": "@TenantRef2",
|
|
27
27
|
"Description__c": "Main bedroom electrical outlet stopped working. No power to the entire wall. Possible circuit breaker issue.",
|
|
28
28
|
"Type__c": "Electrical",
|
|
29
|
-
"Priority__c": "High
|
|
29
|
+
"Priority__c": "High",
|
|
30
30
|
"Status__c": "Resolved",
|
|
31
31
|
"Est_Cost__c": 200.0,
|
|
32
32
|
"Actual_Cost__c": 185.0,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"User__c": "@TenantRef3",
|
|
44
44
|
"Description__c": "Air conditioning unit is making loud grinding noises when running. May need bearing replacement or refrigerant check.",
|
|
45
45
|
"Type__c": "HVAC",
|
|
46
|
-
"Priority__c": "High
|
|
46
|
+
"Priority__c": "High",
|
|
47
47
|
"Status__c": "In Progress",
|
|
48
48
|
"Est_Cost__c": 300.0,
|
|
49
49
|
"Actual_Cost__c": null,
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"User__c": "@TenantRef15",
|
|
163
163
|
"Description__c": "Post-tenant move-out deep cleaning including carpets, windows, appliances, and all surfaces.",
|
|
164
164
|
"Type__c": "Appliance",
|
|
165
|
-
"Priority__c": "High
|
|
165
|
+
"Priority__c": "High",
|
|
166
166
|
"Status__c": "Resolved",
|
|
167
167
|
"Est_Cost__c": 450.0,
|
|
168
168
|
"Actual_Cost__c": 425.0,
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"User__c": "@TenantRef8",
|
|
180
180
|
"Description__c": "Annual roof inspection revealed loose tiles that need securing and replacement before winter season.",
|
|
181
181
|
"Type__c": "Plumbing",
|
|
182
|
-
"Priority__c": "High
|
|
182
|
+
"Priority__c": "High",
|
|
183
183
|
"Status__c": "In Progress",
|
|
184
184
|
"Est_Cost__c": 800.0,
|
|
185
185
|
"Actual_Cost__c": null,
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"User__c": "@TenantRef7",
|
|
214
214
|
"Description__c": "Main entrance lock is sticking and needs replacement for new tenant security and smooth operation.",
|
|
215
215
|
"Type__c": "Appliance",
|
|
216
|
-
"Priority__c": "High
|
|
216
|
+
"Priority__c": "High",
|
|
217
217
|
"Status__c": "Resolved",
|
|
218
218
|
"Est_Cost__c": 120.0,
|
|
219
219
|
"Actual_Cost__c": 110.0,
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"User__c": "@TenantRef6",
|
|
282
282
|
"Description__c": "Monthly elevator maintenance and safety inspection as required by local building code regulations.",
|
|
283
283
|
"Type__c": "Electrical",
|
|
284
|
-
"Priority__c": "High
|
|
284
|
+
"Priority__c": "High",
|
|
285
285
|
"Status__c": "Resolved",
|
|
286
286
|
"Est_Cost__c": 300.0,
|
|
287
287
|
"Actual_Cost__c": 300.0,
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
"User__c": "@TenantRef10",
|
|
367
367
|
"Description__c": "Annual electrical panel inspection and circuit breaker testing to ensure electrical safety compliance.",
|
|
368
368
|
"Type__c": "Electrical",
|
|
369
|
-
"Priority__c": "High
|
|
369
|
+
"Priority__c": "High",
|
|
370
370
|
"Status__c": "New",
|
|
371
371
|
"Est_Cost__c": 250.0,
|
|
372
372
|
"Actual_Cost__c": null,
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"User__c": "@TenantRef15",
|
|
418
418
|
"Description__c": "Install new washer and dryer units in laundry room for incoming tenant. Connect water, drain, and electrical.",
|
|
419
419
|
"Type__c": "Appliance",
|
|
420
|
-
"Priority__c": "High
|
|
420
|
+
"Priority__c": "High",
|
|
421
421
|
"Status__c": "In Progress",
|
|
422
422
|
"Est_Cost__c": 200.0,
|
|
423
423
|
"Actual_Cost__c": null,
|
package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Priority__c.field-meta.xml
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
<valueSetDefinition>
|
|
14
14
|
<sorted>false</sorted>
|
|
15
15
|
<value>
|
|
16
|
-
<fullName>Emergency
|
|
16
|
+
<fullName>Emergency</fullName>
|
|
17
17
|
<default>false</default>
|
|
18
18
|
<label>Emergency (2hr)</label>
|
|
19
19
|
</value>
|
|
20
20
|
<value>
|
|
21
|
-
<fullName>High
|
|
21
|
+
<fullName>High</fullName>
|
|
22
22
|
<default>false</default>
|
|
23
23
|
<label>High (Same Day)</label>
|
|
24
24
|
</value>
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.119.
|
|
19
|
-
"@salesforce/ui-bundle": "^1.119.
|
|
18
|
+
"@salesforce/sdk-data": "^1.119.4",
|
|
19
|
+
"@salesforce/ui-bundle": "^1.119.4",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"class-variance-authority": "^0.7.1",
|
|
22
22
|
"clsx": "^2.1.1",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
48
48
|
"@graphql-tools/utils": "^11.0.0",
|
|
49
49
|
"@playwright/test": "^1.49.0",
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^1.119.
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^1.119.4",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -44,8 +44,8 @@ const TYPE_OPTIONS = [
|
|
|
44
44
|
|
|
45
45
|
const PRIORITY_OPTIONS = [
|
|
46
46
|
{ value: "Standard", label: "Standard" },
|
|
47
|
-
{ value: "High
|
|
48
|
-
{ value: "Emergency
|
|
47
|
+
{ value: "High", label: "High (Same Day)" },
|
|
48
|
+
{ value: "Emergency", label: "Emergency (2hr)" },
|
|
49
49
|
] as const;
|
|
50
50
|
|
|
51
51
|
const FILTER_CONFIGS: FilterFieldConfig[] = [];
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "1.119.
|
|
3
|
+
"version": "1.119.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
9
|
-
"version": "1.119.
|
|
9
|
+
"version": "1.119.4",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@lwc/eslint-plugin-lwc": "^3.3.0",
|
package/dist/package.json
CHANGED
|
@@ -322,10 +322,10 @@ async function main() {
|
|
|
322
322
|
const gitignoreTemplates = loadGitignoreTemplates();
|
|
323
323
|
if (gitignoreTemplates) {
|
|
324
324
|
ensureGitignore(ROOT, gitignoreTemplates.sfdx);
|
|
325
|
-
if (existsSync(
|
|
326
|
-
for (const entry of readdirSync(
|
|
325
|
+
if (existsSync(UIBUNDLES_DIR)) {
|
|
326
|
+
for (const entry of readdirSync(UIBUNDLES_DIR, { withFileTypes: true })) {
|
|
327
327
|
if (entry.isDirectory() && !entry.name.startsWith('.')) {
|
|
328
|
-
ensureGitignore(resolve(
|
|
328
|
+
ensureGitignore(resolve(UIBUNDLES_DIR, entry.name), gitignoreTemplates.webapp);
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
}
|