@jskit-ai/agent-docs 0.1.265 → 0.1.267
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/guide/agent/app-extras/assistant-conversation.md +18 -4
- package/guide/agent/app-setup/authentication.md +8 -0
- package/guide/agent/app-setup/multi-homing.md +5 -3
- package/guide/agent/framework/translation.md +56 -10
- package/guide/agent/framework/ui-operations.md +11 -12
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/package.json +5 -5
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +37 -37
- package/reference/autogen/packages/assistant-core.md +5 -3
- package/reference/autogen/packages/auth-core.md +4 -1
- package/reference/autogen/packages/oidc-issuer-core.md +23 -4
- package/reference/autogen/packages/resource-crud-core.md +2 -1
- package/reference/autogen/packages/users-web.md +26 -0
- package/reference/autogen/packages/workspaces-core.md +2 -1
- package/reference/autogen/tooling/config-eslint.md +8 -0
- package/skills/jskit/references/multi-homing.md +5 -3
- package/skills/jskit/references/pattern-index.md +37 -37
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +5 -5
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
- package/skills/jskit/references/patterns/crud/json-api-resource-package/example/packages/books/package.json +2 -2
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +1 -1
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +1 -1
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
- package/skills/jskit/references/translation.md +56 -10
- package/skills/jskit/references/ui-operations.md +11 -12
|
@@ -21,7 +21,7 @@ template or relative string raw to Vue Router `to`.
|
|
|
21
21
|
## Back navigation
|
|
22
22
|
|
|
23
23
|
Check every page for a visible Back button that returns to the previous page.
|
|
24
|
-
Omit it only when returning makes no product sense, such as the
|
|
24
|
+
Omit it only when returning makes no product sense, such as the root
|
|
25
25
|
landing page or a completed flow that must not reopen an expired step. State
|
|
26
26
|
the reason in the implementation or review result; a drawer link is not Back.
|
|
27
27
|
|
|
@@ -65,7 +65,6 @@ hash, pattern receipt, or tool-owned source declaration.
|
|
|
65
65
|
- Keep screens phone/task-first with drawer-independent primary actions.
|
|
66
66
|
- Use direct surfaces instead of needless nested cards.
|
|
67
67
|
- Render all meaningful loading, empty, error, permission, and retry states.
|
|
68
|
-
- Follow the Material 3 contract for targets, loading and failure feedback.
|
|
69
68
|
- Extend shared CRUD screens through public slots and composables.
|
|
70
69
|
- Keep row actions and filters near the screen unless the framework owns them.
|
|
71
70
|
- Import neutral request and CRUD UI APIs from `@jskit-ai/http-web`. Install
|
|
@@ -82,25 +81,25 @@ when another navigation affordance remains.
|
|
|
82
81
|
The drawer omits the app bar's surface label. Open and rail icons share a
|
|
83
82
|
centreline. It uses a 12px outer item inset; `navigationItemSpacing` controls
|
|
84
83
|
icon/label and label/end gaps. The normal 80px rail centres 48px targets;
|
|
85
|
-
`railWidth` and `drawerWidth` are public density/width controls.
|
|
86
|
-
the shell
|
|
87
|
-
|
|
88
|
-
Restyle shell chrome only through the `--shell-*` tokens in the
|
|
89
|
-
`shell/application-shell` pattern.
|
|
84
|
+
`railWidth` and `drawerWidth` are public density/width controls. Restyle shell
|
|
85
|
+
chrome only through the `--shell-*` tokens in the `shell/application-shell`
|
|
86
|
+
pattern, never its private CSS.
|
|
90
87
|
|
|
91
88
|
## Browser verification
|
|
92
89
|
|
|
93
90
|
Exercise user-facing changes with Playwright at compact, medium, and expanded
|
|
94
91
|
widths. Check overflow, clipped text, duplicate navigation, route placement,
|
|
95
92
|
actions, skeleton replacement, error feedback, and target sizes. Use relative
|
|
96
|
-
URLs.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
URLs. With `PLAYWRIGHT_BASE_URL` set, start no duplicate server. For Back,
|
|
94
|
+
enter the same page from two origins and verify each returns to its own origin
|
|
95
|
+
with context intact. Also check direct entry, reload, browser back/forward,
|
|
96
|
+
fixed-destination exceptions, and any unsaved-change guard.
|
|
100
97
|
|
|
101
98
|
A managed host owns its browser and may provide
|
|
102
99
|
`PLAYWRIGHT_STORAGE_STATE`; never print or commit that value, bypass it,
|
|
103
|
-
or install another browser.
|
|
100
|
+
or install another browser. If tests run signed out despite that state, report
|
|
101
|
+
the host defect with evidence and stop; never rewrite its cookies or add a login.
|
|
102
|
+
For explicitly enabled direct-local auth, use
|
|
104
103
|
`loginAsExistingUser()` from `@jskit-ai/auth-web/test/playwright`; never expose
|
|
105
104
|
the exchange secret to browser code, URLs, or client environment.
|
|
106
105
|
|