Skip to content

Commit f757947

Browse files
committed
chore(platform-objects, plugin-sharing): regenerate translation bundles for the new view order; changesets
`node scripts/check-i18n-bundles.mjs --write`: the `_views` keys follow the declared order. Pure reorders, no translated text changed. Claude-Session: https://claude.ai/code/session_017ErfyP2Rx7XWHJA27QjyUi Co-authored-by: Claude <noreply@anthropic.com>
1 parent 56d8b1a commit f757947

10 files changed

Lines changed: 109 additions & 84 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@objectstack/platform-objects": patch
3+
---
4+
5+
Setup's identity pages open on the tenant-wide list, not on the administrator's own rows. Before this, Setup → API Keys, Sessions, OAuth Applications, Identity Links and User Preferences opened each object's first declared list view, which was the caller-scoped "My …" view (`user_id = {current_user_id}`), so an administrator saw only their own keys, sessions, applications, links and preferences.
6+
7+
Clause-②: no
8+
9+
- On `sys_api_key`, `sys_session`, `sys_oauth_application`, `sys_account`, `sys_user_preference` and `sys_user`, the unscoped "All" view (`all_keys`, `all_sessions`, `all_apps`, `all_links`, `all_preferences`, `all_users`) is now declared first, and the caller-scoped view (`mine`, `me`) second. A route that names no view, such as a record page's object breadcrumb or the object switcher, now opens the "All" view. No view is added, removed or changed.
10+
- The Setup entries `nav_api_keys`, `nav_sessions`, `nav_oauth_apps`, `nav_accounts` and `nav_user_preferences` now name that view with `viewName`, as `nav_users` already did. The Account app's Linked Accounts entry (`nav_account_linked`) now names `mine`, like the other Account entries, so neither app depends on the declared order.
11+
- The "My …" views are still tabs on each page. The declared order decides which view opens, not which rows a caller may read: row-level security still scopes a member's rows.
12+
- The generated translation bundles follow the new view order. No translated text changed.
13+
- ⛔ No schema, parse, export or accept-set change.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@objectstack/plugin-sharing": patch
3+
---
4+
5+
Setup → Record Shares opens on every share, not on the shares granted to the administrator. Before this, the entry named no view, and `sys_record_share` declared the caller-scoped "Granted to Me" view (`recipient_id = {current_user_id}`) first.
6+
7+
Clause-②: no
8+
9+
- `sys_record_share` now declares its unscoped "All" view (`all_shares`) first. "Granted to Me" and "Granted by Me" follow it, still as tabs. No view is added, removed or changed.
10+
- The Setup entry `nav_record_shares` now names `all_shares` with `viewName`, so it does not depend on the declared order.
11+
- The generated translation bundles follow the new view order. No translated text changed.
12+
- ⛔ No schema, parse, export or accept-set change.

‎packages/platform-objects/src/apps/translations/en.objects.generated.ts‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
122122
}
123123
},
124124
_views: {
125-
me: {
126-
label: "My Profile"
127-
},
128125
all_users: {
129126
label: "All Users"
130127
},
128+
me: {
129+
label: "My Profile"
130+
},
131131
unverified: {
132132
label: "Unverified"
133133
},
@@ -376,12 +376,12 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
376376
}
377377
},
378378
_views: {
379-
mine: {
380-
label: "My Sessions"
381-
},
382379
all_sessions: {
383380
label: "All"
384381
},
382+
mine: {
383+
label: "My Sessions"
384+
},
385385
revoked: {
386386
label: "Revoked"
387387
}
@@ -460,14 +460,14 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
460460
}
461461
},
462462
_views: {
463+
all_links: {
464+
label: "All"
465+
},
463466
mine: {
464467
label: "My Links"
465468
},
466469
by_provider: {
467470
label: "By Provider"
468-
},
469-
all_links: {
470-
label: "All"
471471
}
472472
},
473473
_actions: {
@@ -1022,6 +1022,9 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
10221022
}
10231023
},
10241024
_views: {
1025+
all_keys: {
1026+
label: "All"
1027+
},
10251028
mine: {
10261029
label: "My Keys"
10271030
},
@@ -1030,9 +1033,6 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
10301033
},
10311034
revoked: {
10321035
label: "Revoked"
1033-
},
1034-
all_keys: {
1035-
label: "All"
10361036
}
10371037
},
10381038
_actions: {
@@ -1225,14 +1225,14 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
12251225
}
12261226
},
12271227
_views: {
1228+
all_preferences: {
1229+
label: "All"
1230+
},
12281231
mine: {
12291232
label: "My Preferences"
12301233
},
12311234
by_user: {
12321235
label: "By User"
1233-
},
1234-
all_preferences: {
1235-
label: "All"
12361236
}
12371237
}
12381238
},
@@ -1386,6 +1386,9 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
13861386
}
13871387
},
13881388
_views: {
1389+
all_apps: {
1390+
label: "All"
1391+
},
13891392
mine: {
13901393
label: "My Applications"
13911394
},
@@ -1394,9 +1397,6 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
13941397
},
13951398
disabled_apps: {
13961399
label: "Disabled"
1397-
},
1398-
all_apps: {
1399-
label: "All"
14001400
}
14011401
},
14021402
_actions: {

‎packages/platform-objects/src/apps/translations/es-ES.objects.generated.ts‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
122122
}
123123
},
124124
_views: {
125-
me: {
126-
label: "Mi perfil"
127-
},
128125
all_users: {
129126
label: "Todos los usuarios"
130127
},
128+
me: {
129+
label: "Mi perfil"
130+
},
131131
unverified: {
132132
label: "No verificados"
133133
},
@@ -376,12 +376,12 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
376376
}
377377
},
378378
_views: {
379-
mine: {
380-
label: "Mis sesiones"
381-
},
382379
all_sessions: {
383380
label: "Todas"
384381
},
382+
mine: {
383+
label: "Mis sesiones"
384+
},
385385
revoked: {
386386
label: "Revocadas"
387387
}
@@ -460,14 +460,14 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
460460
}
461461
},
462462
_views: {
463+
all_links: {
464+
label: "Todos"
465+
},
463466
mine: {
464467
label: "Mis enlaces"
465468
},
466469
by_provider: {
467470
label: "Por proveedor"
468-
},
469-
all_links: {
470-
label: "Todos"
471471
}
472472
},
473473
_actions: {
@@ -1022,6 +1022,9 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
10221022
}
10231023
},
10241024
_views: {
1025+
all_keys: {
1026+
label: "Todas"
1027+
},
10251028
mine: {
10261029
label: "Mis claves"
10271030
},
@@ -1030,9 +1033,6 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
10301033
},
10311034
revoked: {
10321035
label: "Revocado"
1033-
},
1034-
all_keys: {
1035-
label: "Todas"
10361036
}
10371037
},
10381038
_actions: {
@@ -1225,14 +1225,14 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
12251225
}
12261226
},
12271227
_views: {
1228+
all_preferences: {
1229+
label: "Todas"
1230+
},
12281231
mine: {
12291232
label: "Mis preferencias"
12301233
},
12311234
by_user: {
12321235
label: "Por usuario"
1233-
},
1234-
all_preferences: {
1235-
label: "Todas"
12361236
}
12371237
}
12381238
},
@@ -1386,6 +1386,9 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
13861386
}
13871387
},
13881388
_views: {
1389+
all_apps: {
1390+
label: "Todas"
1391+
},
13891392
mine: {
13901393
label: "Mis aplicaciones"
13911394
},
@@ -1394,9 +1397,6 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
13941397
},
13951398
disabled_apps: {
13961399
label: "Deshabilitado"
1397-
},
1398-
all_apps: {
1399-
label: "Todas"
14001400
}
14011401
},
14021402
_actions: {

‎packages/platform-objects/src/apps/translations/ja-JP.objects.generated.ts‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
122122
}
123123
},
124124
_views: {
125-
me: {
126-
label: "マイプロフィール"
127-
},
128125
all_users: {
129126
label: "すべてのユーザー"
130127
},
128+
me: {
129+
label: "マイプロフィール"
130+
},
131131
unverified: {
132132
label: "未確認"
133133
},
@@ -376,12 +376,12 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
376376
}
377377
},
378378
_views: {
379-
mine: {
380-
label: "自分のセッション"
381-
},
382379
all_sessions: {
383380
label: "すべて"
384381
},
382+
mine: {
383+
label: "自分のセッション"
384+
},
385385
revoked: {
386386
label: "取り消し済み"
387387
}
@@ -460,14 +460,14 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
460460
}
461461
},
462462
_views: {
463+
all_links: {
464+
label: "すべて"
465+
},
463466
mine: {
464467
label: "自分の連携"
465468
},
466469
by_provider: {
467470
label: "プロバイダー別"
468-
},
469-
all_links: {
470-
label: "すべて"
471471
}
472472
},
473473
_actions: {
@@ -1022,6 +1022,9 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
10221022
}
10231023
},
10241024
_views: {
1025+
all_keys: {
1026+
label: "すべて"
1027+
},
10251028
mine: {
10261029
label: "自分のキー"
10271030
},
@@ -1030,9 +1033,6 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
10301033
},
10311034
revoked: {
10321035
label: "失効済み"
1033-
},
1034-
all_keys: {
1035-
label: "すべて"
10361036
}
10371037
},
10381038
_actions: {
@@ -1225,14 +1225,14 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
12251225
}
12261226
},
12271227
_views: {
1228+
all_preferences: {
1229+
label: "すべて"
1230+
},
12281231
mine: {
12291232
label: "自分の設定"
12301233
},
12311234
by_user: {
12321235
label: "ユーザー別"
1233-
},
1234-
all_preferences: {
1235-
label: "すべて"
12361236
}
12371237
}
12381238
},
@@ -1386,6 +1386,9 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
13861386
}
13871387
},
13881388
_views: {
1389+
all_apps: {
1390+
label: "すべて"
1391+
},
13891392
mine: {
13901393
label: "自分のアプリケーション"
13911394
},
@@ -1394,9 +1397,6 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
13941397
},
13951398
disabled_apps: {
13961399
label: "無効"
1397-
},
1398-
all_apps: {
1399-
label: "すべて"
14001400
}
14011401
},
14021402
_actions: {

0 commit comments

Comments
 (0)