@jskit-ai/agent-docs 0.1.337 → 0.1.339
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-setup/authentication.md +11 -0
- package/guide/agent/framework/client-features.md +4 -1
- package/guide/agent/framework/material-3.md +15 -5
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/AGENTS.md +6 -0
- package/patterns/minimal-foundation/example/package.json +1 -1
- package/patterns/shell-foundation/example/AGENTS.md +6 -0
- package/patterns/shell-foundation/example/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +10 -10
- package/reference/autogen/packages/auth-web.md +2 -2
- package/skills/jskit/references/client-features.md +4 -1
- package/skills/jskit/references/heuristics/ui-contract.md +16 -2
- package/skills/jskit/references/material-3.md +15 -5
- package/skills/jskit/references/pattern-index.md +10 -10
- package/skills/jskit/references/patterns/app/minimal-foundation/example/AGENTS.md +6 -0
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/AGENTS.md +6 -0
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md +11 -4
|
@@ -928,6 +928,17 @@ and each fills the slot with `src/components/AppBrand.vue`, the app's name as
|
|
|
928
928
|
An app with a logo or a line about the product puts them in `AppBrand.vue`
|
|
929
929
|
too, keeping the name.
|
|
930
930
|
|
|
931
|
+
A sign-in lands on the page its `returnTo` names. Without one, or with one
|
|
932
|
+
refused as on another origin or as a sign-in or sign-out page, it lands on
|
|
933
|
+
`DefaultLoginView`'s `fallbackReturnTo` prop, `/` by default. An app whose `/`
|
|
934
|
+
is not its app, such as a static website its server serves, names its landing
|
|
935
|
+
there (`<DefaultLoginView fallbackReturnTo="/account">`, in its `LoginView.vue`
|
|
936
|
+
wrapper). Sign-out passes its own `returnTo` on to sign-in, and without one
|
|
937
|
+
opens sign-in without one, so that landing applies after it too. A browser the
|
|
938
|
+
shell found signed in at boot is shown no form: the page checks the session
|
|
939
|
+
again and sends it on, and shows the form only if the session has ended. A
|
|
940
|
+
confirmation link or a provider's callback still shows its own state.
|
|
941
|
+
|
|
931
942
|
Never restyle the views' own classes (`.login-screen`, `.auth-card`) or wrap
|
|
932
943
|
them in a frame of the app's; the brand slot is the one way in.
|
|
933
944
|
|
|
@@ -401,7 +401,10 @@ import from a `shared` module. The model's name decides nothing.
|
|
|
401
401
|
|
|
402
402
|
Why: Vuetify titles a value missing from `items` with the value itself, so a
|
|
403
403
|
stored id such as `53` shows until the options arrive; `SelectField` hides it
|
|
404
|
-
while `loading` is true.
|
|
404
|
+
while `loading` is true. That `loading` is no spinner: Vuetify draws it as the
|
|
405
|
+
field's own 2px progress line along its underline, the built-in loading state
|
|
406
|
+
that the Material 3 rules keep
|
|
407
|
+
([Components, state, and feedback](/guide/framework/material-3#components-state-and-feedback)).
|
|
405
408
|
|
|
406
409
|
```vue
|
|
407
410
|
<!-- good -->
|
|
@@ -365,11 +365,21 @@ dialog, chip or FAB.
|
|
|
365
365
|
- Preserve visible focus, logical tab order, keyboard operation, and at least
|
|
366
366
|
48 CSS-pixel interactive targets.
|
|
367
367
|
- Represent loading, empty, error, retry, disabled, selected, hover, focus,
|
|
368
|
-
pressed, and success states through shared JSKIT behavior.
|
|
369
|
-
loading
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
pressed, and success states through shared JSKIT behavior. Content still
|
|
369
|
+
loading shows Material skeletons that reserve its final geometry, so nothing
|
|
370
|
+
jumps when the data arrives. A control's own loading state is the right
|
|
371
|
+
signal and stays: a field's `loading` (`SelectField`, as
|
|
372
|
+
[Selection fields](/guide/framework/client-features#selection-fields)
|
|
373
|
+
requires, `v-autocomplete`, `v-combobox`) and a `v-data-table`'s draw
|
|
374
|
+
Vuetify's 2px progress line along the control, with no layout shift (a table
|
|
375
|
+
with no rows yet takes skeleton rows in its `loading` slot). When possible,
|
|
376
|
+
avoid ad-hoc spinners: a circular indicator on a button (`v-btn`'s `loading`
|
|
377
|
+
draws one) or in place of content, and a whole-page or blocking spinner. An
|
|
378
|
+
action without a loading content region uses a stable pending label
|
|
379
|
+
("Saving…") and shared feedback, not a spinner.
|
|
380
|
+
- Count spinners by what renders, not by `loading` props: a `loading` passed
|
|
381
|
+
to a field, a table or an app's own component is a spinner only if that
|
|
382
|
+
component draws one, so check before reporting it.
|
|
373
383
|
- While a command runs, mark its button pending rather than `disabled` when
|
|
374
384
|
possible: `pending` on `ShellPageAction` and `ShellPrimaryAction`,
|
|
375
385
|
`v-pending` on other buttons. It keeps keyboard focus, reads as unavailable
|
package/package.json
CHANGED
|
@@ -87,6 +87,12 @@ items are not fixed (a list written out, a top-level `const` holding one, or an
|
|
|
87
87
|
import from a `shared` module) and a `SelectField` over loaded items without
|
|
88
88
|
`loading`; a justified case says why in
|
|
89
89
|
`<!-- readable-check: allow selection-field - data: <reason> -->` above it.
|
|
90
|
+
That `loading` is not a spinner: Vuetify draws it as the field's own thin
|
|
91
|
+
progress line along its underline, the built-in loading state the Material 3
|
|
92
|
+
rules keep (`https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3#components-state-and-feedback`).
|
|
93
|
+
What those rules avoid is an ad-hoc spinner: a circular indicator on a button
|
|
94
|
+
or in place of content, or a whole-page one. Count spinners by what renders,
|
|
95
|
+
not by `loading` props.
|
|
90
96
|
|
|
91
97
|
Copied pattern source is ordinary application source. Do not add generator
|
|
92
98
|
provenance, receipts, completion ledgers, or tooling-operation history. Keep
|
|
@@ -87,6 +87,12 @@ items are not fixed (a list written out, a top-level `const` holding one, or an
|
|
|
87
87
|
import from a `shared` module) and a `SelectField` over loaded items without
|
|
88
88
|
`loading`; a justified case says why in
|
|
89
89
|
`<!-- readable-check: allow selection-field - data: <reason> -->` above it.
|
|
90
|
+
That `loading` is not a spinner: Vuetify draws it as the field's own thin
|
|
91
|
+
progress line along its underline, the built-in loading state the Material 3
|
|
92
|
+
rules keep (`https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3#components-state-and-feedback`).
|
|
93
|
+
What those rules avoid is an ad-hoc spinner: a circular indicator on a button
|
|
94
|
+
or in place of content, or a whole-page one. Count spinners by what renders,
|
|
95
|
+
not by `loading` props.
|
|
90
96
|
|
|
91
97
|
Copied pattern source is ordinary application source. Do not add generator
|
|
92
98
|
provenance, receipts, completion ledgers, or tooling-operation history. Keep
|
|
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
|
|
|
15
15
|
|
|
16
16
|
- Id: `app/minimal-foundation`
|
|
17
17
|
- Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
|
|
18
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
19
19
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](../../skills/jskit/references/patterns/app/minimal-foundation/example/)
|
|
21
21
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
|
|
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
|
|
|
26
26
|
|
|
27
27
|
- Id: `app/shell-foundation`
|
|
28
28
|
- Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
|
|
29
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
30
30
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](../../skills/jskit/references/patterns/app/shell-foundation/example/)
|
|
32
32
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
|
|
|
37
37
|
|
|
38
38
|
- Id: `assistant/assistant-surface`
|
|
39
39
|
- Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
|
|
40
|
-
- Owner: `@jskit-ai/assistant-runtime@0.2.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.76`
|
|
41
41
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](../../skills/jskit/references/patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
|
|
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
|
|
|
59
59
|
|
|
60
60
|
- Id: `auth/auth-surface`
|
|
61
61
|
- Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
|
|
62
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
62
|
+
- Owner: `@jskit-ai/auth-web@0.2.49`
|
|
63
63
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
|
|
64
64
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/auth-surface/example/)
|
|
65
65
|
- Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
|
|
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
70
|
|
|
71
71
|
- Id: `auth/oidc-sign-in`
|
|
72
72
|
- Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
73
|
-
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.53`
|
|
74
74
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
|
|
|
246
246
|
|
|
247
247
|
- Id: `console/console-surface`
|
|
248
248
|
- Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
|
|
249
|
-
- Owner: `@jskit-ai/console-web@0.1.
|
|
249
|
+
- Owner: `@jskit-ai/console-web@0.1.285`
|
|
250
250
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
|
|
251
251
|
- Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
|
|
252
252
|
- Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
|
|
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
|
|
|
279
279
|
|
|
280
280
|
- Id: `crud/crud-screen-set`
|
|
281
281
|
- Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
|
|
282
|
-
- Owner: `@jskit-ai/http-web@0.2.
|
|
282
|
+
- Owner: `@jskit-ai/http-web@0.2.51`
|
|
283
283
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
|
|
284
284
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
|
|
285
285
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
356
356
|
|
|
357
357
|
- Id: `server/feature-package`
|
|
358
358
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
359
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
360
360
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
|
|
|
389
389
|
|
|
390
390
|
- Id: `users/account-settings`
|
|
391
391
|
- Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
|
|
392
|
-
- Owner: `@jskit-ai/users-web@0.2.
|
|
392
|
+
- Owner: `@jskit-ai/users-web@0.2.69`
|
|
393
393
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
|
|
394
394
|
- Examples: [example/](../../skills/jskit/references/patterns/users/account-settings/example/)
|
|
395
395
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
|
|
|
422
422
|
|
|
423
423
|
- Id: `workspaces/workspace-surfaces`
|
|
424
424
|
- Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
|
|
425
|
-
- Owner: `@jskit-ai/workspaces-web@0.2.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.69`
|
|
426
426
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
427
427
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
|
|
428
428
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|
|
@@ -70,7 +70,7 @@ Exports
|
|
|
70
70
|
|
|
71
71
|
### `src/client/composables/loginView/useLoginViewState.js`
|
|
72
72
|
Exports
|
|
73
|
-
- `useLoginViewState({ placementContext })`
|
|
73
|
+
- `useLoginViewState({ placementContext, fallbackReturnTo = "/", signedIn = false })`
|
|
74
74
|
Local functions
|
|
75
75
|
- `readWindowSearchParam(name = "")`
|
|
76
76
|
- `resolveInitialMode()`
|
|
@@ -278,7 +278,7 @@ Exports
|
|
|
278
278
|
|
|
279
279
|
### `src/client/runtime/useLoginView.js`
|
|
280
280
|
Exports
|
|
281
|
-
- `useLoginView()`
|
|
281
|
+
- `useLoginView({ fallbackReturnTo = "/" } = {})`
|
|
282
282
|
|
|
283
283
|
### `src/client/runtime/useSignOut.js`
|
|
284
284
|
Exports
|
|
@@ -396,7 +396,10 @@ import from a `shared` module. The model's name decides nothing.
|
|
|
396
396
|
|
|
397
397
|
Why: Vuetify titles a value missing from `items` with the value itself, so a
|
|
398
398
|
stored id such as `53` shows until the options arrive; `SelectField` hides it
|
|
399
|
-
while `loading` is true.
|
|
399
|
+
while `loading` is true. That `loading` is no spinner: Vuetify draws it as the
|
|
400
|
+
field's own 2px progress line along its underline, the built-in loading state
|
|
401
|
+
that the Material 3 rules keep
|
|
402
|
+
([Components, state, and feedback](material-3.md#components-state-and-feedback)).
|
|
400
403
|
|
|
401
404
|
```vue
|
|
402
405
|
<!-- good -->
|
|
@@ -29,7 +29,17 @@ and action UI.
|
|
|
29
29
|
## Loading and feedback
|
|
30
30
|
|
|
31
31
|
- Initial and structural loading uses shape-matching skeletons.
|
|
32
|
-
-
|
|
32
|
+
- A control's own loading state is the right signal and stays: `SelectField`'s
|
|
33
|
+
`loading` while its options load, which
|
|
34
|
+
[Selection fields](../client-features.md#selection-fields)
|
|
35
|
+
requires, and the same `loading` on `v-autocomplete`, `v-combobox` and
|
|
36
|
+
`v-data-table`. Vuetify draws it as a thin progress line along the control,
|
|
37
|
+
with no layout shift; it is not a spinner.
|
|
38
|
+
- When possible, avoid ad-hoc spinners: a circular indicator on a button
|
|
39
|
+
(`v-btn`'s `loading` draws one) or in place of content, a whole-page or
|
|
40
|
+
blocking spinner, or a loading icon. Prefer the action's pending label
|
|
41
|
+
("Saving…"), a skeleton, or the control's own loading line
|
|
42
|
+
([Components, state, and feedback](../material-3.md#components-state-and-feedback)).
|
|
33
43
|
- Pending buttons keep their position, use stable pending labels and, when
|
|
34
44
|
possible, keep keyboard focus: `pending` on `ShellPageAction` and
|
|
35
45
|
`ShellPrimaryAction`, `v-pending`
|
|
@@ -72,7 +82,11 @@ it as a closed sheet and wider layouts as a closed side panel.
|
|
|
72
82
|
destinations show no arrow
|
|
73
83
|
- exercise compact, medium, and expanded viewports
|
|
74
84
|
- verify accessible names, keyboard operation, target size, and no overflow
|
|
75
|
-
- assert that no spinner or layout-shifting transient error banner
|
|
85
|
+
- assert that no circular spinner or layout-shifting transient error banner
|
|
86
|
+
appears; a field's or table's own loading line is not a spinner
|
|
87
|
+
- when counting spinners left, count what renders, not `loading` props: a
|
|
88
|
+
`loading` on a field or an app's own component is a spinner only if that
|
|
89
|
+
component draws one
|
|
76
90
|
|
|
77
91
|
Framework source contracts and package tests enforce the reusable parts of this
|
|
78
92
|
policy. Application browser tests prove product-specific behavior.
|
|
@@ -360,11 +360,21 @@ dialog, chip or FAB.
|
|
|
360
360
|
- Preserve visible focus, logical tab order, keyboard operation, and at least
|
|
361
361
|
48 CSS-pixel interactive targets.
|
|
362
362
|
- Represent loading, empty, error, retry, disabled, selected, hover, focus,
|
|
363
|
-
pressed, and success states through shared JSKIT behavior.
|
|
364
|
-
loading
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
363
|
+
pressed, and success states through shared JSKIT behavior. Content still
|
|
364
|
+
loading shows Material skeletons that reserve its final geometry, so nothing
|
|
365
|
+
jumps when the data arrives. A control's own loading state is the right
|
|
366
|
+
signal and stays: a field's `loading` (`SelectField`, as
|
|
367
|
+
[Selection fields](client-features.md#selection-fields)
|
|
368
|
+
requires, `v-autocomplete`, `v-combobox`) and a `v-data-table`'s draw
|
|
369
|
+
Vuetify's 2px progress line along the control, with no layout shift (a table
|
|
370
|
+
with no rows yet takes skeleton rows in its `loading` slot). When possible,
|
|
371
|
+
avoid ad-hoc spinners: a circular indicator on a button (`v-btn`'s `loading`
|
|
372
|
+
draws one) or in place of content, and a whole-page or blocking spinner. An
|
|
373
|
+
action without a loading content region uses a stable pending label
|
|
374
|
+
("Saving…") and shared feedback, not a spinner.
|
|
375
|
+
- Count spinners by what renders, not by `loading` props: a `loading` passed
|
|
376
|
+
to a field, a table or an app's own component is a spinner only if that
|
|
377
|
+
component draws one, so check before reporting it.
|
|
368
378
|
- While a command runs, mark its button pending rather than `disabled` when
|
|
369
379
|
possible: `pending` on `ShellPageAction` and `ShellPrimaryAction`,
|
|
370
380
|
`v-pending` on other buttons. It keeps keyboard focus, reads as unavailable
|
|
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
|
|
|
15
15
|
|
|
16
16
|
- Id: `app/minimal-foundation`
|
|
17
17
|
- Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
|
|
18
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
19
19
|
- Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](patterns/app/minimal-foundation/example/)
|
|
21
21
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
|
|
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
|
|
|
26
26
|
|
|
27
27
|
- Id: `app/shell-foundation`
|
|
28
28
|
- Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
|
|
29
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
30
30
|
- Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](patterns/app/shell-foundation/example/)
|
|
32
32
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
|
|
|
37
37
|
|
|
38
38
|
- Id: `assistant/assistant-surface`
|
|
39
39
|
- Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
|
|
40
|
-
- Owner: `@jskit-ai/assistant-runtime@0.2.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.76`
|
|
41
41
|
- Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
|
|
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
|
|
|
59
59
|
|
|
60
60
|
- Id: `auth/auth-surface`
|
|
61
61
|
- Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
|
|
62
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
62
|
+
- Owner: `@jskit-ai/auth-web@0.2.49`
|
|
63
63
|
- Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
|
|
64
64
|
- Examples: [example/](patterns/auth/auth-surface/example/)
|
|
65
65
|
- Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
|
|
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
70
|
|
|
71
71
|
- Id: `auth/oidc-sign-in`
|
|
72
72
|
- Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
73
|
-
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.53`
|
|
74
74
|
- Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
|
|
|
246
246
|
|
|
247
247
|
- Id: `console/console-surface`
|
|
248
248
|
- Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
|
|
249
|
-
- Owner: `@jskit-ai/console-web@0.1.
|
|
249
|
+
- Owner: `@jskit-ai/console-web@0.1.285`
|
|
250
250
|
- Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
|
|
251
251
|
- Examples: [example/](patterns/console/console-surface/example/)
|
|
252
252
|
- Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
|
|
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
|
|
|
279
279
|
|
|
280
280
|
- Id: `crud/crud-screen-set`
|
|
281
281
|
- Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
|
|
282
|
-
- Owner: `@jskit-ai/http-web@0.2.
|
|
282
|
+
- Owner: `@jskit-ai/http-web@0.2.51`
|
|
283
283
|
- Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
|
|
284
284
|
- Examples: [example/](patterns/crud/crud-screen-set/example/)
|
|
285
285
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
356
356
|
|
|
357
357
|
- Id: `server/feature-package`
|
|
358
358
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
359
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.339`
|
|
360
360
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
|
|
|
389
389
|
|
|
390
390
|
- Id: `users/account-settings`
|
|
391
391
|
- Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
|
|
392
|
-
- Owner: `@jskit-ai/users-web@0.2.
|
|
392
|
+
- Owner: `@jskit-ai/users-web@0.2.69`
|
|
393
393
|
- Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
|
|
394
394
|
- Examples: [example/](patterns/users/account-settings/example/)
|
|
395
395
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
|
|
|
422
422
|
|
|
423
423
|
- Id: `workspaces/workspace-surfaces`
|
|
424
424
|
- Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
|
|
425
|
-
- Owner: `@jskit-ai/workspaces-web@0.2.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.69`
|
|
426
426
|
- Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
427
427
|
- Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
|
|
428
428
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|
|
@@ -87,6 +87,12 @@ items are not fixed (a list written out, a top-level `const` holding one, or an
|
|
|
87
87
|
import from a `shared` module) and a `SelectField` over loaded items without
|
|
88
88
|
`loading`; a justified case says why in
|
|
89
89
|
`<!-- readable-check: allow selection-field - data: <reason> -->` above it.
|
|
90
|
+
That `loading` is not a spinner: Vuetify draws it as the field's own thin
|
|
91
|
+
progress line along its underline, the built-in loading state the Material 3
|
|
92
|
+
rules keep (`https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3#components-state-and-feedback`).
|
|
93
|
+
What those rules avoid is an ad-hoc spinner: a circular indicator on a button
|
|
94
|
+
or in place of content, or a whole-page one. Count spinners by what renders,
|
|
95
|
+
not by `loading` props.
|
|
90
96
|
|
|
91
97
|
Copied pattern source is ordinary application source. Do not add generator
|
|
92
98
|
provenance, receipts, completion ledgers, or tooling-operation history. Keep
|
|
@@ -87,6 +87,12 @@ items are not fixed (a list written out, a top-level `const` holding one, or an
|
|
|
87
87
|
import from a `shared` module) and a `SelectField` over loaded items without
|
|
88
88
|
`loading`; a justified case says why in
|
|
89
89
|
`<!-- readable-check: allow selection-field - data: <reason> -->` above it.
|
|
90
|
+
That `loading` is not a spinner: Vuetify draws it as the field's own thin
|
|
91
|
+
progress line along its underline, the built-in loading state the Material 3
|
|
92
|
+
rules keep (`https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3#components-state-and-feedback`).
|
|
93
|
+
What those rules avoid is an ad-hoc spinner: a circular indicator on a button
|
|
94
|
+
or in place of content, or a whole-page one. Count spinners by what renders,
|
|
95
|
+
not by `loading` props.
|
|
90
96
|
|
|
91
97
|
Copied pattern source is ordinary application source. Do not add generator
|
|
92
98
|
provenance, receipts, completion ledgers, or tooling-operation history. Keep
|
|
@@ -50,8 +50,12 @@ questionnaire.
|
|
|
50
50
|
- View fields are two-line list items with the value first:
|
|
51
51
|
`<v-list-item :title="record.author" subtitle="Author" />`.
|
|
52
52
|
- Transport and validators come from the shared CRUD contract.
|
|
53
|
-
- Initial visible loading uses structure-matching skeletons;
|
|
54
|
-
|
|
53
|
+
- Initial visible loading uses structure-matching skeletons; a running command's
|
|
54
|
+
button is marked pending (`pending` on `ShellPageAction`, `v-pending` on
|
|
55
|
+
other buttons) with a stable pending label such as "Saving…", never a
|
|
56
|
+
spinner. A selection field's `loading` (below) is its own thin progress line,
|
|
57
|
+
not a spinner
|
|
58
|
+
([Components, state, and feedback](https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3#components-state-and-feedback)).
|
|
55
59
|
- Resource-load errors stay inside the screen with retry. Command success and
|
|
56
60
|
failure use JSKIT's shared toast/snackbar feedback path.
|
|
57
61
|
- URLs are route templates or route objects resolved through the screen runtime.
|
|
@@ -154,7 +158,9 @@ so a narrowing search does not blank a chosen value. Display never changes the
|
|
|
154
158
|
stored value. `searchable` renders an autocomplete; other props and slots pass
|
|
155
159
|
through to Vuetify. The lint rule `jskit/selection-field` reports a raw
|
|
156
160
|
selection whose items are not fixed, and a `SelectField` over loaded items
|
|
157
|
-
without `loading`.
|
|
161
|
+
without `loading`. Vuetify draws that `loading` as the field's own 2px
|
|
162
|
+
progress line along its underline: Material 3's built-in loading state, kept
|
|
163
|
+
by the no-spinner rule, never counted as a spinner.
|
|
158
164
|
|
|
159
165
|
```vue
|
|
160
166
|
<CrudAddEditScreen :screen="screen" v-bind="lookups">
|
|
@@ -210,7 +216,8 @@ relation's `labelKey`, and what `fields.serviceId.output.includeFields` names.
|
|
|
210
216
|
|
|
211
217
|
- route-local `fetch()` or duplicated request serializers
|
|
212
218
|
- copying shared screen chrome into every route
|
|
213
|
-
- spinner or circular-progress loading states
|
|
219
|
+
- spinner or circular-progress loading states (a field's or table's own
|
|
220
|
+
`loading` line is not one)
|
|
214
221
|
- transient in-page command-error banners that push the layout
|
|
215
222
|
- generator-branded CSS classes, cache keys, or placement ids
|
|
216
223
|
- comments or metadata reserving fields for a future authoring command
|