@things-factory/apptool-ui 10.1.227 → 10.1.228
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/package.json +4 -4
- package/tests/user-menu.test.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/apptool-ui",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.228",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@operato/contact": "^10.0.0",
|
|
32
32
|
"@operato/layout": "^10.29.43",
|
|
33
33
|
"@operato/utils": "^10.29.43",
|
|
34
|
-
"@things-factory/apptool-base": "^10.1.
|
|
35
|
-
"@things-factory/setting-base": "^10.1.
|
|
34
|
+
"@things-factory/apptool-base": "^10.1.228",
|
|
35
|
+
"@things-factory/setting-base": "^10.1.228"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "fc4ede44617418df8701e83b83d177db4142a8f3"
|
|
38
38
|
}
|
package/tests/user-menu.test.ts
CHANGED
|
@@ -144,19 +144,19 @@ describe('the person\'s entries are registered once, to the user menu', () => {
|
|
|
144
144
|
)
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
it('★ profile, settings, the about page and sign-out are user menu entries, each from the module that owns it', () => {
|
|
147
|
+
it('★ profile, one\'s gallery, settings, the about page and sign-out are user menu entries, each from the module that owns it', () => {
|
|
148
148
|
const named = registrations('ADD_USER_MENU').map(({ file, call }) => `${file.split(path.sep)[0]}:${/name: '([\w-]+)'/.exec(call)?.[1]}`)
|
|
149
149
|
|
|
150
|
-
expect(named.sort()).toEqual(['auth-ui:profile', 'auth-ui:sign-out', 'setting-ui:setting', 'system:about-system'])
|
|
150
|
+
expect(named.sort()).toEqual(['auth-ui:profile', 'auth-ui:sign-out', 'gallery:my-gallery', 'setting-ui:setting', 'system:about-system'])
|
|
151
151
|
})
|
|
152
152
|
|
|
153
|
-
it('★ the registered entries show as profile, sign-out, settings, the about page (user, 2026-10-25)', () => {
|
|
153
|
+
it('★ the registered entries show as profile, one\'s gallery, sign-out, settings, the about page (user, 2026-10-25; gallery right after the profile, ADR-0165 decision 6)', () => {
|
|
154
154
|
const entries = registrations('ADD_USER_MENU').map(({ call }) => ({
|
|
155
155
|
name: /name: '([\w-]+)'/.exec(call)![1],
|
|
156
156
|
order: Number(/order: (\d+)/.exec(call)![1])
|
|
157
157
|
}))
|
|
158
158
|
|
|
159
|
-
expect(menuEntries(entries).map(entry => entry.name)).toEqual(['profile', 'sign-out', 'setting', 'about-system'])
|
|
159
|
+
expect(menuEntries(entries).map(entry => entry.name)).toEqual(['profile', 'my-gallery', 'sign-out', 'setting', 'about-system'])
|
|
160
160
|
})
|
|
161
161
|
|
|
162
162
|
it('★ none of them is a morenda any more', () => {
|