@genesislcap/blank-app-seed 5.4.0-prerelease.7 → 5.4.0-prerelease.9

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "5.4.0-prerelease.7",
4
+ "version": "5.4.0-prerelease.9",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -144,6 +144,12 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
144
144
  const [uiSchema, setUiSchema] = useState<UiSchema | null>(null);
145
145
  const [isModalVisible, setIsModalVisible] = useState<boolean>(false);
146
146
 
147
+ function confirmationMessage() {
148
+ if (!activeCustomEvent) return null;
149
+ const event = customEvents.find(e => e.name === activeCustomEvent.name);
150
+ return event?.confirmSubmit?.state === 'enabled' ? event.confirmSubmit.message : null;
151
+ }
152
+
147
153
  useEffect(() => {
148
154
  if (activeCustomEvent) {
149
155
  setIsModalVisible(true);
@@ -162,6 +168,7 @@ export const {{pascalCase tile.componentName}}: React.FC = () => {
162
168
  formResourceName={resourceName}
163
169
  formUiSchema={uiSchema}
164
170
  editedEntity={customEventFormData}
171
+ confirmationMessage={confirmationMessage()}
165
172
  ></smart-form-modal>,
166
173
  document.querySelector('rapid-design-system-provider')!
167
174
  );
@@ -59,6 +59,7 @@ ${whenElse(
59
59
  :formResourceName=${(x) => x.getCustomEventResourceName()}
60
60
  :formUiSchema=${(x) => x.getCustomEventUiSchema()}
61
61
  :editedEntity=${(x) => x.customEventFormData}
62
+ confirmation-message="${(x) => x.getActiveCustomEvent()?.confirmSubmit?.state === 'enabled' ? x.getActiveCustomEvent().confirmSubmit.message : null}"
62
63
  ></smart-form-modal>
63
64
  {{/if}}
64
65
  `,
@@ -1,5 +1,5 @@
1
1
  {
2
- "UI": "14.284.2",
2
+ "UI": "14.306.0",
3
3
  "GSF": "8.13.0",
4
4
  "Auth": "8.13.0"
5
5
  }
@@ -53,6 +53,9 @@ jobs:
53
53
  working-directory: /tmp/testapp/client
54
54
  run: npm run lint
55
55
 
56
+ - name: Install Chromium
57
+ run: npx playwright install chromium --with-deps
58
+
56
59
  - name: Test (unit & integration UI)
57
60
  working-directory: /tmp/testapp/client
58
61
  run: npm run test && npm run test:e2e
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.4.0-prerelease.9](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.4.0-prerelease.8...v5.4.0-prerelease.9) (2025-08-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * support confirmation message for event on entity manager GENC-1185 ea27d49
9
+ * support confirmation message for event on entity manager GENC-1185 (#503) d2b4448
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * e2e test for wc GENC-1185 9b4dc53
15
+ * react event setup GENC-1185 80e20fd
16
+ * syntax error setting confirmation message GENC-1185 10b2835
17
+ * tweak react syntax GENC-1185 07cf6dd
18
+ * use smart-form-modal for message display GENC-1185 22f7968
19
+
20
+ ## [5.4.0-prerelease.8](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.4.0-prerelease.7...v5.4.0-prerelease.8) (2025-08-13)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * added logout endpoint in confog.properties GENC-0 (#502) aa02828
26
+
3
27
  ## [5.4.0-prerelease.7](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.4.0-prerelease.6...v5.4.0-prerelease.7) (2025-08-12)
4
28
 
5
29
 
@@ -3,6 +3,7 @@ browser=chrome
3
3
  #ENVIRONMENT
4
4
  defaultHost=http://localhost:6060/
5
5
  baseURI=sm
6
+ getEventAfterLogout=REQ_USER_DETAILS
6
7
  #PATH FOR RESOURCES
7
8
  resourcesPath=src/test/resources
8
9
  #PATH FOR PAYLOADS
@@ -2,5 +2,5 @@ import { expect } from '@genesislcap/foundation-testing/e2e';
2
2
  import { test } from '../fixture';
3
3
 
4
4
  test('expected page title', async ({ protectedPage, page }) => {
5
- await expect(page).toHaveTitle(/Testapp - Login - Login/);
5
+ await expect(page).toHaveTitle(/{{capitalCase appName}}/);
6
6
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "5.4.0-prerelease.7",
4
+ "version": "5.4.0-prerelease.9",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"