@jskit-ai/agent-docs 0.1.332 → 0.1.333
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 +106 -8
- package/guide/agent/framework/crud-form-actions.md +18 -7
- package/guide/agent/framework/material-3.md +9 -3
- package/guide/agent/framework/quality-pass.md +8 -2
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +2 -2
- package/patterns/shell-foundation/example/package.json +3 -3
- package/reference/autogen/PATTERN_INDEX.md +19 -19
- package/reference/autogen/packages/auth-core.md +13 -0
- package/reference/autogen/packages/auth-provider-local-core.md +40 -5
- package/reference/autogen/packages/auth-provider-local-db-core.md +15 -0
- package/reference/autogen/packages/auth-web.md +26 -0
- package/reference/autogen/packages/http-web.md +2 -0
- package/reference/autogen/packages/shell-web.md +27 -0
- package/skills/jskit/references/crud-form-actions.md +18 -7
- package/skills/jskit/references/heuristics/client-requests.md +1 -1
- package/skills/jskit/references/heuristics/crud-authoring.md +3 -2
- package/skills/jskit/references/heuristics/live-actions.md +4 -1
- package/skills/jskit/references/heuristics/ui-contract.md +9 -1
- package/skills/jskit/references/material-3.md +9 -3
- package/skills/jskit/references/pattern-index.md +19 -19
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +2 -2
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +3 -3
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +1 -1
- package/skills/jskit/references/patterns/auth/auth-surface/PATTERN.md +10 -8
- package/skills/jskit/references/patterns/auth/auth-surface/example/src/pages/auth/email-change.vue +17 -0
- package/skills/jskit/references/patterns/auth/auth-surface/example/src/views/auth/EmailChangeView.vue +12 -0
- 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/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +3 -1
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +3 -1
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +4 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +2 -2
- package/skills/jskit/references/quality-pass.md +8 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
|
|
3
|
+
|
|
2
4
|
const props = defineProps({
|
|
3
5
|
runtime: {
|
|
4
6
|
type: Object,
|
|
@@ -41,7 +43,7 @@ const notifications = props.runtime.notifications;
|
|
|
41
43
|
color="primary"
|
|
42
44
|
class="mt-4"
|
|
43
45
|
:loading="notifications.isSaving.value"
|
|
44
|
-
|
|
46
|
+
v-pending="notifications.isSaving.value || notifications.isRefreshing.value"
|
|
45
47
|
>
|
|
46
48
|
Save notification settings
|
|
47
49
|
</v-btn>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
|
|
3
|
+
|
|
2
4
|
const props = defineProps({
|
|
3
5
|
runtime: {
|
|
4
6
|
type: Object,
|
|
@@ -119,7 +121,7 @@ const preferences = props.runtime.preferences;
|
|
|
119
121
|
color="primary"
|
|
120
122
|
class="mt-4"
|
|
121
123
|
:loading="preferences.isSaving.value"
|
|
122
|
-
|
|
124
|
+
v-pending="preferences.isSaving.value || preferences.isRefreshing.value"
|
|
123
125
|
>
|
|
124
126
|
Save preferences
|
|
125
127
|
</v-btn>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
|
|
3
|
+
|
|
2
4
|
const props = defineProps({
|
|
3
5
|
runtime: {
|
|
4
6
|
type: Object,
|
|
@@ -81,7 +83,8 @@ const profile = props.runtime.profile;
|
|
|
81
83
|
color="primary"
|
|
82
84
|
class="mt-4"
|
|
83
85
|
:loading="profile.isSaving.value"
|
|
84
|
-
|
|
86
|
+
v-pending="profile.isSaving.value || profile.isRefreshing.value"
|
|
87
|
+
:disabled="profile.isDeletingAvatar.value"
|
|
85
88
|
>
|
|
86
89
|
Save profile
|
|
87
90
|
</v-btn>
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@jskit-ai/crud-core": "0.2.41",
|
|
14
14
|
"@jskit-ai/resource-crud-core": "0.1.220",
|
|
15
|
-
"@jskit-ai/users-core": "0.2.
|
|
16
|
-
"@jskit-ai/workspaces-core": "0.2.
|
|
15
|
+
"@jskit-ai/users-core": "0.2.50",
|
|
16
|
+
"@jskit-ai/workspaces-core": "0.2.50"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@jskit-ai/kernel": "0.2.27",
|
|
@@ -12,8 +12,8 @@ in a JSKIT app. The rules it applies are already in [Material 3](material-3.md),
|
|
|
12
12
|
## States on every screen
|
|
13
13
|
|
|
14
14
|
- **Loading:** Material skeletons with the geometry of the content they stand
|
|
15
|
-
for, never a spinner; an action keeps a stable label
|
|
16
|
-
cannot be sent twice ([Components, state, and feedback](material-3.md#components-state-and-feedback)).
|
|
15
|
+
for, never a spinner; an action keeps a stable label and its keyboard focus
|
|
16
|
+
while it runs, and cannot be sent twice ([Components, state, and feedback](material-3.md#components-state-and-feedback)).
|
|
17
17
|
Ordinary reads stop after 30 seconds, so a slow read ends in its error state.
|
|
18
18
|
- **Empty:** a list's empty state carries an icon, a line saying what would be
|
|
19
19
|
there and one action, such as New; with filters or a search applied it
|
|
@@ -55,6 +55,12 @@ in a JSKIT app. The rules it applies are already in [Material 3](material-3.md),
|
|
|
55
55
|
width.
|
|
56
56
|
- **Double submit:** click Save twice quickly; the command's pending state
|
|
57
57
|
must send one request.
|
|
58
|
+
- **Keyboard through a running command:** Tab to Save (or Send, "Load more",
|
|
59
|
+
a dialog's confirm), press Enter and answer the request late
|
|
60
|
+
(`page.route`). Focus should stay on the button while it runs, and move to
|
|
61
|
+
the field a refusal marks. Focus on the page body there usually means the
|
|
62
|
+
button was `disabled` while it ran; mark it pending instead when possible
|
|
63
|
+
([Material 3 rules](material-3.md#components-state-and-feedback)).
|
|
58
64
|
- **Session and tabs:** sign out in another tab and come back; let the session
|
|
59
65
|
expire mid-form. The auth guard sends the person to sign-in and back.
|
|
60
66
|
- **Time:** dates follow [strict temporal values](crud-operations.md#strict-temporal-values);
|