@jskit-ai/agent-docs 0.1.387 → 0.1.388

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.
Files changed (23) hide show
  1. package/guide/agent/app-setup/authentication.md +46 -12
  2. package/guide/agent/framework/client-features.md +4 -0
  3. package/guide/agent/framework/crud-form-actions.md +4 -0
  4. package/package.json +1 -1
  5. package/patterns/minimal-foundation/example/package.json +2 -2
  6. package/patterns/shell-foundation/example/package.json +3 -3
  7. package/reference/autogen/PATTERN_INDEX.md +17 -17
  8. package/reference/autogen/packages/auth-web.md +11 -0
  9. package/reference/autogen/packages/users-web.md +6 -0
  10. package/skills/jskit/references/client-features.md +4 -0
  11. package/skills/jskit/references/crud-form-actions.md +4 -0
  12. package/skills/jskit/references/pattern-index.md +17 -17
  13. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +2 -2
  14. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +3 -3
  15. package/skills/jskit/references/patterns/auth/auth-surface/PATTERN.md +7 -4
  16. package/skills/jskit/references/patterns/auth/auth-surface/example/src/components/AppBrand.vue +58 -3
  17. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  18. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  19. package/skills/jskit/references/patterns/users/account-settings/PATTERN.md +59 -10
  20. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +25 -12
  21. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +25 -19
  22. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +74 -54
  23. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsSignInMethodsSection.vue +7 -2
@@ -562,8 +562,8 @@ email, and the first account is admitted by its setup code. Those
562
562
  registrations sign in at once, with or without a sender, except an invitation
563
563
  whose resolver names no email, which confirms when a sender is installed. An
564
564
  app that refused the register routes itself, with a 404 hook,
565
- can drop the hook for this setting. The sign-in page then shows its Register
566
- tab only to an invited person (an `invitationToken` in its address) and, while
565
+ can drop the hook for this setting. The sign-in page then shows its Create
566
+ account tab only to an invited person (an `invitationToken` in its address) and, while
567
567
  the app has no account, to the first one: local auth reports
568
568
  `features.password.selfRegister: false` otherwise, and a provider that doesn't
569
569
  report it offers registering whenever it supports it.
@@ -1042,19 +1042,24 @@ the `auth_local_identities` and `auth_local_oauth_attempts` tables.
1042
1042
 
1043
1043
  `@jskit-ai/auth-web` owns the normal auth views, guard runtime, sign-out flow,
1044
1044
  and auth-aware HTTP integration. `DefaultLoginView`, `DefaultResetPasswordView`,
1045
- `DefaultEmailChangeView` and `DefaultSignOutView` fill the window themselves: a card on
1046
- `surface-container` on wide windows, the whole screen on phones, and each
1047
- screen's one `h1` ("Sign in", "Create your account", "Reset password", ...).
1045
+ `DefaultEmailChangeView` and `DefaultSignOutView` fill the window themselves: a
1046
+ 520px card in `surface-container-low` on the `surface`, centred and with its top
1047
+ fixed so it stays put as the view changes mode, from 600px wide; the whole
1048
+ screen on phones; and each screen's one `h1` ("Sign in", "Create your account",
1049
+ "Choose a new password", ...).
1048
1050
  Every app shows its identity there, so a person always sees which app they are
1049
1051
  signing in to. It goes in their `brand` slot, which JSKIT lays out: a pane
1050
- beside the card on wide windows (`primary-container`, its children from top to
1051
- bottom) and a compact row above the card on phones. The slot gets `{ compact }`
1052
+ beside the card on wide windows (`surface-container`, so the screen's one
1053
+ focal point in colour stays its main action; its children from top to bottom,
1054
+ the card's top lined up with the pane's first)
1055
+ and a compact row above the card, lined up with it, below 960px. The slot gets `{ compact }`
1052
1056
  to choose what to show, and holds no heading. The `auth/auth-surface` pattern
1053
1057
  does this already: its pages render the app's view wrappers
1054
1058
  (`src/views/auth/LoginView.vue`, `ResetPasswordView.vue`, `EmailChangeView.vue`,
1055
1059
  `SignOutView.vue`),
1056
- and each fills the slot with `src/components/AppBrand.vue`, the app's name as
1057
- `index.html`'s `<title>` spells it. Renaming the app renames both:
1060
+ and each fills the slot with `src/components/AppBrand.vue`: the app's mark, its
1061
+ name as `index.html`'s `<title>` spells it, and on the pane one line about the
1062
+ app. Renaming the app renames both:
1058
1063
 
1059
1064
  ```vue
1060
1065
  <template>
@@ -1066,8 +1071,37 @@ and each fills the slot with `src/components/AppBrand.vue`, the app's name as
1066
1071
  </template>
1067
1072
  ```
1068
1073
 
1069
- An app with a logo or a line about the product puts them in `AppBrand.vue`
1070
- too, keeping the name.
1074
+ An app with a logo puts it in `AppBrand.vue` in place of the mark's initial,
1075
+ keeping the name, and its own line about the product in `APP_TAGLINE`.
1076
+
1077
+ Each field has a leading icon: the mail glyph for the email address, the lock
1078
+ for a password and the key for a code. A new password's field states its rule
1079
+ ("Use at least 8 characters.") before anything is typed. The form's submit
1080
+ follows its fields, and the other ways in come after it, set apart by an "or":
1081
+ the providers, Google's button with Google's own four-colour mark, and on sign
1082
+ in **Email me a sign-in code**. Creating an account is "Create account" on its
1083
+ tab and its submit. A way back to sign-in is named "Sign in", with the sign-in
1084
+ icon (`$login`), beside the question it answers, and every text button's label is in `primary`. Buttons
1085
+ are Material 3's 40dp and fields its 56dp outlined fields; on a phone the card's
1086
+ content and the brand row keep the 16px compact margin. The remember checkbox
1087
+ says what it keeps: "Shows your account here next time. It doesn't keep you
1088
+ signed in." Each screen's title starts at the same place in its card. `DefaultLoginView` and
1089
+ `DefaultResetPasswordView` take `fieldIcons`, naming the fields whose icon the
1090
+ app changes (`email`, `password`, `confirmPassword`, `otpCode`,
1091
+ `confirmationCode`, `setupCode`) as an icon alias, or `""` for none; the others
1092
+ keep JSKIT's (`<DefaultLoginView :field-icons="{ email: '$person' }">`, in
1093
+ the app's `LoginView.vue` wrapper).
1094
+
1095
+ A failed sign-out is titled "Sign-out didn't finish" and is one tonal error
1096
+ alert, `DefaultSignOutView`'s own: "This device may still be signed in" is its
1097
+ title, and the reason and "Try again before you leave this device." its text.
1098
+ Below it are **Retry sign out** and **Go to the app**, with the home icon
1099
+ (`goToLogin`, which takes a device still signed in back to its page);
1100
+ `useSignOutView()` gives the shell's error runtime nothing, so an own sign-out
1101
+ view shows its `errorMessage` there too.
1102
+ The new password page offers **Update password** always: pressed too early, it
1103
+ names what is missing beside each field and sends nothing. An expired link
1104
+ offers **Send a new link**.
1071
1105
 
1072
1106
  A sign-in lands on the page its `returnTo` names. Without one, or with one
1073
1107
  refused as on another origin or as a sign-in or sign-out page, it lands on
@@ -1236,7 +1270,7 @@ Cancel and then Confirm, in its `actions` slot. A native `<dialog>` opened with
1236
1270
  `text-title-small`, `text-body-large`, `text-body-medium` and
1237
1271
  `text-body-small`.
1238
1272
 
1239
- The fields, the Sign in and Register switch, the remember-me checkbox, the
1273
+ The fields, the Sign in and Create account switch, the remember-me checkbox, the
1240
1274
  screen's card and its alerts stay Vuetify components drawn by the app's
1241
1275
  Vuetify theme, so this app still runs Vuetify; an app with no Vuetify writes
1242
1276
  its own screens on the composables above.
@@ -583,6 +583,10 @@ editable while the record is read again, and it shows its `conflicts`, the
583
583
  fields whose server value changed under the person's change, with
584
584
  `EditConflictNotice` after its fields.**
585
585
 
586
+ Its `hasUnsavedEdits` (`useAddEdit()`'s too) is true while a field differs from
587
+ what the form last took, so Save can wait for a change and leaving can ask
588
+ first; `discard()` (`useAddEdit()`'s `discardEdits()`) gives those values back.
589
+
586
590
  Why: a record is read again on a realtime event, when the window regains focus
587
591
  and on Retry; a write straight into the form replaced what the person had typed
588
592
  and not saved, without a word, and a field locked during the read dropped what
@@ -51,6 +51,10 @@ submissions remain blocked during both.
51
51
  - `applyLoaded(payload)`: gives the form a record another read loaded, as the
52
52
  account settings' one read of all its forms does, keeping unsaved edits the
53
53
  same way.
54
+ - `hasUnsavedEdits`: true while a field differs from what the form last took
55
+ from the server (a read, or a save's answer), so a form's Save can wait for a
56
+ change and leaving can ask first; `discardEdits()` gives the form those
57
+ values back and ends its conflicts.
54
58
 
55
59
  For guidance beside a custom button, set `addEditOptions.validationFeedback`
56
60
  to `false` on `useCrudAddEditScreen()` or `useCrudAddEdit()`. With `useAddEdit()`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/agent-docs",
3
- "version": "0.1.387",
3
+ "version": "0.1.388",
4
4
  "description": "Distributed JSKIT agent references, prompts, guides, and generated reference maps.",
5
5
  "type": "module",
6
6
  "files": [
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.38",
38
- "@jskit-ai/material-web": "0.1.18",
38
+ "@jskit-ai/material-web": "0.1.19",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.256",
53
- "@jskit-ai/jskit-catalog": "0.2.139",
53
+ "@jskit-ai/jskit-catalog": "0.2.140",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.38",
38
- "@jskit-ai/material-web": "0.1.18",
38
+ "@jskit-ai/material-web": "0.1.19",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -45,13 +45,13 @@
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
47
  "@jskit-ai/http-runtime": "0.2.39",
48
- "@jskit-ai/shell-web": "0.2.68",
48
+ "@jskit-ai/shell-web": "0.2.69",
49
49
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
50
50
  "@vue/devtools-api": "^8.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@jskit-ai/config-eslint": "0.1.256",
54
- "@jskit-ai/jskit-catalog": "0.2.139",
54
+ "@jskit-ai/jskit-catalog": "0.2.140",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -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.387`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
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.387`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
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.120`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.121`
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`
@@ -48,7 +48,7 @@ Keep what an action gives the assistant within its result limit with text over m
48
48
 
49
49
  - Id: `assistant/model-sized-results`
50
50
  - Keywords: `ai`, `assistant`, `document`, `email`, `limit`, `long text`, `maxToolResultBytes`, `paging`, `read on`, `result`, `size`, `tool`
51
- - Owner: `@jskit-ai/assistant-core@0.2.110`
51
+ - Owner: `@jskit-ai/assistant-core@0.2.111`
52
52
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/model-sized-results/PATTERN.md)
53
53
  - Examples: [example/](../../skills/jskit/references/patterns/assistant/model-sized-results/example/)
54
54
  - Requires: `@jskit-ai/assistant-core`
@@ -70,7 +70,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
70
70
 
71
71
  - Id: `auth/auth-surface`
72
72
  - Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
73
- - Owner: `@jskit-ai/auth-web@0.2.76`
73
+ - Owner: `@jskit-ai/auth-web@0.2.77`
74
74
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
75
75
  - Examples: [example/](../../skills/jskit/references/patterns/auth/auth-surface/example/)
76
76
  - Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
@@ -81,7 +81,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
81
81
 
82
82
  - Id: `auth/oidc-sign-in`
83
83
  - Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
84
- - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.86`
84
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.87`
85
85
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
86
86
  - Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
87
87
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -92,7 +92,7 @@ Write the sign-in screen and the second-factor prompt in an application's own de
92
92
 
93
93
  - Id: `auth/own-design-sign-in`
94
94
  - Keywords: `auth`, `custom design`, `design system`, `login`, `own look`, `second factor`, `sign in`, `step up`, `style`, `without vuetify`
95
- - Owner: `@jskit-ai/auth-web@0.2.76`
95
+ - Owner: `@jskit-ai/auth-web@0.2.77`
96
96
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md)
97
97
  - Examples: [example/](../../skills/jskit/references/patterns/auth/own-design-sign-in/example/)
98
98
  - Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
@@ -268,7 +268,7 @@ Add a protected administration surface, settings shell, and semantic navigation
268
268
 
269
269
  - Id: `console/console-surface`
270
270
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
271
- - Owner: `@jskit-ai/console-web@0.1.321`
271
+ - Owner: `@jskit-ai/console-web@0.1.322`
272
272
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
273
273
  - Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
274
274
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -301,7 +301,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
301
301
 
302
302
  - Id: `crud/crud-screen-set`
303
303
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
304
- - Owner: `@jskit-ai/http-web@0.2.78`
304
+ - Owner: `@jskit-ai/http-web@0.2.79`
305
305
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
306
306
  - Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
307
307
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -345,7 +345,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
345
345
 
346
346
  - Id: `mobile/android-application`
347
347
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
348
- - Owner: `@jskit-ai/mobile-capacitor@0.2.68`
348
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.69`
349
349
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/mobile/android-application/PATTERN.md)
350
350
  - Examples: [example/](../../skills/jskit/references/patterns/mobile/android-application/example/)
351
351
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -356,7 +356,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
356
356
 
357
357
  - Id: `realtime/realtime-application`
358
358
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
359
- - Owner: `@jskit-ai/realtime@0.2.71`
359
+ - Owner: `@jskit-ai/realtime@0.2.72`
360
360
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md)
361
361
  - Examples: [example/](../../skills/jskit/references/patterns/realtime/realtime-application/example/)
362
362
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -367,7 +367,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
367
367
 
368
368
  - Id: `rewards/google-rewarded`
369
369
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
370
- - Owner: `@jskit-ai/rewarded-web@0.2.97`
370
+ - Owner: `@jskit-ai/rewarded-web@0.2.98`
371
371
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
372
372
  - Examples: [example/](../../skills/jskit/references/patterns/rewards/google-rewarded/example/)
373
373
  - Requires: `@jskit-ai/rewarded-web`
@@ -378,7 +378,7 @@ Define a server feature through explicit capabilities and first-class actions, a
378
378
 
379
379
  - Id: `server/feature-package`
380
380
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
381
- - Owner: `@jskit-ai/agent-docs@0.1.387`
381
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
382
382
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
383
383
  - Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
384
384
  - Requires: `@jskit-ai/kernel`
@@ -389,7 +389,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
389
389
 
390
390
  - Id: `shell/application-shell`
391
391
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
392
- - Owner: `@jskit-ai/shell-web@0.2.68`
392
+ - Owner: `@jskit-ai/shell-web@0.2.69`
393
393
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/shell/application-shell/PATTERN.md)
394
394
  - Examples: [example/](../../skills/jskit/references/patterns/shell/application-shell/example/)
395
395
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -400,7 +400,7 @@ Add product routes and shell extensions through file routing, semantic placement
400
400
 
401
401
  - Id: `ui/page-and-placement`
402
402
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
403
- - Owner: `@jskit-ai/shell-web@0.2.68`
403
+ - Owner: `@jskit-ai/shell-web@0.2.69`
404
404
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/ui/page-and-placement/PATTERN.md)
405
405
  - Examples: [example/](../../skills/jskit/references/patterns/ui/page-and-placement/example/)
406
406
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -411,7 +411,7 @@ Compose an account settings route and profile, preference, notification, and sig
411
411
 
412
412
  - Id: `users/account-settings`
413
413
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
414
- - Owner: `@jskit-ai/users-web@0.2.105`
414
+ - Owner: `@jskit-ai/users-web@0.2.106`
415
415
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
416
416
  - Examples: [example/](../../skills/jskit/references/patterns/users/account-settings/example/)
417
417
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -444,7 +444,7 @@ Compose workspace selection, invitation, member administration, settings, and re
444
444
 
445
445
  - Id: `workspaces/workspace-surfaces`
446
446
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
447
- - Owner: `@jskit-ai/workspaces-web@0.2.105`
447
+ - Owner: `@jskit-ai/workspaces-web@0.2.106`
448
448
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
449
449
  - Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
450
450
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -156,6 +156,15 @@ Exports
156
156
  - `readOAuthCallbackParamsFromUrl`
157
157
  - `routeComponents`
158
158
 
159
+ ### `src/client/lib/authFieldIcons.js`
160
+ Exports
161
+ - `namesAuthFields(icons)`
162
+ - `resolveAuthFieldIcons(icons)`
163
+
164
+ ### `src/client/lib/personInitials.js`
165
+ Exports
166
+ - `personInitials(name)`
167
+
159
168
  ### `src/client/lib/profileMenuLinkTarget.js`
160
169
  Exports
161
170
  - `appendAccountReturnToIfNeeded(target = "", { placementContext = null, currentFullPath = "", currentPath = "", currentHref = "" } = {})`
@@ -315,6 +324,7 @@ Local functions
315
324
  Exports
316
325
  - `type AuthGuardState`
317
326
  - `type AuthGuardRuntime`
327
+ - `type AuthFieldIcons`
318
328
  - `type AuthPlacementRuntime`
319
329
  - `type AuthRealtimeSocket`
320
330
  - `type AuthRealtime`
@@ -354,6 +364,7 @@ Exports
354
364
  Exports
355
365
  - None
356
366
  Local functions
367
+ - `isGoogle(provider)`
357
368
  - `oauthProviderName(providerId)`
358
369
  - `togglePasswordVisibility()`
359
370
  - `toggleConfirmPasswordVisibility()`
@@ -24,6 +24,8 @@ Exports
24
24
  - `useAccountSettingsSections()`
25
25
  Local functions
26
26
  - `normalizeSectionTitle(value)`
27
+ - `resolveSectionIcon(value, icon)`
28
+ - `resolveSectionSummary(value, summary)`
27
29
  - `stopListening()`
28
30
 
29
31
  ### `src/client/bootstrap/user-bootstrap-handler.js`
@@ -34,7 +36,11 @@ Exports
34
36
  Exports
35
37
  - None
36
38
  Local functions
39
+ - `isShown(section)`
37
40
  - `sectionTarget(value)`
41
+ - `answerLeaving(discard)`
42
+ - `askBeforeLeaving()`
43
+ - `warnBeforeUnload(event)`
38
44
 
39
45
  ### `src/client/components/ProfileClientElement.vue`
40
46
  Exports
@@ -578,6 +578,10 @@ editable while the record is read again, and it shows its `conflicts`, the
578
578
  fields whose server value changed under the person's change, with
579
579
  `EditConflictNotice` after its fields.**
580
580
 
581
+ Its `hasUnsavedEdits` (`useAddEdit()`'s too) is true while a field differs from
582
+ what the form last took, so Save can wait for a change and leaving can ask
583
+ first; `discard()` (`useAddEdit()`'s `discardEdits()`) gives those values back.
584
+
581
585
  Why: a record is read again on a realtime event, when the window regains focus
582
586
  and on Retry; a write straight into the form replaced what the person had typed
583
587
  and not saved, without a word, and a field locked during the read dropped what
@@ -46,6 +46,10 @@ submissions remain blocked during both.
46
46
  - `applyLoaded(payload)`: gives the form a record another read loaded, as the
47
47
  account settings' one read of all its forms does, keeping unsaved edits the
48
48
  same way.
49
+ - `hasUnsavedEdits`: true while a field differs from what the form last took
50
+ from the server (a read, or a save's answer), so a form's Save can wait for a
51
+ change and leaving can ask first; `discardEdits()` gives the form those
52
+ values back and ends its conflicts.
49
53
 
50
54
  For guidance beside a custom button, set `addEditOptions.validationFeedback`
51
55
  to `false` on `useCrudAddEditScreen()` or `useCrudAddEdit()`. With `useAddEdit()`,
@@ -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.387`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
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.387`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
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.120`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.121`
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`
@@ -48,7 +48,7 @@ Keep what an action gives the assistant within its result limit with text over m
48
48
 
49
49
  - Id: `assistant/model-sized-results`
50
50
  - Keywords: `ai`, `assistant`, `document`, `email`, `limit`, `long text`, `maxToolResultBytes`, `paging`, `read on`, `result`, `size`, `tool`
51
- - Owner: `@jskit-ai/assistant-core@0.2.110`
51
+ - Owner: `@jskit-ai/assistant-core@0.2.111`
52
52
  - Read: [PATTERN.md](patterns/assistant/model-sized-results/PATTERN.md)
53
53
  - Examples: [example/](patterns/assistant/model-sized-results/example/)
54
54
  - Requires: `@jskit-ai/assistant-core`
@@ -70,7 +70,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
70
70
 
71
71
  - Id: `auth/auth-surface`
72
72
  - Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
73
- - Owner: `@jskit-ai/auth-web@0.2.76`
73
+ - Owner: `@jskit-ai/auth-web@0.2.77`
74
74
  - Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
75
75
  - Examples: [example/](patterns/auth/auth-surface/example/)
76
76
  - Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
@@ -81,7 +81,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
81
81
 
82
82
  - Id: `auth/oidc-sign-in`
83
83
  - Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
84
- - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.86`
84
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.87`
85
85
  - Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
86
86
  - Examples: [example/](patterns/auth/oidc-sign-in/example/)
87
87
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -92,7 +92,7 @@ Write the sign-in screen and the second-factor prompt in an application's own de
92
92
 
93
93
  - Id: `auth/own-design-sign-in`
94
94
  - Keywords: `auth`, `custom design`, `design system`, `login`, `own look`, `second factor`, `sign in`, `step up`, `style`, `without vuetify`
95
- - Owner: `@jskit-ai/auth-web@0.2.76`
95
+ - Owner: `@jskit-ai/auth-web@0.2.77`
96
96
  - Read: [PATTERN.md](patterns/auth/own-design-sign-in/PATTERN.md)
97
97
  - Examples: [example/](patterns/auth/own-design-sign-in/example/)
98
98
  - Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
@@ -268,7 +268,7 @@ Add a protected administration surface, settings shell, and semantic navigation
268
268
 
269
269
  - Id: `console/console-surface`
270
270
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
271
- - Owner: `@jskit-ai/console-web@0.1.321`
271
+ - Owner: `@jskit-ai/console-web@0.1.322`
272
272
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
273
273
  - Examples: [example/](patterns/console/console-surface/example/)
274
274
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -301,7 +301,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
301
301
 
302
302
  - Id: `crud/crud-screen-set`
303
303
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
304
- - Owner: `@jskit-ai/http-web@0.2.78`
304
+ - Owner: `@jskit-ai/http-web@0.2.79`
305
305
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
306
306
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
307
307
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -345,7 +345,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
345
345
 
346
346
  - Id: `mobile/android-application`
347
347
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
348
- - Owner: `@jskit-ai/mobile-capacitor@0.2.68`
348
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.69`
349
349
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
350
350
  - Examples: [example/](patterns/mobile/android-application/example/)
351
351
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -356,7 +356,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
356
356
 
357
357
  - Id: `realtime/realtime-application`
358
358
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
359
- - Owner: `@jskit-ai/realtime@0.2.71`
359
+ - Owner: `@jskit-ai/realtime@0.2.72`
360
360
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
361
361
  - Examples: [example/](patterns/realtime/realtime-application/example/)
362
362
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -367,7 +367,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
367
367
 
368
368
  - Id: `rewards/google-rewarded`
369
369
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
370
- - Owner: `@jskit-ai/rewarded-web@0.2.97`
370
+ - Owner: `@jskit-ai/rewarded-web@0.2.98`
371
371
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
372
372
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
373
373
  - Requires: `@jskit-ai/rewarded-web`
@@ -378,7 +378,7 @@ Define a server feature through explicit capabilities and first-class actions, a
378
378
 
379
379
  - Id: `server/feature-package`
380
380
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
381
- - Owner: `@jskit-ai/agent-docs@0.1.387`
381
+ - Owner: `@jskit-ai/agent-docs@0.1.388`
382
382
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
383
383
  - Examples: [example/](patterns/server/feature-package/example/)
384
384
  - Requires: `@jskit-ai/kernel`
@@ -389,7 +389,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
389
389
 
390
390
  - Id: `shell/application-shell`
391
391
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
392
- - Owner: `@jskit-ai/shell-web@0.2.68`
392
+ - Owner: `@jskit-ai/shell-web@0.2.69`
393
393
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
394
394
  - Examples: [example/](patterns/shell/application-shell/example/)
395
395
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -400,7 +400,7 @@ Add product routes and shell extensions through file routing, semantic placement
400
400
 
401
401
  - Id: `ui/page-and-placement`
402
402
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
403
- - Owner: `@jskit-ai/shell-web@0.2.68`
403
+ - Owner: `@jskit-ai/shell-web@0.2.69`
404
404
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
405
405
  - Examples: [example/](patterns/ui/page-and-placement/example/)
406
406
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -411,7 +411,7 @@ Compose an account settings route and profile, preference, notification, and sig
411
411
 
412
412
  - Id: `users/account-settings`
413
413
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
414
- - Owner: `@jskit-ai/users-web@0.2.105`
414
+ - Owner: `@jskit-ai/users-web@0.2.106`
415
415
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
416
416
  - Examples: [example/](patterns/users/account-settings/example/)
417
417
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -444,7 +444,7 @@ Compose workspace selection, invitation, member administration, settings, and re
444
444
 
445
445
  - Id: `workspaces/workspace-surfaces`
446
446
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
447
- - Owner: `@jskit-ai/workspaces-web@0.2.105`
447
+ - Owner: `@jskit-ai/workspaces-web@0.2.106`
448
448
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
449
449
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
450
450
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.38",
38
- "@jskit-ai/material-web": "0.1.18",
38
+ "@jskit-ai/material-web": "0.1.19",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.256",
53
- "@jskit-ai/jskit-catalog": "0.2.139",
53
+ "@jskit-ai/jskit-catalog": "0.2.140",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.38",
38
- "@jskit-ai/material-web": "0.1.18",
38
+ "@jskit-ai/material-web": "0.1.19",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -45,13 +45,13 @@
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
47
  "@jskit-ai/http-runtime": "0.2.39",
48
- "@jskit-ai/shell-web": "0.2.68",
48
+ "@jskit-ai/shell-web": "0.2.69",
49
49
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
50
50
  "@vue/devtools-api": "^8.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@jskit-ai/config-eslint": "0.1.256",
54
- "@jskit-ai/jskit-catalog": "0.2.139",
54
+ "@jskit-ai/jskit-catalog": "0.2.140",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -30,10 +30,13 @@ Use the views, auth guard, HTTP client integration, sign-out runtime, providers,
30
30
  and Playwright auth helper exported by `@jskit-ai/auth-web`. The sign-in, reset,
31
31
  email change and sign-out screens show the app's identity: the pages render the app's view
32
32
  wrappers (`src/views/auth/`), and each wrapper fills the default view's `brand`
33
- slot (given `{ compact }`) with `src/components/AppBrand.vue`, the app's name
34
- as `index.html`'s `<title>` spells it. JSKIT lays the slot out as a pane beside
35
- the card on wide windows and a row above it on phones; never restyle the views'
36
- own classes. Use auth policies from `@jskit-ai/auth-core` for server
33
+ slot (given `{ compact }`) with `src/components/AppBrand.vue`: the app's mark
34
+ (its initial on a `primary` tile, until the app has a logo), its name as
35
+ `index.html`'s `<title>` spells it, and on the pane one quiet line about the app
36
+ (`APP_TAGLINE`, in body-large and `on-surface-variant`, so the card's title and
37
+ message keep the eye). JSKIT lays the slot out as a pane beside the card on wide
38
+ windows and a row above it, lined up with the card, on phones and tablets;
39
+ never restyle the views' own classes. Use auth policies from `@jskit-ai/auth-core` for server
37
40
  authorization.
38
41
 
39
42
  Every application with accounts includes the managed-preview login. It is
@@ -1,7 +1,8 @@
1
1
  <script setup>
2
2
  // The app's identity on its sign-in, reset and sign-out screens. The auth views place it in their brand slot: a pane
3
- // beside the card on wide windows, and a row above the card on phones (`compact`). It is the app's name as
4
- // index.html's <title> spells it, so renaming the app renames both. It holds no heading: each screen's h1 is its own.
3
+ // beside the card on wide windows, and a row above the card on phones and tablets (`compact`). It is the app's mark
4
+ // and its name as index.html's <title> spells it, so renaming the app renames both, and on the pane one line about the
5
+ // app. Replace the mark's initial with the app's logo when it has one. It holds no heading: each screen's h1 is its own.
5
6
  defineProps({
6
7
  compact: {
7
8
  type: Boolean,
@@ -10,8 +11,62 @@ defineProps({
10
11
  });
11
12
 
12
13
  const APP_NAME = "Reading Room";
14
+ // One line about the app, shown on the pane of wide windows.
15
+ const APP_TAGLINE = "Every book you are reading, and every note you took, in one place.";
13
16
  </script>
14
17
 
15
18
  <template>
16
- <div :class="compact ? 'text-title-medium' : 'text-title-large'" data-testid="app-brand">{{ APP_NAME }}</div>
19
+ <div class="app-brand" :class="{ 'app-brand--compact': compact }">
20
+ <div class="app-brand__identity">
21
+ <span class="app-brand__mark" aria-hidden="true">{{ APP_NAME.charAt(0) }}</span>
22
+ <span :class="compact ? 'text-title-medium' : 'text-title-large'" data-testid="app-brand">{{ APP_NAME }}</span>
23
+ </div>
24
+ <p v-if="!compact" class="app-brand__tagline text-body-large">{{ APP_TAGLINE }}</p>
25
+ </div>
17
26
  </template>
27
+
28
+ <style scoped>
29
+ /* On the pane, the identity at its top and the line about the app at its foot. */
30
+ .app-brand {
31
+ display: flex;
32
+ flex: 1;
33
+ flex-direction: column;
34
+ justify-content: space-between;
35
+ gap: 32px;
36
+ }
37
+
38
+ .app-brand__identity {
39
+ display: flex;
40
+ align-items: center;
41
+ gap: 12px;
42
+ }
43
+
44
+ /* The mark: the app's initial on a primary tile, until the app has a logo. */
45
+ .app-brand__mark {
46
+ display: inline-grid;
47
+ flex: none;
48
+ place-items: center;
49
+ width: 48px;
50
+ height: 48px;
51
+ border-radius: 12px;
52
+ background-color: rgb(var(--v-theme-primary));
53
+ color: rgb(var(--v-theme-on-primary));
54
+ font-size: 1.5rem;
55
+ font-weight: 500;
56
+ line-height: 1;
57
+ }
58
+
59
+ .app-brand--compact .app-brand__mark {
60
+ width: 32px;
61
+ height: 32px;
62
+ border-radius: 8px;
63
+ font-size: 1rem;
64
+ }
65
+
66
+ /* A quiet line about the app, under the screen's own title, so the card's message keeps the eye. */
67
+ .app-brand__tagline {
68
+ max-width: 24em;
69
+ margin: 0;
70
+ color: rgb(var(--v-theme-on-surface-variant));
71
+ }
72
+ </style>
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.86",
6
- "@jskit-ai/auth-web": "0.2.76"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.87",
6
+ "@jskit-ai/auth-web": "0.2.77"
7
7
  }
8
8
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.71",
6
- "@jskit-ai/shell-web": "0.2.68"
5
+ "@jskit-ai/realtime": "0.2.72",
6
+ "@jskit-ai/shell-web": "0.2.69"
7
7
  }
8
8
  }
@@ -44,8 +44,8 @@ section keeps what the person changed and has not saved, and takes every other
44
44
  field; its fields stay editable while the read runs. A section's `conflicts`
45
45
  (a ref) lists the fields whose server value changed under the person's change,
46
46
  as `{ key, value }` with the server's value; `acceptServerValue(key)` takes it
47
- and `keepOwnValue(key)` keeps theirs. The example sections show them after
48
- their Save button with `EditConflictNotice` from
47
+ and `keepOwnValue(key)` keeps theirs. The example sections show them at the
48
+ end of their form with `EditConflictNotice` from
49
49
  `@jskit-ai/http-web/client/components/EditConflictNotice`, which takes
50
50
  `{ key, label, value }` items, `value` the server's value as the field shows it.
51
51
 
@@ -56,11 +56,58 @@ Sections are pages of the account surface, in Material 3's list-detail layout
56
56
  `/account/preferences`), both rendering `AccountSettingsClientElement`, which
57
57
  reads the section from the route's `section` param. The section page's parent
58
58
  is the list, the surface's `"/"`. A phone or medium window shows the list or one
59
- section, and Up returns from the section to the list; an expanded or large
59
+ section, and the bar returns from the section to the list (a form's close, a
60
+ section that is no form its Up arrow); an expanded or large
60
61
  window shows the list beside the open section, or beside the first section on
61
- the list's own page. A link to a section is its path, `/account/invites`, with
62
+ the list's own page, and both draw the same bar, with Done as the way out. A link to a section is its path, `/account/invites`, with
62
63
  `returnTo` in the query for Done.
63
64
 
65
+ The section list is headed by the account as saved (`runtime.account.saved`,
66
+ while the profile form holds what the person types): its avatar in
67
+ `primary-container`, a tile's size, with the account control's initials (one
68
+ letter for a one-word name), its name in a headline role and its email, the avatar lined up with the
69
+ list's tiles and the name with their titles and, on a phone, with the page's
70
+ margin. Each entry of the list is a Material 3 list item headed by its icon on a
71
+ tonal tile: its title in body-large, with a line under it in body-medium saying
72
+ what the section holds (the link's description; its name is the title), 72dp
73
+ tall. A section's placement names them in
74
+ `props.icon`, an icon alias such as `"$mail"`, and `props.summary`, plain text,
75
+ a message key or `{ key, fallback }`, beside `value` and `title`; the four
76
+ example sections have users-web's (`$person`, `$tune`, `$notifications`, `$key`,
77
+ and a summary each), and a section that names none has the settings icon and
78
+ its title alone. Where the list is alone (compact and medium windows) each entry
79
+ ends in a chevron, as it opens a page. The open section's label is bold, and
80
+ its tile joins its `secondary-container` pill, its icon in
81
+ `on-secondary-container`. Beside the list, the open section is headed by its
82
+ tile and its title (an `h2`; the app bar's title, "Account settings", is the
83
+ page's `h1`), its tile lined up with the account's, and its form keeps a
84
+ readable width, at most 600px. A section open alone (compact and medium
85
+ windows) adds no heading: the app bar's title is the section's, under Up to the
86
+ list. A section's content starts at the page's margin, with no side padding of
87
+ its own.
88
+
89
+ A section's form is an edit form, as the guide's forms are. Its Save is the app
90
+ bar's primary action: `<ShellPageActions>` holds a
91
+ `<ShellPageAction primary label="Save profile" type="submit" form="…">` that
92
+ submits the section's form by its id, with `loading` and `pending` while it
93
+ saves. Save says what it saves and stays off until a field changes: each form
94
+ in the runtime has `hasUnsavedEdits` (a ref), true while a field differs from
95
+ what the form last took from the server. The section calls
96
+ `useShellPageClose({ label: "Cancel", close: () => navigation.finish() })`, so
97
+ the bar's Up arrow is its close (X), which leaves for the list; Sign-in methods,
98
+ no form, keeps the arrow. Leaving a form with unsaved edits asks first: its
99
+ close, Done, another section and the browser's Back open
100
+ `AccountSettingsClientElement`'s "Discard unsaved changes?" dialog (Keep
101
+ editing stays; Discard gives the form its saved values back and goes on), and
102
+ closing or reloading the tab asks through the browser. The runtime's
103
+ `hasUnsavedEdits` and `discardEdits()` cover its three forms; a section with a
104
+ form of its own asks the same way only through its own guard. The example profile section shows the
105
+ avatar in `primary-container` with **Change avatar** (**Add avatar** without
106
+ one), a filled tonal button in `secondary-container`, beside it, Display name
107
+ with its leading icon in Material 3's 56dp outlined field, and the email, which
108
+ the sign-in account manages, as a detail row to read: the address first, then
109
+ "Email" and who manages it, its icon and text on the field's keylines.
110
+
64
111
  `runtime.signInMethods.methods` lists the auth provider's OAuth sign-in
65
112
  methods as `{ provider, label, linked, canLink, canUnlink }`, read from the
66
113
  settings security status. `link(provider)` leaves for the provider through
@@ -82,10 +129,10 @@ provider offers provider linking (`providerLinking` in its capabilities).
82
129
  - The route and placement owner agree.
83
130
  - The account surface renders in its own layout, `src/pages/account.vue`
84
131
  (`ShellLayout` around `<RouterView />`, `meta.jskit.surface: "account"`), so
85
- the settings page's title and Up arrow are in the top app bar. Up is the
86
- page's only way out; `AccountSettingsClientElement` adds a Done action only
87
- where Up can't go back (no parent, a section beside the list on a wide
88
- window, or a returnTo on another origin).
132
+ the settings page's title and Up arrow are in the top app bar. Up (a form's
133
+ close) is the page's only way out; `AccountSettingsClientElement` adds a Done
134
+ action only where Up can't go back (no parent, a wide window, where a section
135
+ shows beside the list, or a returnTo on another origin).
89
136
  With no navigation items, the surface shows no navigation bar, rail or drawer.
90
137
  - Each section has its own address, `/account/<section>`, served by
91
138
  `src/pages/account/[section].vue` with parent `"/"`; nothing selects a
@@ -108,8 +155,10 @@ notification vocabulary while keeping server-owned validation authoritative.
108
155
  Navigate away and back with warm cache, exercise browser back/forward, save and
109
156
  clear fields, verify toast errors, inspect skeleton geometry, and test keyboard
110
157
  operation at compact and expanded widths. At 390 px check that the list and a
111
- section show one at a time and Up returns from the section to the list; at
112
- 1280 px that the list shows beside the open section, with no Up.
158
+ section show one at a time and the bar's close (X) returns from a form section
159
+ to the list; at 1280 px that the list shows beside the open section, with no Up.
160
+ Check that Save stays off until a field changes, and that leaving a changed form
161
+ by its close, another section, Back or closing the tab asks first.
113
162
 
114
163
  ## Avoid
115
164
 
@@ -1,7 +1,10 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
3
  import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
4
- import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
4
+ import ShellPageAction from "@jskit-ai/shell-web/client/components/ShellPageAction";
5
+ import ShellPageActions from "@jskit-ai/shell-web/client/components/ShellPageActions";
6
+ import { useShellPageClose } from "@jskit-ai/shell-web/client/composables/useShellPageClose";
7
+ import { useShellNavigation } from "@jskit-ai/shell-web/client/navigation/useShellNavigation";
5
8
 
6
9
  const props = defineProps({
7
10
  runtime: {
@@ -12,6 +15,11 @@ const props = defineProps({
12
15
 
13
16
  const notifications = props.runtime.notifications;
14
17
 
18
+ // An edit form, as the guide's forms are: the app bar's Up arrow is its close (X), Cancel, which leaves for the list;
19
+ // the settings ask first when the form has unsaved edits.
20
+ const navigation = useShellNavigation();
21
+ useShellPageClose({ label: "Cancel", close: () => navigation.finish() });
22
+
15
23
  // The settings read again (another session saved them) keep what the person switched; the notice names each switch
16
24
  // whose server value changed meanwhile.
17
25
  const FIELD_LABELS = Object.freeze({ productUpdates: "Product updates", accountActivity: "Account activity alerts" });
@@ -23,7 +31,20 @@ const conflictItems = computed(() =>
23
31
  <template>
24
32
  <div class="account-settings-section">
25
33
  <div class="account-settings-section__body">
26
- <v-form @submit.prevent="notifications.submit" novalidate>
34
+ <!-- Save is the app bar's primary action, as Material 3 puts a form's Save; it submits this form by its id. It says
35
+ what it saves, and stays off until a field changes. -->
36
+ <ShellPageActions>
37
+ <ShellPageAction
38
+ primary
39
+ label="Save notifications"
40
+ type="submit"
41
+ form="account-settings-notifications-form"
42
+ :loading="notifications.isSaving.value"
43
+ :pending="notifications.isSaving.value || notifications.isRefreshing.value"
44
+ :disabled="!notifications.hasUnsavedEdits.value"
45
+ />
46
+ </ShellPageActions>
47
+ <v-form id="account-settings-notifications-form" @submit.prevent="notifications.submit" novalidate>
27
48
  <v-switch
28
49
  v-model="notifications.form.productUpdates"
29
50
  label="Product updates"
@@ -47,15 +68,6 @@ const conflictItems = computed(() =>
47
68
  hide-details
48
69
  disabled
49
70
  />
50
- <v-btn
51
- type="submit"
52
- color="primary"
53
- class="mt-4"
54
- :loading="notifications.isSaving.value"
55
- v-pending="notifications.isSaving.value || notifications.isRefreshing.value"
56
- >
57
- Save notification settings
58
- </v-btn>
59
71
  <EditConflictNotice
60
72
  :items="conflictItems"
61
73
  @accept="notifications.acceptServerValue"
@@ -71,7 +83,8 @@ const conflictItems = computed(() =>
71
83
  overflow: hidden;
72
84
  }
73
85
 
86
+ /* The section starts at the page's margin, under the bar's Up arrow: no side padding of its own. */
74
87
  .account-settings-section__body {
75
- padding: 1rem;
88
+ padding: 1rem 0;
76
89
  }
77
90
  </style>
@@ -1,7 +1,10 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
3
  import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
4
- import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
4
+ import ShellPageAction from "@jskit-ai/shell-web/client/components/ShellPageAction";
5
+ import ShellPageActions from "@jskit-ai/shell-web/client/components/ShellPageActions";
6
+ import { useShellPageClose } from "@jskit-ai/shell-web/client/composables/useShellPageClose";
7
+ import { useShellNavigation } from "@jskit-ai/shell-web/client/navigation/useShellNavigation";
5
8
 
6
9
  const props = defineProps({
7
10
  runtime: {
@@ -12,6 +15,11 @@ const props = defineProps({
12
15
 
13
16
  const preferences = props.runtime.preferences;
14
17
 
18
+ // An edit form, as the guide's forms are: the app bar's Up arrow is its close (X), Cancel, which leaves for the list;
19
+ // the settings ask first when the form has unsaved edits.
20
+ const navigation = useShellNavigation();
21
+ useShellPageClose({ label: "Cancel", close: () => navigation.finish() });
22
+
15
23
  // The settings read again (another session saved them) keep what the person chose; the notice names each field whose
16
24
  // server value changed meanwhile, with that value as its list shows it.
17
25
  const FIELDS = Object.freeze({
@@ -35,7 +43,20 @@ const conflictItems = computed(() =>
35
43
  <template>
36
44
  <div class="account-settings-section">
37
45
  <div class="account-settings-section__body">
38
- <v-form @submit.prevent="preferences.submit" novalidate>
46
+ <!-- Save is the app bar's primary action, as Material 3 puts a form's Save; it submits this form by its id. It says
47
+ what it saves, and stays off until a field changes. -->
48
+ <ShellPageActions>
49
+ <ShellPageAction
50
+ primary
51
+ label="Save preferences"
52
+ type="submit"
53
+ form="account-settings-preferences-form"
54
+ :loading="preferences.isSaving.value"
55
+ :pending="preferences.isSaving.value || preferences.isRefreshing.value"
56
+ :disabled="!preferences.hasUnsavedEdits.value"
57
+ />
58
+ </ShellPageActions>
59
+ <v-form id="account-settings-preferences-form" @submit.prevent="preferences.submit" novalidate>
39
60
  <v-row>
40
61
  <v-col cols="12" md="4">
41
62
  <!-- readable-check: allow selection-field - data: the account settings runtime holds these as fixed lists, so nothing loads -->
@@ -46,7 +67,6 @@ const conflictItems = computed(() =>
46
67
  item-title="title"
47
68
  item-value="value"
48
69
  variant="outlined"
49
- density="comfortable"
50
70
  :disabled="preferences.isSaving.value"
51
71
  :error-messages="preferences.fieldErrors.theme"
52
72
  />
@@ -61,7 +81,6 @@ const conflictItems = computed(() =>
61
81
  item-title="title"
62
82
  item-value="value"
63
83
  variant="outlined"
64
- density="comfortable"
65
84
  :disabled="preferences.isSaving.value"
66
85
  :error-messages="preferences.fieldErrors.locale"
67
86
  />
@@ -74,7 +93,6 @@ const conflictItems = computed(() =>
74
93
  label="Time zone"
75
94
  :items="preferences.options.timeZone"
76
95
  variant="outlined"
77
- density="comfortable"
78
96
  :disabled="preferences.isSaving.value"
79
97
  :error-messages="preferences.fieldErrors.timeZone"
80
98
  />
@@ -89,7 +107,6 @@ const conflictItems = computed(() =>
89
107
  item-title="title"
90
108
  item-value="value"
91
109
  variant="outlined"
92
- density="comfortable"
93
110
  :disabled="preferences.isSaving.value"
94
111
  :error-messages="preferences.fieldErrors.dateFormat"
95
112
  />
@@ -104,7 +121,6 @@ const conflictItems = computed(() =>
104
121
  item-title="title"
105
122
  item-value="value"
106
123
  variant="outlined"
107
- density="comfortable"
108
124
  :disabled="preferences.isSaving.value"
109
125
  :error-messages="preferences.fieldErrors.numberFormat"
110
126
  />
@@ -117,7 +133,6 @@ const conflictItems = computed(() =>
117
133
  label="Currency"
118
134
  :items="preferences.options.currency"
119
135
  variant="outlined"
120
- density="comfortable"
121
136
  :disabled="preferences.isSaving.value"
122
137
  :error-messages="preferences.fieldErrors.currencyCode"
123
138
  />
@@ -130,22 +145,12 @@ const conflictItems = computed(() =>
130
145
  label="Avatar size"
131
146
  :items="preferences.options.avatarSize"
132
147
  variant="outlined"
133
- density="comfortable"
134
148
  :disabled="preferences.isSaving.value"
135
149
  :error-messages="preferences.fieldErrors.avatarSize"
136
150
  />
137
151
  </v-col>
138
152
  </v-row>
139
153
 
140
- <v-btn
141
- type="submit"
142
- color="primary"
143
- class="mt-4"
144
- :loading="preferences.isSaving.value"
145
- v-pending="preferences.isSaving.value || preferences.isRefreshing.value"
146
- >
147
- Save preferences
148
- </v-btn>
149
154
  <EditConflictNotice
150
155
  :items="conflictItems"
151
156
  @accept="preferences.acceptServerValue"
@@ -161,7 +166,8 @@ const conflictItems = computed(() =>
161
166
  overflow: hidden;
162
167
  }
163
168
 
169
+ /* The section starts at the page's margin, under the bar's Up arrow: no side padding of its own. */
164
170
  .account-settings-section__body {
165
- padding: 1rem;
171
+ padding: 1rem 0;
166
172
  }
167
173
  </style>
@@ -1,7 +1,10 @@
1
1
  <script setup>
2
2
  import { computed } from "vue";
3
3
  import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
4
- import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
4
+ import ShellPageAction from "@jskit-ai/shell-web/client/components/ShellPageAction";
5
+ import ShellPageActions from "@jskit-ai/shell-web/client/components/ShellPageActions";
6
+ import { useShellPageClose } from "@jskit-ai/shell-web/client/composables/useShellPageClose";
7
+ import { useShellNavigation } from "@jskit-ai/shell-web/client/navigation/useShellNavigation";
5
8
 
6
9
  const props = defineProps({
7
10
  runtime: {
@@ -12,6 +15,11 @@ const props = defineProps({
12
15
 
13
16
  const profile = props.runtime.profile;
14
17
 
18
+ // An edit form, as the guide's forms are: the app bar's Up arrow is its close (X), Cancel, which leaves for the list;
19
+ // the settings ask first when the form has unsaved edits.
20
+ const navigation = useShellNavigation();
21
+ useShellPageClose({ label: "Cancel", close: () => navigation.finish() });
22
+
15
23
  // The settings read again (another session saved them) keep what the person typed; the notice names each field whose
16
24
  // server value changed meanwhile.
17
25
  const FIELD_LABELS = Object.freeze({ displayName: "Display name", email: "Email" });
@@ -23,25 +31,36 @@ const conflictItems = computed(() =>
23
31
  <template>
24
32
  <div class="account-settings-section">
25
33
  <div class="account-settings-section__body">
26
- <v-form @submit.prevent="profile.submit" novalidate>
27
- <v-row class="mb-2">
28
- <v-col cols="12" md="4" class="d-flex flex-column align-center justify-center">
29
- <v-avatar :size="profile.avatar.size" color="surface-variant" rounded="circle" class="mb-3">
30
- <v-img v-if="profile.avatar.effectiveUrl" :src="profile.avatar.effectiveUrl" cover />
31
- <span v-else class="text-title-large">{{ profile.initials.value }}</span>
32
- </v-avatar>
33
- <div class="text-body-small on-surface-variant">Preview size: {{ profile.avatar.size }} px</div>
34
- </v-col>
34
+ <!-- Save is the app bar's primary action, as Material 3 puts a form's Save; it submits this form by its id. It says
35
+ what it saves, and stays off until a field changes. -->
36
+ <ShellPageActions>
37
+ <ShellPageAction
38
+ primary
39
+ label="Save profile"
40
+ type="submit"
41
+ form="account-settings-profile-form"
42
+ :loading="profile.isSaving.value"
43
+ :pending="profile.isSaving.value || profile.isRefreshing.value"
44
+ :disabled="!profile.hasUnsavedEdits.value || profile.isDeletingAvatar.value"
45
+ />
46
+ </ShellPageActions>
47
+ <v-form id="account-settings-profile-form" @submit.prevent="profile.submit" novalidate>
48
+ <!-- The avatar in a container colour, at the size the person chose, with its actions beside it. -->
49
+ <div class="d-flex flex-wrap align-center ga-4 mb-6">
50
+ <v-avatar :size="profile.avatar.size" color="primary-container" rounded="circle">
51
+ <v-img v-if="profile.avatar.effectiveUrl" :src="profile.avatar.effectiveUrl" cover />
52
+ <span v-else class="text-title-large">{{ profile.initials.value }}</span>
53
+ </v-avatar>
35
54
 
36
- <v-col cols="12" md="8">
37
- <div class="d-flex flex-wrap ga-2 mb-2">
55
+ <div>
56
+ <div class="d-flex flex-wrap ga-2">
38
57
  <v-btn
39
- variant="tonal"
40
- color="secondary"
58
+ variant="flat"
59
+ color="secondary-container"
41
60
  :disabled="profile.isSaving.value || profile.isDeletingAvatar.value || profile.isRefreshing.value"
42
61
  @click="profile.openAvatarEditor"
43
62
  >
44
- Replace avatar
63
+ {{ profile.avatar.hasUploadedAvatar ? "Change avatar" : "Add avatar" }}
45
64
  </v-btn>
46
65
  <v-btn
47
66
  v-if="profile.avatar.hasUploadedAvatar"
@@ -55,48 +74,32 @@ const conflictItems = computed(() =>
55
74
  </v-btn>
56
75
  </div>
57
76
 
58
- <div v-if="profile.selectedAvatarFileName.value" class="text-body-small on-surface-variant mb-2">
77
+ <div v-if="profile.selectedAvatarFileName.value" class="text-body-small on-surface-variant mt-2">
59
78
  Selected file: {{ profile.selectedAvatarFileName.value }}
60
79
  </div>
61
- </v-col>
62
- </v-row>
80
+ </div>
81
+ </div>
63
82
 
64
- <v-row>
65
- <v-col cols="12">
66
- <v-text-field
67
- v-model="profile.form.displayName"
68
- label="Display name"
69
- variant="outlined"
70
- density="comfortable"
71
- autocomplete="nickname"
72
- :readonly="profile.isSaving.value"
73
- :error-messages="profile.fieldErrors.displayName"
74
- />
75
- </v-col>
83
+ <v-text-field
84
+ v-model="profile.form.displayName"
85
+ label="Display name"
86
+ variant="outlined"
87
+ autocomplete="nickname"
88
+ prepend-inner-icon="$person"
89
+ :readonly="profile.isSaving.value"
90
+ :error-messages="profile.fieldErrors.displayName"
91
+ />
76
92
 
77
- <v-col cols="12">
78
- <v-text-field
79
- v-model="profile.form.email"
80
- label="Email"
81
- variant="outlined"
82
- density="comfortable"
83
- readonly
84
- hint="Managed by your sign-in account"
85
- persistent-hint
86
- />
87
- </v-col>
88
- </v-row>
89
-
90
- <v-btn
91
- type="submit"
92
- color="primary"
93
- class="mt-4"
94
- :loading="profile.isSaving.value"
95
- v-pending="profile.isSaving.value || profile.isRefreshing.value"
96
- :disabled="profile.isDeletingAvatar.value"
97
- >
98
- Save profile
99
- </v-btn>
93
+ <!-- The sign-in account manages the email: a detail row to read, not a field to type in. The address is its
94
+ title, what it is and who manages it the lines under it, on the field's icon and text keylines above. -->
95
+ <div class="account-email" data-testid="account-email">
96
+ <v-icon icon="$mail" color="on-surface-variant" />
97
+ <div class="account-email__text">
98
+ <div class="account-email__value text-body-large">{{ profile.form.email }}</div>
99
+ <div class="text-body-medium on-surface-variant">Email</div>
100
+ <div class="text-body-medium on-surface-variant">Managed by your sign-in account</div>
101
+ </div>
102
+ </div>
100
103
  <EditConflictNotice :items="conflictItems" @accept="profile.acceptServerValue" @keep="profile.keepOwnValue" />
101
104
  </v-form>
102
105
  </div>
@@ -108,7 +111,24 @@ const conflictItems = computed(() =>
108
111
  overflow: hidden;
109
112
  }
110
113
 
114
+ /* The section starts at the page's margin, under the bar's Up arrow: no side padding of its own. */
111
115
  .account-settings-section__body {
112
- padding: 1rem;
116
+ padding: 1rem 0;
117
+ }
118
+
119
+ .account-email {
120
+ display: flex;
121
+ align-items: flex-start;
122
+ gap: 6px;
123
+ padding-inline: 12px;
124
+ }
125
+
126
+ .account-email__text {
127
+ min-width: 0;
128
+ }
129
+
130
+ /* A long address wraps rather than hiding its end. */
131
+ .account-email__value {
132
+ overflow-wrap: anywhere;
113
133
  }
114
134
  </style>
@@ -11,7 +11,7 @@ const signInMethods = props.runtime.signInMethods;
11
11
 
12
12
  <template>
13
13
  <div class="account-settings-section">
14
- <v-list lines="two" class="py-0">
14
+ <v-list lines="two" class="account-settings-section__methods py-0">
15
15
  <v-list-item
16
16
  v-for="method in signInMethods.methods.value"
17
17
  :key="method.provider"
@@ -55,7 +55,12 @@ const signInMethods = props.runtime.signInMethods;
55
55
  overflow: hidden;
56
56
  }
57
57
 
58
+ /* The methods and the hint start at the page's margin, as every section's content does. */
59
+ .account-settings-section__methods .v-list-item {
60
+ padding-inline: 0;
61
+ }
62
+
58
63
  .account-settings-section__hint {
59
- padding: 0 1rem 1rem;
64
+ padding: 0 0 1rem;
60
65
  }
61
66
  </style>