@alis-build/design-system 0.32.0 → 0.34.0
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/alisx.css +13 -4
- package/classes.json +7 -0
- package/components/AppAlert.md +11 -0
- package/components/AppAsk.md +1 -0
- package/components/AppChip.md +1 -0
- package/components/AppCombobox.md +1 -0
- package/components/AppComposer.md +1 -1
- package/components/AppDialog.md +40 -0
- package/components/AppEmptyState.md +36 -2
- package/components/AppListRow.md +1 -1
- package/components/AppSelect.md +14 -0
- package/components/AppShell.md +56 -3
- package/components/AppTextField.md +13 -1
- package/components/AppTitleBar.md +29 -3
- package/package.json +1 -1
- package/rules/README.md +1 -0
- package/rules/access.md +208 -0
- package/rules/errors.md +13 -6
- package/rules/known-gaps.md +3 -3
- package/rules/page.md +44 -3
- package/rules/quick-start.md +2 -0
- package/rules/type.md +1 -1
- package/words.json +27 -2
package/alisx.css
CHANGED
|
@@ -562,6 +562,7 @@ a.app-row,a.app-card{text-decoration:none}
|
|
|
562
562
|
.app-titlebar{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-16) var(--space-24) 0}
|
|
563
563
|
.app-titlebar__row{display:flex;align-items:center;gap:var(--space-16);min-height:var(--control-height)}
|
|
564
564
|
.app-titlebar__name{display:flex;align-items:center;gap:var(--space-8);min-width:0;margin:0}
|
|
565
|
+
.app-titlebar__role{flex:none}
|
|
565
566
|
.app-titlebar__title{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
566
567
|
.app-titlebar__leading{margin-left:calc(var(--space-12) * -1)}
|
|
567
568
|
.app-titlebar__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8);margin-left:auto}
|
|
@@ -703,7 +704,7 @@ a.app-row,a.app-card{text-decoration:none}
|
|
|
703
704
|
.app-file-pane__body>.app-skel{max-width:var(--measure-prose);margin:0 auto;padding:var(--space-32) var(--space-24)}
|
|
704
705
|
@media (max-width:599px){.app-file-pane__bar{min-height:var(--titlebar-height-phone);padding:env(safe-area-inset-top,0px) var(--space-4) 0;gap:var(--space-4)}.app-file-pane__bar .app-icon-btn{color:var(--on-surface)}.app-file-pane__tools>.app-seg{margin-right:0}.app-file-pane__tools .app-seg__item{padding:0 var(--space-12)}.app-file-pane__word{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
|
|
705
706
|
|
|
706
|
-
/* ── Navigation pane · brand, account card ── */
|
|
707
|
+
/* ── Navigation pane · brand, account card, a place's switcher ── */
|
|
707
708
|
.app-brand{display:flex;align-items:center;min-height:48px;padding:0 var(--space-16);margin-bottom:var(--space-16)}
|
|
708
709
|
.app-brand__wordmark{display:block;width:auto}
|
|
709
710
|
.app-account{display:flex;align-items:center;gap:var(--space-12);width:100%;min-height:56px;margin-top:var(--space-8);padding:var(--space-8);border:1px solid var(--outline-variant);border-radius:var(--radius-lg);background:transparent;color:var(--on-surface);text-align:left;font:inherit}
|
|
@@ -712,6 +713,10 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
|
|
|
712
713
|
.app-account__text{flex:1;min-width:0;display:flex;flex-direction:column}
|
|
713
714
|
.app-account__text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
714
715
|
.app-account>.app-icon{color:var(--on-surface-variant)}
|
|
716
|
+
.app-nav-switcher{display:flex;align-items:center;gap:var(--space-12);width:100%;min-height:56px;margin-bottom:var(--space-8);padding:var(--space-8) var(--space-8) var(--space-8) var(--space-16);border:1px solid var(--outline-variant);border-radius:var(--radius-lg);background:transparent;color:var(--on-surface);text-align:left;font:inherit}
|
|
717
|
+
.app-nav-switcher__text{flex:1;min-width:0;display:flex;flex-direction:column}
|
|
718
|
+
.app-nav-switcher__text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
719
|
+
.app-nav-switcher__kind,.app-nav-switcher>.app-icon{color:var(--on-surface-variant)}
|
|
715
720
|
|
|
716
721
|
/* ── Empty state · speaks to the user; may take the drafting field ── */
|
|
717
722
|
.app-empty{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-8);min-height:320px;padding:var(--space-48) var(--space-24);text-align:center;color:var(--on-surface)}
|
|
@@ -720,6 +725,9 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
|
|
|
720
725
|
.app-empty>.app-avatar{margin-bottom:var(--space-8)}
|
|
721
726
|
.app-empty__line{margin:0 0 var(--space-8);max-width:44ch;color:var(--on-surface-variant)}
|
|
722
727
|
.app-empty-line{margin:0;color:var(--on-surface-variant)}
|
|
728
|
+
/* Access line: a request's state where the control that sent it was (Request sent, Declined), in meta and in ink: nothing failed. rules/access.md */
|
|
729
|
+
.app-access-line{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4);margin:0;color:var(--on-surface-variant)}
|
|
730
|
+
.app-access-line .app-icon{font-size:16px}
|
|
723
731
|
/* The drafting field around an empty state fills the pane with it */
|
|
724
732
|
.app-empty-field{position:relative;overflow:hidden;flex:1;display:flex;flex-direction:column}
|
|
725
733
|
.app-shell__content>.app-empty-field{margin:calc(var(--space-24) * -1) calc(var(--space-24) * -1) calc(var(--space-32) * -1)}
|
|
@@ -892,8 +900,9 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
|
|
|
892
900
|
.app-composer__meter>i{display:block;flex:none;width:3px;height:4px;border-radius:2px;background:currentColor}
|
|
893
901
|
.app-composer__rec{display:inline-flex;align-items:center;gap:var(--space-8);padding-inline:var(--space-8);color:var(--on-surface);white-space:nowrap}
|
|
894
902
|
/* A live microphone: the dot pulses in error beside "Recording" (rules/colour.md § The two reds); a call is not a recording */
|
|
895
|
-
.app-
|
|
896
|
-
|
|
903
|
+
.app-field__rec{display:inline-flex;align-items:center;gap:var(--space-8);color:var(--on-surface)}
|
|
904
|
+
.app-composer__rec::before,.app-field__rec::before{content:"";width:8px;height:8px;border-radius:var(--radius-pill);background:var(--error)}
|
|
905
|
+
@media (prefers-reduced-motion:no-preference){.app-composer__rec::before,.app-field__rec::before{animation:app-dot 1.2s var(--motion-effects) infinite both}}
|
|
897
906
|
.app-composer__timer{padding-inline:var(--space-8);font-variant-numeric:tabular-nums;color:var(--on-surface)}
|
|
898
907
|
/* In a call: the status word alone; the light behind says whose turn it is, and a red dot means only "recording" */
|
|
899
908
|
.app-composer__status{padding-inline:var(--space-8);color:var(--on-surface);white-space:nowrap}
|
|
@@ -1005,7 +1014,7 @@ button.app-attachment{border:0;color:inherit;font:inherit;text-align:left;cursor
|
|
|
1005
1014
|
.app-turn__line{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4);margin:0;color:var(--on-surface-variant)}
|
|
1006
1015
|
.app-turn__line .app-icon{font-size:16px}
|
|
1007
1016
|
.app-turn__line.is-error{color:var(--error)}
|
|
1008
|
-
.app-turn__line-action,.app-empty-line__action{margin-left:var(--space-4);padding:0;border:0;background:none;color:var(--primary);font:inherit;font-weight:600;cursor:pointer}
|
|
1017
|
+
.app-turn__line-action,.app-empty-line__action,.app-access-line__action{margin-left:var(--space-4);padding:0;border:0;background:none;color:var(--primary);font:inherit;font-weight:600;cursor:pointer}
|
|
1009
1018
|
@media (hover:none){.app-turn__tools,.app-turn--alis:not(.is-latest) .app-turn__foot{display:none}}
|
|
1010
1019
|
/* What your message was about: the context chip as you sent it */
|
|
1011
1020
|
.app-turn__about{max-width:80%;color:var(--on-surface-variant);text-align:right}
|
package/classes.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"classes": [
|
|
3
|
+
"app-access-line",
|
|
4
|
+
"app-access-line__action",
|
|
3
5
|
"app-account",
|
|
4
6
|
"app-account__avatar",
|
|
5
7
|
"app-account__text",
|
|
@@ -140,6 +142,7 @@
|
|
|
140
142
|
"app-field__box--select",
|
|
141
143
|
"app-field__input",
|
|
142
144
|
"app-field__label",
|
|
145
|
+
"app-field__rec",
|
|
143
146
|
"app-field__row",
|
|
144
147
|
"app-field__select",
|
|
145
148
|
"app-field__support",
|
|
@@ -198,6 +201,9 @@
|
|
|
198
201
|
"app-menu__support",
|
|
199
202
|
"app-menu__text",
|
|
200
203
|
"app-nav-heading",
|
|
204
|
+
"app-nav-switcher",
|
|
205
|
+
"app-nav-switcher__kind",
|
|
206
|
+
"app-nav-switcher__text",
|
|
201
207
|
"app-progress",
|
|
202
208
|
"app-progress__fill",
|
|
203
209
|
"app-progress__head",
|
|
@@ -290,6 +296,7 @@
|
|
|
290
296
|
"app-titlebar__lead",
|
|
291
297
|
"app-titlebar__leading",
|
|
292
298
|
"app-titlebar__name",
|
|
299
|
+
"app-titlebar__role",
|
|
293
300
|
"app-titlebar__row",
|
|
294
301
|
"app-titlebar__title",
|
|
295
302
|
"app-token",
|
package/components/AppAlert.md
CHANGED
|
@@ -10,6 +10,7 @@ See [chips-alerts.md](../rules/chips-alerts.md).
|
|
|
10
10
|
- **A panel that *is* the status is an alert; a panel that *has* one carries a chip.** A row or card with a status keeps its neutral fill and shows an [AppChip](AppChip.md).
|
|
11
11
|
- **Where**: a page-level notice goes directly after the title bar, in the flow, so it moves the content down. In a detail pane, at the top of the pane under its bar.
|
|
12
12
|
- **An error says what happened and what to do next**, and offers the next step as its one action ("View logs"). In words a person wrote: never a status code or the machine's own message ([errors.md](../rules/errors.md)). When there is nothing they can do, the action is Copy details, for support.
|
|
13
|
+
- **Refused for access** after they started ([access.md](../rules/access.md) § Refused anyway): it names the role and who can help, never "Try again", and its action is Request access where the product can ask. What they entered stays.
|
|
13
14
|
- **The connection dropped**: one `warning` alert as the page-level notice, until it returns ("You're offline. What you do now may not be saved.").
|
|
14
15
|
- **Narrow**: in the detail pane and below 600px the action stacks under the message automatically; `app-alert--stacked` does it anywhere.
|
|
15
16
|
- **It stays** until the user acts again or leaves. It never times out.
|
|
@@ -47,6 +48,16 @@ See [chips-alerts.md](../rules/chips-alerts.md).
|
|
|
47
48
|
</div>
|
|
48
49
|
</div>
|
|
49
50
|
|
|
51
|
+
<!-- Refused anyway: their role changed mid-flow. Names the role and who can help; never Try again; what they entered stays -->
|
|
52
|
+
<div role="alert" class="app-alert app-alert--error">
|
|
53
|
+
<span class="app-icon" aria-hidden="true">error</span>
|
|
54
|
+
<div class="app-alert__body">
|
|
55
|
+
<strong class="app-alert__title">Couldn't create the interview</strong>
|
|
56
|
+
Only Editors can create interviews in Renewal calls, and you're now a Viewer. Ask Ruan Spies for Editor access.
|
|
57
|
+
</div>
|
|
58
|
+
<div class="app-alert__actions"><button type="button" class="app-btn app-state app-target" aria-haspopup="dialog">Request access</button></div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
50
61
|
<!-- The connection dropped: the page-level notice, until it returns -->
|
|
51
62
|
<div role="status" class="app-alert app-alert--warning">
|
|
52
63
|
<span class="app-icon" aria-hidden="true">warning</span>
|
package/components/AppAsk.md
CHANGED
|
@@ -59,6 +59,7 @@ A band at the top of the composer's surface, above the editor, divided from it b
|
|
|
59
59
|
| **Skip** | On a run of Alis's questions | Never |
|
|
60
60
|
|
|
61
61
|
- **Decline asks for a reason**, because the requester reads it. Decline opens a field in the band, "Reason for Martha", and the actions become Back (text) and Decline (filled: nothing is destroyed, so not `error`). Focus moves to the field; Back returns it to Decline. An empty reason is an error at the field, which takes focus ([page.md](../rules/page.md) § Forms).
|
|
62
|
+
- **Access to a thing** ([access.md](../rules/access.md) § Asking for more): the title names the person, the role and the thing ("Give Priya Naidoo Editor access to Renewal calls?"), the body is their note in their words, and the filled action is Grant Editor access. Deciding updates the line where they asked: "Declined by Jan Krynauw: …" with Request again, or the controls their new role allows.
|
|
62
63
|
- **One value at most** when the decision needs one (the organisation id when you set one up): an [AppTextField](AppTextField.md) above the actions, filled with what they suggested.
|
|
63
64
|
- **Produce it**: the body says how, with the command in mono, and the action copies it (text). When it arrives in the thread as an [AppAttachment](AppAttachment.md) the ask closes and their request reads "Shared by Martha". Not now closes it, and the request reads "Not shared by Martha".
|
|
64
65
|
- **Someone else decides first**: the band shows it on its line for a moment ("Granted by Jan Krynauw"), then closes. A reason you had started moves into the editor, so nothing you typed is lost.
|
package/components/AppChip.md
CHANGED
|
@@ -9,6 +9,7 @@ See [chips-alerts.md](../rules/chips-alerts.md).
|
|
|
9
9
|
- **Status**: a status tone plus its icon, always, so colour is never the only signal. Default icons: `error` → `error`, `warning` → `warning`, `success` → `check_circle`, `info` → `info`. Warning keeps its ink neutral and carries the colour in the icon.
|
|
10
10
|
- **Label** (default): a neutral fact (a version, "3 days"). Content Alis wrote is labelled "AI-generated" with `auto_awesome`, once, at the top of what it wrote.
|
|
11
11
|
- **Category**: `app-chip--cat1` … `--cat6`: the category's container (tone 95), its ink (tone 30) and a dot in its mark, drawn by the class. Light and dotted where a status is dark and iconed, so the two never look alike ([colour.md](../rules/colour.md) § Categories). It is already opaque. **Icon only** (`app-chip--icon`), as in an overlapping stack: the container and the glyph in its ink, no dot, since the glyph does the dot's job; it needs an `aria-label`. `app-chip--opaque` gives a label `surface-container-highest`, only where the chip overlaps or straddles other content.
|
|
12
|
+
- **The role chip** is a label with `visibility` ("Viewer") after a title bar's name ([AppTitleBar](AppTitleBar.md) § The role chip). Pressing it only opens the detail behind it, Sharing, so it stays a chip: pressable, with the state layer and a tooltip naming Sharing ([chips-alerts.md](../rules/chips-alerts.md)).
|
|
12
13
|
- **Filter**: outlined and pressable; selected takes the selection fill, a check and weight 700.
|
|
13
14
|
- **Input**: an outlined chip you can remove.
|
|
14
15
|
- Never `primary`. If pressing it acts or navigates, it is an [AppButton](AppButton.md). In a row or table, `app-chip--small`.
|
|
@@ -10,6 +10,7 @@ One choice, or several, from a list too long to scan: the select's box opens a m
|
|
|
10
10
|
- **One choice**: the chosen row is the menu's checked row (the selection fill, a trailing `check`). Choosing closes the menu.
|
|
11
11
|
- **Several**: each row leads with a checkbox and takes no fill; the box alone says it is chosen. The menu stays open while you tick, and what is already chosen comes first each time it opens.
|
|
12
12
|
- **Several, in a form: the box only adds, and the chosen are a list under it.** The box reads what you would add ("Add owners"), in `on-surface-variant`, whatever is chosen. Each choice is a row below ([AppListRow](AppListRow.md)): a person's avatar, their name and one supporting line, and a small `close` icon button that removes that one. Owners, members and who has access are sets people manage, so every one stays in view and nothing is cut short. Never chips, never names joined in the box.
|
|
13
|
+
- **Only the options they can use** ([access.md](../rules/access.md) § Choosing a target): never a disabled row. The field's supporting line says once what was left out ("Only projects you can edit are listed.").
|
|
13
14
|
- **Only what the list holds.** Free text you add yourself (an email address, a tag) is the text field's Add action ([AppTextField](AppTextField.md)), not this.
|
|
14
15
|
- **In the filter row** the trigger is the button that names its choice ([page.md](../rules/page.md) § The filter row); it opens this same menu when its list is long. With several chosen it reads as a count ("4 people"); with one, its name. A filter only has to say how much it narrows.
|
|
15
16
|
- **Nothing found** is one line that echoes what you typed: *No country matches "atlantis"*. **Searching** a server past 300 ms is one line with the loader.
|
|
@@ -5,7 +5,7 @@ Where you write to Alis, an agent or a person. One floating surface with three b
|
|
|
5
5
|
## Use / don't use
|
|
6
6
|
|
|
7
7
|
- **Every conversation**: Ideate, an interview, an agent session, a specialist thread. One composer per conversation, at the thread's measure (`measure-prose`, 710px), docked to the bottom of the thread or centred on an empty home.
|
|
8
|
-
- **Not a form.** Something you fill in and submit once (feedback, a contribution, a new session's brief) is an [AppTextField](AppTextField.md) with a labelled filled button ([page.md](../rules/page.md) § Forms).
|
|
8
|
+
- **Not a form.** Something you fill in and submit once (feedback, a ticket, a contribution, a new session's brief) is an [AppTextField](AppTextField.md) with a labelled filled button ([page.md](../rules/page.md) § Forms). Its voice is the field's dictation, whose Stop never submits: the composer's trailing button sends, so inside a form, stopping a recording would send the form.
|
|
9
9
|
- The surface is `surface-container-high` (white in light, a step lighter than a card in dark) at `elevation-2` with `radius-xl` (28): concentric with the 40px trailing button set 8 in. It floats; locked, it drops to the ground and the shadow goes.
|
|
10
10
|
|
|
11
11
|
## Anatomy
|
package/components/AppDialog.md
CHANGED
|
@@ -7,6 +7,8 @@ A dialog: `surface-container-high` (white in light) at `elevation-3`, an object-
|
|
|
7
7
|
- Actions are [AppButton](AppButton.md)s on the trailing edge, affirmative last. A dialog is a screen of its own, so the affirmative is filled when it commits (`app-btn--filled`, with `app-btn--error` when it destroys) and the rest, Cancel always among them, are text. An affirmative that only opens, copies or reads stays text, so the whole dialog is text. The affirmative names the outcome ("Delete environment", not "OK"). A dialog is never heavier than what it interrupts, and never dark.
|
|
8
8
|
- **Confirm** what is hard to undo or reaches past the user: deleting, sending to people, deploying to production. Restate it in the title as a question ("Delete staging?") and say what goes with it in the body.
|
|
9
9
|
- **Signed out** is the one dialog with no Cancel: there is nothing to go back to. It sits over the screen as it was, Escape and the scrim don't close it, and signing in returns to the same screen ([errors.md](../rules/errors.md)).
|
|
10
|
+
- **Asking for access** ([access.md](../rules/access.md) § Asking for more) is a form in a dialog. The title asks for the role ("Ask for Editor access?"), the body names who will be asked ("Ruan Spies, the Owner of Renewal calls, will be asked."), one field takes an optional note ("Note for Ruan (optional)"), and Send request is the filled affirmative. After it sends, the control that opened it is replaced by "Request sent".
|
|
11
|
+
- **Sharing, seen by someone who can't change it**, lists the people with their roles as text (no role menus, no Remove), says what each role can do in the words of `words.json`, and has one line, "Only Owners can change Sharing.". Its actions are Close and, when they may ask, Request Editor access, both text: neither commits.
|
|
10
12
|
- **A form in a dialog** (Invite people) follows the form rules: fields 24 apart, validated on submit, and persistent (Escape and the scrim don't close it). The dialog is the confirmation, so its affirmative ("Send 3 invites") needs no second one; it is the dialog's filled button.
|
|
11
13
|
|
|
12
14
|
## Markup
|
|
@@ -36,6 +38,43 @@ A dialog: `surface-container-high` (white in light) at `elevation-3`, an object-
|
|
|
36
38
|
</div>
|
|
37
39
|
</div>
|
|
38
40
|
|
|
41
|
+
<!-- Asking for access: who is asked, an optional note, Send request -->
|
|
42
|
+
<div class="app-scrim">
|
|
43
|
+
<div role="dialog" aria-modal="true" aria-labelledby="d-req-t" tabindex="-1" class="app-dialog">
|
|
44
|
+
<h2 id="d-req-t" class="app-dialog__title text-object-title">Ask for Editor access?</h2>
|
|
45
|
+
<div class="app-dialog__body text-body">Ruan Spies, the Owner of Renewal calls, will be asked.</div>
|
|
46
|
+
<form class="app-form" novalidate>
|
|
47
|
+
<div class="app-field">
|
|
48
|
+
<label for="d-req-note" class="app-field__label text-label">Note for Ruan (optional)</label>
|
|
49
|
+
<div class="app-field__box"><textarea id="d-req-note" class="app-field__input" rows="2"></textarea></div>
|
|
50
|
+
</div>
|
|
51
|
+
</form>
|
|
52
|
+
<div class="app-btn-row">
|
|
53
|
+
<button type="button" class="app-btn app-state app-target">Cancel</button>
|
|
54
|
+
<button type="button" class="app-btn app-state app-target app-btn--filled">Send request</button>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<!-- Sharing, seen by a Viewer: roles as text, what each can do, one line -->
|
|
60
|
+
<div class="app-scrim">
|
|
61
|
+
<div role="dialog" aria-modal="true" aria-labelledby="d-share-t" tabindex="-1" class="app-dialog">
|
|
62
|
+
<h2 id="d-share-t" class="app-dialog__title text-object-title">Sharing</h2>
|
|
63
|
+
<div class="app-dialog__body">
|
|
64
|
+
<div class="app-list" role="list" aria-label="People with access">
|
|
65
|
+
<div class="app-row" role="listitem"><span class="app-avatar" aria-hidden="true">RS</span><span class="app-row__text"><span class="text-object-title">Ruan Spies</span></span><span class="app-row__meta text-meta">Owner</span></div>
|
|
66
|
+
<div class="app-row" role="listitem"><span class="app-avatar" aria-hidden="true">JK</span><span class="app-row__text"><span class="text-object-title">Jan Krynauw</span></span><span class="app-row__meta text-meta">Editor</span></div>
|
|
67
|
+
<div class="app-row" role="listitem"><span class="app-avatar" aria-hidden="true">PN</span><span class="app-row__text"><span class="text-object-title">Priya Naidoo (you)</span></span><span class="app-row__meta text-meta">Viewer</span></div>
|
|
68
|
+
</div>
|
|
69
|
+
<p class="text-supporting text-on-surface-variant">Editors can create and change what's in it. Viewers can open and read it. Only Owners can change Sharing.</p>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="app-btn-row">
|
|
72
|
+
<button type="button" class="app-btn app-state app-target">Close</button>
|
|
73
|
+
<button type="button" class="app-btn app-state app-target">Request Editor access</button>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
39
78
|
<!-- In the flow, for docs: no scrim, no aria-modal, no focus handling -->
|
|
40
79
|
<div class="app-scrim app-scrim--inline">…</div>
|
|
41
80
|
<!-- or the .app-dialog alone -->
|
|
@@ -48,6 +87,7 @@ A dialog: `surface-container-high` (white in light) at `elevation-3`, an object-
|
|
|
48
87
|
- **Close** on Escape, on a press of the scrim itself (`mousedown` whose target is the `.app-scrim`, not the dialog), and on Cancel. A persistent dialog (a form) ignores Escape and the scrim.
|
|
49
88
|
- **On close**: remove the scrim and return focus to the remembered element if it is still in the document.
|
|
50
89
|
- Mount one dialog at a time.
|
|
90
|
+
- **Asking for access**: Send request shows its work on the button; on success close the dialog, return focus to where the request's state now stands, and replace the control that opened it with that state. A failure stays in the dialog as an error alert at its top, with the note still there ([errors.md](../rules/errors.md)).
|
|
51
91
|
|
|
52
92
|
## Classes
|
|
53
93
|
|
|
@@ -13,6 +13,7 @@ See [page.md](../rules/page.md).
|
|
|
13
13
|
- A detail pane with nothing open, beside a list that has items, takes it without a button: choosing from the list is the first step, and the bar already holds New. Its headline says what opens here.
|
|
14
14
|
- It sits in the centre of the pane, from the title bar's foot to the window's, as the pane's only content: a view switch or a drop hint goes with the list, and a docked composer floats over the pane rather than shortening it. `.app-empty` centres itself in what it is given, so give it the whole pane.
|
|
15
15
|
- **A pane that can't show its content** (it couldn't load, they may not open it, it isn't there) is this same block without the drafting field: a headline in ink that says what couldn't happen, one line that says what to do, one outlined action. Never red: nothing they did failed. In a detail pane or a card the headline is `text-section-title`. The words for each case are in [errors.md](../rules/errors.md).
|
|
16
|
+
- **When the person's role can't do what the button did** ([access.md](../rules/access.md) § A role): the headline stays, the line says who can and who to ask ("Only Editors can create interviews. Ask Ruan Spies for Editor access."), and the action is Request access, outlined, with no glyph. Where the product can't send a request, there is no button. After they send one, the button is replaced by the request's state (`.app-access-line`): "Request sent · Waiting for Ruan Spies", or "Declined by Ruan Spies: …" with Request again. Never the drafting field: this isn't an invitation.
|
|
16
17
|
- **One section that couldn't load** is an empty line with Try again beside it (`.app-empty-line__action`); the rest of the screen stays.
|
|
17
18
|
- An empty line inside working content ("No files yet" in a tab) is not this: use one supporting line, `.app-empty-line`.
|
|
18
19
|
|
|
@@ -61,10 +62,43 @@ See [page.md](../rules/page.md).
|
|
|
61
62
|
<div class="app-empty">
|
|
62
63
|
<span class="app-avatar app-avatar--thing app-avatar--large" aria-hidden="true"><span class="app-icon" aria-hidden="true">lock</span></span>
|
|
63
64
|
<h2 class="app-empty__headline text-page-title">You don't have access to Renewal calls</h2>
|
|
64
|
-
<p class="app-empty__line text-supporting">Ask
|
|
65
|
+
<p class="app-empty__line text-supporting">Ask Ruan Spies to add you.</p>
|
|
65
66
|
<button type="button" class="app-btn app-state app-target app-btn--outlined">Request access</button>
|
|
66
67
|
</div>
|
|
67
68
|
|
|
69
|
+
<!-- A Viewer: the act isn't theirs; the line says who can, and they can ask -->
|
|
70
|
+
<div class="app-empty">
|
|
71
|
+
<span class="app-avatar app-avatar--thing app-avatar--large" aria-hidden="true"><span class="app-icon" aria-hidden="true">forum</span></span>
|
|
72
|
+
<h2 class="app-empty__headline text-page-title">No interviews yet</h2>
|
|
73
|
+
<p class="app-empty__line text-supporting">Only Editors can create interviews. Ask Ruan Spies for Editor access.</p>
|
|
74
|
+
<button type="button" class="app-btn app-state app-target app-btn--outlined" aria-haspopup="dialog">Request access</button>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<!-- A Viewer who has asked: the request's state replaces the button -->
|
|
78
|
+
<div class="app-empty">
|
|
79
|
+
<span class="app-avatar app-avatar--thing app-avatar--large" aria-hidden="true"><span class="app-icon" aria-hidden="true">forum</span></span>
|
|
80
|
+
<h2 class="app-empty__headline text-page-title">No interviews yet</h2>
|
|
81
|
+
<p class="app-empty__line text-supporting">Only Editors can create interviews. Ask Ruan Spies for Editor access.</p>
|
|
82
|
+
<p class="app-access-line text-meta"><span class="app-icon" aria-hidden="true">schedule</span>Request sent · Waiting for Ruan Spies</p>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<!-- Declined: the reason, in ink, and Request again -->
|
|
86
|
+
<div class="app-empty">
|
|
87
|
+
<h2 class="app-empty__headline text-page-title">No interviews yet</h2>
|
|
88
|
+
<p class="app-empty__line text-supporting">Only Editors can create interviews. Ask Ruan Spies for Editor access.</p>
|
|
89
|
+
<p class="app-access-line text-meta"><span class="app-icon" aria-hidden="true">block</span>Declined by Ruan Spies: Jan is running the calls<button type="button" class="app-access-line__action">Request again</button></p>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<!-- Can read it, not change it: a link into an editor they may not use -->
|
|
93
|
+
<div class="app-empty">
|
|
94
|
+
<h2 class="app-empty__headline text-page-title">Only Editors can change the research plan</h2>
|
|
95
|
+
<p class="app-empty__line text-supporting">Ask Ruan Spies for Editor access.</p>
|
|
96
|
+
<button type="button" class="app-btn app-state app-target app-btn--outlined" aria-haspopup="dialog">Request access</button>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<!-- Couldn't check what they may do: one line leading the content, with Try again -->
|
|
100
|
+
<p class="app-empty-line text-supporting">Couldn't check what you can change here.<button type="button" class="app-empty-line__action">Try again</button></p>
|
|
101
|
+
|
|
68
102
|
<!-- Not there -->
|
|
69
103
|
<div class="app-empty">
|
|
70
104
|
<h2 class="app-empty__headline text-page-title">This project doesn't exist</h2>
|
|
@@ -86,4 +120,4 @@ See [page.md](../rules/page.md).
|
|
|
86
120
|
|
|
87
121
|
## Classes
|
|
88
122
|
|
|
89
|
-
`.app-empty`, `.app-empty__headline`, `.app-empty__line`, `.app-empty-line`, `.app-empty-line__action`, `.app-empty-field`; the drafting field: `.ax-field`, `.ax-field__glow`, `.ax-field__grid`, `.ax-field__noise`.
|
|
123
|
+
`.app-empty`, `.app-empty__headline`, `.app-empty__line`, `.app-empty-line`, `.app-empty-line__action`, `.app-access-line`, `.app-access-line__action`, `.app-empty-field`; the drafting field: `.ax-field`, `.ax-field__glow`, `.ax-field__grid`, `.ax-field__noise`.
|
package/components/AppListRow.md
CHANGED
|
@@ -9,7 +9,7 @@ A row in a list, the navigation pane, the agent chat list, or a read-back of sav
|
|
|
9
9
|
- **Content** (default): a row in a content list. Title in object-title, an optional supporting line, an optional trailing slot (a small status [AppChip](AppChip.md), an [AppIconButton](AppIconButton.md)) and a meta value at the end. Selected takes the full `secondary-container` fill.
|
|
10
10
|
- **Nav** (`app-row--nav`): a destination in the navigation pane ([AppShell](AppShell.md)). 36px, 24px icon, label type, pill shape. The pane is permanent chrome, so its selected row takes the quieter `selection-chrome`. A heading over a group of rows is `.app-nav-heading`, which sets its own type. A destination that can create takes a small `add` [AppIconButton](AppIconButton.md) in its trailing slot ("New project"). A destination where Alis is waiting on you takes `.app-count` there instead: the number of asks, in `error` like every notification badge ([AppAsk](AppAsk.md)).
|
|
11
11
|
- **Agent chat** (`app-row--agent-chat`): the agent chat list, 32px rows, and nothing else. It is not a density option: no other list may use it, however alike it looks ([spacing.md](../rules/spacing.md)). Its menu button is 24px and projects no target.
|
|
12
|
-
- **Field** (`app-row--field`, in an `app-list--fields`): one saved setting read back, on a screen that shows what was chosen and lets you change it (an interview's setup, its review before publishing, a settings page). The name is the row's title in object-title; the value is supporting **in ink**, under it, wrapping to as many lines as it has, a second fact on a line of its own. A value not set takes `text-on-surface-variant` and says what happens instead ("Not set. Alis will open the conversation."). The trailing slot holds the `edit` [AppIcon](AppIcon.md), not a button: the row is the target and opens the edit in place, so there is one stop per row and no tooltip. A field that can't change has no glyph, no hit and no `app-state`, and says why on a further line in `text-on-surface-variant
|
|
12
|
+
- **Field** (`app-row--field`, in an `app-list--fields`): one saved setting read back, on a screen that shows what was chosen and lets you change it (an interview's setup, its review before publishing, a settings page). The name is the row's title in object-title; the value is supporting **in ink**, under it, wrapping to as many lines as it has, a second fact on a line of its own. A value not set takes `text-on-surface-variant` and says what happens instead ("Not set. Alis will open the conversation."). The trailing slot holds the `edit` [AppIcon](AppIcon.md), not a button: the row is the target and opens the edit in place, so there is one stop per row and no tooltip. A field that can't change has no glyph, no hit and no `app-state`, and says why on a further line in `text-on-surface-variant`; when it is their role that stops them, the line says who can ("Only Owners can change this."), and for a Viewer every field reads back this way with no line on each: the bar's role chip already says it ([access.md](../rules/access.md)). A line runs between fields, never above the first or below the last. The list reaches 16 into the gutter so the names meet the heading's edge; never margin or pad it at a site. The name is a name, not a question ("Length", not "How long should it take?"); the edit form's label may ask.
|
|
13
13
|
- `app-row--divided` draws a hairline between consecutive rows. A field list draws its own.
|
|
14
14
|
- Selection is always two properties: the fill, and the icon at FILL 1 with the text at 700 (the CSS does both from `is-selected`).
|
|
15
15
|
- **Three or four facts about each item?** Title, then the rest joined with " · " in the supporting line (`europe-west1 · v1.42.3 · main`), the state as a trailing chip, the time as meta. Once people compare values across items, or sort by them, use [AppTable](AppTable.md).
|
package/components/AppSelect.md
CHANGED
|
@@ -9,6 +9,7 @@ One choice from a list you can name in advance: a native select in the text fiel
|
|
|
9
9
|
- A placeholder names the choice when there is no default ("Choose a branch"); prefer a sensible default.
|
|
10
10
|
- Without a visible label (a select in the filter row, left of the main control), give the select an `aria-label`.
|
|
11
11
|
- Past about ten options, or to choose several, use an [AppCombobox](AppCombobox.md).
|
|
12
|
+
- **Only the options they can use** ([access.md](../rules/access.md) § Choosing a target). A target their role doesn't let them act on (a project they can only read) isn't listed: never a disabled option. The supporting line says once what was left out: "Only projects you can edit are listed." With one option left, choose it and show no field; with none, there is no form.
|
|
12
13
|
|
|
13
14
|
## Markup
|
|
14
15
|
|
|
@@ -30,6 +31,19 @@ One choice from a list you can name in advance: a native select in the text fiel
|
|
|
30
31
|
<!-- options -->
|
|
31
32
|
</select>
|
|
32
33
|
|
|
34
|
+
<!-- Only the targets they can use, and a line saying what was left out -->
|
|
35
|
+
<div class="app-field">
|
|
36
|
+
<label for="f-proj" class="app-field__label text-label">Project</label>
|
|
37
|
+
<div class="app-field__box app-field__box--select">
|
|
38
|
+
<select id="f-proj" class="app-field__select" aria-describedby="f-proj-s">
|
|
39
|
+
<option value="renewals" selected>Renewal calls</option>
|
|
40
|
+
<option value="onboarding">Onboarding research</option>
|
|
41
|
+
</select>
|
|
42
|
+
<span class="app-icon" aria-hidden="true">expand_more</span>
|
|
43
|
+
</div>
|
|
44
|
+
<p id="f-proj-s" class="app-field__support text-supporting">Only projects you can edit are listed.</p>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
33
47
|
<!-- Error: is-error on .app-field, aria-invalid + aria-describedby on the select, support line as in AppTextField -->
|
|
34
48
|
<div class="app-field is-error">
|
|
35
49
|
<label for="f-r2" class="app-field__label text-label">Region</label>
|
package/components/AppShell.md
CHANGED
|
@@ -13,13 +13,13 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
|
|
|
13
13
|
- **Foot**, pinned: Support as one nav row, then the account card (`.app-account`): who is signed in and which account they are working in. The card opens the account menu (§ The account menu).
|
|
14
14
|
- **A row's "new"** is a small [AppIconButton](AppIconButton.md) in that row's trailing slot, with a tooltip naming it ("New project"), on rows whose destination can create: `add`, or `edit_square` where the destination is a conversation ("New chat"), as on its title bar's lead ([buttons.md](../rules/buttons.md) § The form).
|
|
15
15
|
- **No action in the pane.** A screen's "new" is the outlined lead in its title bar ([AppTitleBar](AppTitleBar.md)); the navigation pane holds destinations, and a row's own "new" icon button.
|
|
16
|
-
- **A contextual rail** (inside a project, an admin account, Support) keeps the brand and the foot and replaces the middle with
|
|
16
|
+
- **A contextual rail** (inside a project, an admin account, Support) keeps the brand and the foot, and replaces the middle with one place's destinations, led by the way out of it (§ A contextual rail). Open objects (the interviews you have open) are nav rows with `app-nav-secondary` under a heading.
|
|
17
17
|
- The pane is permanent chrome, so selection there is `selection-chrome`. Which destinations each product lists is product content, not part of this system.
|
|
18
18
|
- **Content**: an [AppTitleBar](AppTitleBar.md), then `.app-shell__content`, which pads 24 on every side (32 below) and fills the pane, holding the filter row and the list, table or document.
|
|
19
19
|
- **Detail pane** (`detail-width`, 360px): what is selected in the content, led by a detail title bar. It sits on the ground behind a divider, never on a card, and scrolls on its own. **It has a URL** (a query parameter, as search keeps `?q=`), so a refresh, a shared link and back all find it. The [AppShortcutSheet](AppShortcutSheet.md) opens in its place: the content narrows for it, or it covers an open detail pane until it closes. Below 840px it slides over the content at `elevation-3`, over a scrim.
|
|
20
20
|
- **A file beside the conversation** ([AppFilePane](AppFilePane.md)) is the detail pane made wide: `app-shell--file`. From 1200 the content takes two parts and the file three; below it the file takes the content's place; `app-shell--file-expanded` does the same at any width. It never slides over at `elevation-3`. Beside the conversation it is a card with an edge, the one pane that is (a file is an object); in the content's place it is flat.
|
|
21
21
|
- **On a phone** (below 600px) the shell is one column: the content, under a one-row title bar ([AppTitleBar](AppTitleBar.md) § On a phone).
|
|
22
|
-
- **The navigation pane fills the screen**: the same pane, brand, groups, agent chats and foot unchanged, hidden until the title bar's menu button opens it (`app-shell--nav-open`). It lies on the ground, edge to edge inside the safe area: nothing shows behind it, so no scrim and no elevation. Its close (`.app-shell__nav-close`, "Close navigation") sits in its head beside the brand. Never a column of icons: it hid the agent chats, the place you go back to most, and left the content too little room.
|
|
22
|
+
- **The navigation pane fills the screen**: the same pane, brand, groups, agent chats, a contextual rail's head and foot unchanged, hidden until the title bar's menu button opens it (`app-shell--nav-open`). It lies on the ground, edge to edge inside the safe area: nothing shows behind it, so no scrim and no elevation. Its close (`.app-shell__nav-close`, "Close navigation") sits in its head beside the brand. Never a column of icons: it hid the agent chats, the place you go back to most, and left the content too little room.
|
|
23
23
|
- **The detail pane covers the full width**, and its bar leads with back (`arrow_back`) instead of close: on a phone it reads as a step deeper, and the phone's own back gesture closes it.
|
|
24
24
|
- The CSS lays all of this out; you open and close the drawer.
|
|
25
25
|
- No pane is a white card. Panes are separated by an `outline-variant` divider, not by fill.
|
|
@@ -85,6 +85,57 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
|
|
|
85
85
|
|
|
86
86
|
Group headings are the product's short name, "Ideate" and "Build"; the full names (*Alis Ideate*, *Alis Build*) are for copy.
|
|
87
87
|
|
|
88
|
+
## A contextual rail
|
|
89
|
+
|
|
90
|
+
Inside a place, the middle of the pane is that place's destinations, and its head is the way out. **The head is there on every screen inside the place**, so the way out never disappears. Two kinds, by what the place is:
|
|
91
|
+
|
|
92
|
+
- **A place you work in, among others like it** (a project): **its name is a switcher** (`.app-nav-switcher`), under the brand. A small label naming the kind ("Project", `text-meta`, `on-surface-variant`) over the name (`text-object-title`, truncating, the full name its `title`), `unfold_more` trailing: drawn like the account card, the other switcher in the pane. It opens an [AppMenu](AppMenu.md), in this order:
|
|
93
|
+
1. **Recent projects**, the latest first, up to five, the current one checked (`menuitemradio`). Choosing one opens that project's Home.
|
|
94
|
+
2. A divider.
|
|
95
|
+
3. **All projects**.
|
|
96
|
+
4. **New project**.
|
|
97
|
+
|
|
98
|
+
No glyphs: a menu has one on every row or none ([buttons.md](../rules/buttons.md) § The form), and a project's name has none to give, so New project goes without its `add` here.
|
|
99
|
+
|
|
100
|
+
**Leaving is switching, not back.** The screens the rail reaches (the project's Home, Interviews, Contributions) have no back, the project's Home has no "Back to projects", and the rail has no "← All projects" row: at the top of a pane that row reads as leaving settings ([page.md](../rules/page.md) § Where back goes).
|
|
101
|
+
- **A mode you visit and leave** (an account's settings, Support): **its head is a nav row back Home**, `arrow_back` and "Home", under the brand, the way apps leave settings. Then the place's destinations under an `.app-nav-heading` naming it (the account's name, "Support").
|
|
102
|
+
|
|
103
|
+
**Why two:** a project is a place you work in, for hours, and move between, so its head says where you are and offers the places beside it. Settings is a mode you visit briefly to change something, and then leave, so its head says where you return to. Support is the same: you come to it with one question, and there is no other Support to switch to. The brand still goes Home from every rail; the head is the way out you can read.
|
|
104
|
+
|
|
105
|
+
**On a phone** the head sits in the same place in the full-screen pane, under the brand and its close: the switcher opens its menu over the pane, and Home closes the pane as it goes.
|
|
106
|
+
|
|
107
|
+
```html
|
|
108
|
+
<!-- A project: its name is the switcher -->
|
|
109
|
+
<nav class="app-shell__nav" aria-label="Customer onboarding">
|
|
110
|
+
<a class="app-brand" href="/" aria-label="AlisX home"><img class="app-brand__wordmark" src="assets/Brand/alis_exchange.svg" alt="" height="36"></a>
|
|
111
|
+
<button type="button" class="app-nav-switcher app-state" aria-haspopup="menu" aria-expanded="false" aria-controls="m-projects" title="Customer onboarding">
|
|
112
|
+
<span class="app-nav-switcher__text">
|
|
113
|
+
<span class="app-nav-switcher__kind text-meta">Project</span>
|
|
114
|
+
<span class="text-object-title">Customer onboarding</span>
|
|
115
|
+
</span>
|
|
116
|
+
<span class="app-icon" aria-hidden="true">unfold_more</span>
|
|
117
|
+
</button>
|
|
118
|
+
<!-- The project's destinations: nav AppListRows (Home, Contributions, Interviews…) -->
|
|
119
|
+
<!-- The foot, as on every rail -->
|
|
120
|
+
</nav>
|
|
121
|
+
|
|
122
|
+
<div class="app-menu" role="menu" id="m-projects" aria-label="Projects">
|
|
123
|
+
<button type="button" class="app-menu__item app-state is-selected" role="menuitemradio" aria-checked="true"><span class="app-menu__text"><span>Customer onboarding</span></span><span class="app-icon" aria-hidden="true">check</span></button>
|
|
124
|
+
<button type="button" class="app-menu__item app-state" role="menuitemradio" aria-checked="false"><span class="app-menu__text"><span>Claims discovery</span></span></button>
|
|
125
|
+
<hr class="app-menu__divider">
|
|
126
|
+
<button type="button" class="app-menu__item app-state" role="menuitem"><span class="app-menu__text"><span>All projects</span></span></button>
|
|
127
|
+
<button type="button" class="app-menu__item app-state" role="menuitem"><span class="app-menu__text"><span>New project</span></span></button>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<!-- An account's settings: a mode, left by Home -->
|
|
131
|
+
<div class="app-row app-state app-row--nav">
|
|
132
|
+
<span class="app-icon app-icon--24 app-row__icon" aria-hidden="true">arrow_back</span>
|
|
133
|
+
<span class="app-row__text"><a class="app-row__hit text-label" href="/">Home</a></span>
|
|
134
|
+
</div>
|
|
135
|
+
<p class="app-nav-heading">Acme Research</p>
|
|
136
|
+
<!-- The account's destinations: People, Activity, Billing, Settings -->
|
|
137
|
+
```
|
|
138
|
+
|
|
88
139
|
## The account menu
|
|
89
140
|
|
|
90
141
|
An [AppMenu](AppMenu.md), opened from the account card, in three groups:
|
|
@@ -104,7 +155,9 @@ Usage lives here, never in a title bar: it measures the account, not the screen
|
|
|
104
155
|
- The account card opens the account menu (toggle `aria-expanded`).
|
|
105
156
|
- No photo: the person's initials ([AppAvatar](AppAvatar.md)) in `<span class="app-account__avatar text-label" aria-hidden="true">RS</span>`.
|
|
106
157
|
- The brand link keeps its `aria-label`, since the wordmark is decorative.
|
|
158
|
+
- **The switcher** toggles `aria-expanded` and opens its menu under it. Keep the recent projects per person, latest opened first; the current project is always among them. Choosing one goes to that project's Home, and the menu closes.
|
|
159
|
+
- **Which pane shows** follows where the open thing lives, not the route you came by ([page.md](../rules/page.md) § Where back goes): an interview shows its project's rail wherever it was opened from.
|
|
107
160
|
|
|
108
161
|
## Classes
|
|
109
162
|
|
|
110
|
-
`.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`; `.app-shell--nav-open`, `.app-shell__nav-close`; `.app-brand`, `.app-brand__wordmark`; `.app-nav-heading`, `.app-nav-secondary`; `.app-account`, `.app-account__avatar`, `.app-account__text`.
|
|
163
|
+
`.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`; `.app-shell--nav-open`, `.app-shell__nav-close`; `.app-brand`, `.app-brand__wordmark`; `.app-nav-heading`, `.app-nav-secondary`; `.app-nav-switcher`, `.app-nav-switcher__text`, `.app-nav-switcher__kind`; `.app-account`, `.app-account__avatar`, `.app-account__text`.
|
|
@@ -9,6 +9,7 @@ A labelled text input: label above, an outlined box, one supporting or error lin
|
|
|
9
9
|
- **An error** replaces the supporting line, in `error` with the `error` icon (outlined: FILL 1 is for selection), and turns the border `error`. Say what to do, as a sentence with a full stop: "Enter a full email address.", not "Invalid".
|
|
10
10
|
- A `<textarea>` for longer answers. A leading icon only for a conventional glyph (mail, search, link).
|
|
11
11
|
- **Action**: one text [AppButton](AppButton.md) beside the box (Add, Copy), for a field that collects several values or acts on its own value. Collected values are input [AppChip](AppChip.md)s between the box and the supporting line. With none yet, show nothing; the supporting line says the format ("One per line, as NAME=value.").
|
|
12
|
+
- **Voice in a field is dictation.** A plain `mic` icon button "Dictate" beside the box, where an action sits. While it listens it is `stop` "Stop dictating", the words land in the box as you speak, and the supporting line says **Recording** beside the red dot (a live microphone's privacy signal, [colour.md](../rules/colour.md) § The two reds). Stopping keeps the words to edit. **It never submits**: only the form's own labelled button does. A form never takes a composer, a voice note or a Send arrow ([AppComposer](AppComposer.md)).
|
|
12
13
|
- **A choice from a list** is an [AppSelect](AppSelect.md), or an [AppCombobox](AppCombobox.md) when the list is long; an on/off setting is an [AppSwitch](AppSwitch.md) ([page.md](../rules/page.md) § Which control).
|
|
13
14
|
- **A set of choices** (tiles, checkboxes) is labelled with a field set: a legend in label type, an optional supporting line.
|
|
14
15
|
- **A form** is one column at the prose measure, fields 24px apart (`.app-form`), with its one filled action last. [page.md](../rules/page.md) § Forms says where errors go.
|
|
@@ -57,6 +58,16 @@ A labelled text input: label above, an outlined box, one supporting or error lin
|
|
|
57
58
|
<p id="f-vars-s" class="app-field__support text-supporting">Add one at a time, as NAME=value.</p>
|
|
58
59
|
</div>
|
|
59
60
|
|
|
61
|
+
<!-- Dictation, while it listens: stop beside the box; Recording on the supporting line -->
|
|
62
|
+
<div class="app-field">
|
|
63
|
+
<label for="f-what" class="app-field__label text-label">What happened?</label>
|
|
64
|
+
<div class="app-field__row">
|
|
65
|
+
<div class="app-field__box"><textarea id="f-what" class="app-field__input" rows="4" aria-describedby="f-what-s"></textarea></div>
|
|
66
|
+
<button type="button" class="app-icon-btn app-state app-target" aria-label="Stop dictating" title="Stop dictating"><span class="app-icon app-icon--filled" aria-hidden="true">stop</span></button>
|
|
67
|
+
</div>
|
|
68
|
+
<p id="f-what-s" class="app-field__support text-supporting"><span class="app-field__rec">Recording</span></p>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
60
71
|
<!-- Field set: labels a set of choices -->
|
|
61
72
|
<fieldset class="app-fieldset">
|
|
62
73
|
<legend class="app-fieldset__legend text-label">Plan</legend>
|
|
@@ -76,8 +87,9 @@ Disabled: `disabled` on the input and `is-disabled` on `.app-field`.
|
|
|
76
87
|
|
|
77
88
|
- Give every input an `id`, point the label's `for` at it, and the support line's `id` (`<id>-s`) at `aria-describedby`.
|
|
78
89
|
- **Error**: on submit, add `is-error` to `.app-field`, `aria-invalid="true"` to the input, put the error icon and message in the support line (replacing the supporting text), then focus the first invalid field. Remove all of it once fixed.
|
|
90
|
+
- **Dictation**: the mic starts it and swaps to `stop` "Stop dictating"; the words go into the box at the caret, the ones still settling in `on-surface-variant`. Stop, Escape or leaving the field ends it and keeps the words; the supporting text comes back. Enter while it listens does nothing. Mic blocked: the button shows `mic_off` and pressing it says on the supporting line how to allow it.
|
|
79
91
|
- **Action field**: Enter in the input runs the action (prevent the form submit); validate the value, add it as an input chip, clear the input.
|
|
80
92
|
|
|
81
93
|
## Classes
|
|
82
94
|
|
|
83
|
-
`.app-field`, `.is-error`, `.is-disabled`, `.app-field__label`, `.app-field__box`, `.app-field__input`, `.app-field__row`, `.app-field__values`, `.app-field__support`; `.app-fieldset`, `.app-fieldset__legend`, `.app-fieldset__support`; `.app-form`.
|
|
95
|
+
`.app-field`, `.is-error`, `.is-disabled`, `.app-field__label`, `.app-field__box`, `.app-field__input`, `.app-field__row`, `.app-field__values`, `.app-field__support`, `.app-field__rec`; `.app-fieldset`, `.app-fieldset__legend`, `.app-fieldset__support`; `.app-form`.
|
|
@@ -6,12 +6,14 @@ The top of every product screen: the name and the verbs; route tabs under the na
|
|
|
6
6
|
|
|
7
7
|
See [page.md](../rules/page.md).
|
|
8
8
|
|
|
9
|
-
- **The name is the screen, alone**: never a breadcrumb. One page-title per screen, and the bar has it. A detail screen (its own route) leads with a back [AppIconButton](AppIconButton.md) and keeps the page-title.
|
|
9
|
+
- **The name is the screen, alone**: never a breadcrumb. One page-title per screen, and the bar has it. A detail screen (its own route) leads with a back [AppIconButton](AppIconButton.md) and keeps the page-title. **Back returns to where you came from and is named for it** ("Back to interviews"), never a bare "Back"; with no step in the app behind it, it goes to the thing's parent and names that ([page.md](../rules/page.md) § Where back goes). A screen reached from the navigation pane has no back.
|
|
10
10
|
- **The lead is outlined, never filled**: the action that brings a thing into the screen (`app-btn--outlined`, "New environment"), led by `add` when it is New or Add, and by `edit_square` when it starts a new conversation ("New chat"). Other verbs are default-size text buttons and small icon buttons, and no icon on a single verb. The screen's one filled button belongs in the content. Destructive takes `app-btn--error`.
|
|
11
11
|
- **One order, by weight**: the lead, then text buttons, then icon buttons, ⋯ last ([page.md](../rules/page.md) § The title bar). The lead sits beside the name; ⋯ closes the row at every width, so the phone's bar is the same row folded. A destructive verb is the last before ⋯, or inside it.
|
|
12
12
|
- **Never status.** The bar names the screen and holds its verbs: no meter, no usage ring, no saving state, no count. A thing's state is a chip on the detail bar's row or in the content; an account's usage is a row in the account menu ([AppShell](AppShell.md) § The account menu).
|
|
13
13
|
- **No line at rest.** The bar lies on the ground with the content; a line under it would split the screen into a header and a body. While the bar stays put and content scrolls under it, it takes `is-scrolled`: an `outline-variant` hairline at its foot, gone again at the top. Never a permanent border and never a shadow: a shadow means floating, and the composer and menus float. Tabs keep their own line at every scroll; at rest it is the bar's edge.
|
|
14
14
|
- **The verbs follow the route**: each tab shows the verbs that act on what it shows, and none when there is nothing to act on.
|
|
15
|
+
- **And they follow the role** ([access.md](../rules/access.md)). A verb the person's role doesn't allow isn't drawn: not in the bar and not in ⋯.
|
|
16
|
+
- **The role chip.** When the person's role can't change the thing at all (a Viewer), a label [AppChip](AppChip.md) after the name says the role, led by `visibility`: "Viewer". It is who they are here, not a status. It is pressable: it opens Sharing, where they see their role, what each role can do, and Request access, and its tooltip names that ("Sharing"). It shows on every screen of the thing, including the screens inside it. On a phone it leaves the bar and ⋯ leads with Sharing, its second line "You're a Viewer". No chip for an Owner or an Editor.
|
|
15
17
|
- **A long name** truncates with an ellipsis and shows in full on hover; never wrap it.
|
|
16
18
|
- **Tabs are routes**, and scroll sideways when they don't fit: each opens another view of this screen (Overview, Interviews, Artifacts). A tab that narrows one list is a filter: put it in the filter row as an [AppSegmented](AppSegmented.md).
|
|
17
19
|
- **Tabs are the control height**, 36 and 48 on touch, like the row above them. The bar sets their height, alignment and ink; a screen never does ([styling.md](../rules/styling.md)).
|
|
@@ -21,7 +23,7 @@ See [page.md](../rules/page.md).
|
|
|
21
23
|
|
|
22
24
|
**On a phone** (below 600px) the bar is one row, 64 tall (`titlebar-height-phone`, Material 3's small app bar), and holds four things and nothing else:
|
|
23
25
|
|
|
24
|
-
1. **Leading**: the menu button (`menu`), which opens the navigation drawer ([AppShell](AppShell.md)); back (`arrow_back`) on a detail route. Nothing on a screen
|
|
26
|
+
1. **Leading**: the menu button (`menu`), which opens the navigation drawer ([AppShell](AppShell.md)); back (`arrow_back`) on a detail route, named for where it returns. Nothing on a screen you arrive at from outside the app (joining an interview, signing in).
|
|
25
27
|
2. **The name**, page-title at its compact step (22/28 at 500, Material 3's Title Large Emphasized), truncating.
|
|
26
28
|
3. **The lead as its glyph alone**, its label the accessible name. A lead whose glyph wouldn't read on its own ("Generate key", "Install block") leaves the bar and leads ⋯ instead; a lead whose verb has a glyph ([buttons.md](../rules/buttons.md) § The form) carries it at every width (`edit` for "Edit session").
|
|
27
29
|
4. **⋯** (`more_vert`), an [AppMenu](AppMenu.md) holding every other verb in the order they had, anything destructive last behind a divider. Left out when there are none. Rename lives here: never a double tap on the name.
|
|
@@ -69,6 +71,28 @@ The tabs scroll under it; the filter row is unchanged. Mark the parts that exist
|
|
|
69
71
|
</header>
|
|
70
72
|
<!-- m-bar: Set project goal, Rename, Share, a divider, Delete project -->
|
|
71
73
|
|
|
74
|
+
<!-- A Viewer's bar on an interview opened from Interviews: back names where it returns; no verbs they can't use; the role chip after the name opens Sharing -->
|
|
75
|
+
<header class="app-titlebar">
|
|
76
|
+
<div class="app-titlebar__row">
|
|
77
|
+
<div class="app-titlebar__name">
|
|
78
|
+
<span class="app-titlebar__leading">
|
|
79
|
+
<button type="button" class="app-icon-btn app-state app-target app-icon-btn--small" aria-label="Back to interviews" title="Back to interviews"><span class="app-icon" aria-hidden="true">arrow_back</span></button>
|
|
80
|
+
</span>
|
|
81
|
+
<h1 class="app-titlebar__title text-page-title" title="Renewal calls">Renewal calls</h1>
|
|
82
|
+
<button type="button" class="app-chip app-state app-titlebar__role app-wide-only" aria-haspopup="dialog" aria-label="Viewer. Open Sharing" title="Sharing"><span class="app-icon" aria-hidden="true">visibility</span>Viewer</button>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="app-titlebar__actions">
|
|
85
|
+
<button type="button" class="app-icon-btn app-state app-target app-icon-btn--small" aria-label="More interview actions" title="More interview actions" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">more_vert</span></button>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
<nav class="app-tabs">
|
|
89
|
+
<button type="button" class="app-tab app-state is-selected" aria-current="page">Overview</button>
|
|
90
|
+
<button type="button" class="app-tab app-state">Responses</button>
|
|
91
|
+
<button type="button" class="app-tab app-state">Setup</button>
|
|
92
|
+
</nav>
|
|
93
|
+
</header>
|
|
94
|
+
<!-- On a phone ⋯ leads with Sharing, its second line "You're a Viewer" -->
|
|
95
|
+
|
|
72
96
|
<!-- Detail bar: h2 in section-title, no search, no tabs -->
|
|
73
97
|
<header class="app-titlebar app-titlebar--detail">
|
|
74
98
|
<div class="app-titlebar__row">
|
|
@@ -113,14 +137,16 @@ The tabs scroll under it; the filter row is unchanged. Mark the parts that exist
|
|
|
113
137
|
## Behaviour you must supply
|
|
114
138
|
|
|
115
139
|
- Set `title` on the heading to the full name (the hover text for a truncated name).
|
|
140
|
+
- **Back**: when a detail screen opens from inside the app, keep where it opened from (that screen's URL, its query included, and its name) in the history entry's state, never in the URL, so a shared link carries no origin. Carry it along as the thing's route tabs change. Back goes to it, restoring its search, filters and scroll: when it is the entry just behind, step back in history so the browser's back and forward still agree; otherwise go to it. With no origin, go to the thing's parent. Its `aria-label` and `title` are "Back to" and the destination's name, in sentence case: "Back to interviews", while a name keeps its own capitals ("Back to Customer onboarding").
|
|
116
141
|
- **On a phone**: build ⋯ from the verbs the wide bar shows (the `app-wide-only` ones), in the same order, leading with the lead when it leaves the bar. Give the menu button `aria-expanded` and `aria-controls` pointing at the navigation pane. A tooltip never shows on touch: the lead's label is its accessible name.
|
|
117
142
|
- **Search**: filter as the user types a list you already hold; where the search goes to a server, run it on Enter and say so in the placeholder. Show the clear button only while the input has a value; clear empties the input, re-filters and returns focus to the input. Keep the query in the URL (`?q=`), so back, refresh and a shared link keep it.
|
|
118
143
|
- **`/`** puts focus in the screen's search field from anywhere on the screen, except while focus is in another field ([shortcuts.md](../rules/shortcuts.md)). A section's or a pane's own search has no `/` and no cap: one field per screen answers to it.
|
|
119
144
|
- **The count** answers the row: the total at rest, "2 of 5" while a query or a filter narrows.
|
|
120
145
|
- **Tabs**: they are routes. Move `is-selected` and `aria-current="page"` to the current tab when the route changes. If your router renders links, `<a class="app-tab app-state" href="…">` takes the same classes.
|
|
121
146
|
- Hide search and the filter row when the list is empty.
|
|
147
|
+
- **The role chip**: draw it only once the role is known, with the verbs ([access.md](../rules/access.md) § Before it is known). Pressing it opens Sharing; when the role changes (a request granted), remove it and draw the verbs the new role allows.
|
|
122
148
|
- **`is-scrolled`** on the bar while what scrolls under it has left the top (its `scrollTop` is above 0), and off again at the top. Where the bar scrolls away with the page, nothing is under it: leave it off.
|
|
123
149
|
|
|
124
150
|
## Classes
|
|
125
151
|
|
|
126
|
-
`.app-titlebar`, `.app-titlebar--detail`, `.app-titlebar__row`, `.app-titlebar__name`, `.app-titlebar__leading`, `.app-titlebar__title`, `.app-titlebar__actions`, `.app-titlebar__lead`, `.app-titlebar__label`, `.is-scrolled`; `.app-compact-only`, `.app-wide-only`; `.app-tabs`, `.app-tab`, `.is-selected`; `.app-filterrow`, `.app-filterrow__search`, `.app-filterrow__controls`, `.app-filterrow__summary`; `.app-search`, `.app-search__input`, `.app-search__clear`.
|
|
152
|
+
`.app-titlebar`, `.app-titlebar--detail`, `.app-titlebar__row`, `.app-titlebar__name`, `.app-titlebar__leading`, `.app-titlebar__title`, `.app-titlebar__actions`, `.app-titlebar__lead`, `.app-titlebar__label`, `.app-titlebar__role`, `.is-scrolled`; `.app-compact-only`, `.app-wide-only`; `.app-tabs`, `.app-tab`, `.is-selected`; `.app-filterrow`, `.app-filterrow__search`, `.app-filterrow__controls`, `.app-filterrow__summary`; `.app-search`, `.app-search__input`, `.app-search__clear`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/README.md
CHANGED
|
@@ -25,6 +25,7 @@ Read only what the job needs.
|
|
|
25
25
|
| [chips-alerts.md](chips-alerts.md) | Chips, alerts, status |
|
|
26
26
|
| [loading.md](loading.md) | Skeleton, loader, progress |
|
|
27
27
|
| [errors.md](errors.md) | What shows when something fails, can't load, isn't allowed or isn't there |
|
|
28
|
+
| [access.md](access.md) | What someone's role doesn't let them do: what leaves, what says why, asking for more |
|
|
28
29
|
| [page.md](page.md) | Page anatomy, forms, empty states |
|
|
29
30
|
| [email.md](email.md) | Every email: the jobs, the shell and its blocks, subjects, the sender |
|
|
30
31
|
| [words.md](words.md) | One name per thing (`words.json`), who speaks, labels, the verbs for getting rid of something |
|
package/rules/access.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# What someone may not do
|
|
2
|
+
|
|
3
|
+
## The one rule
|
|
4
|
+
|
|
5
|
+
**Know what they may do before they start, and show only that.** The screen
|
|
6
|
+
asks what the person's role allows before it draws its verbs. When the service
|
|
7
|
+
refuses something after the person has started it, the screen got it wrong, not
|
|
8
|
+
the person: they should never have been offered it.
|
|
9
|
+
|
|
10
|
+
## The decision
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Why can't they do it?
|
|
14
|
+
├─ Their role on this thing doesn't allow it → the control leaves (§ A role);
|
|
15
|
+
│ (a Viewer; an Editor who can't delete) a Viewer's role is named in the bar
|
|
16
|
+
├─ Their place in the account doesn't allow it → the control leaves; the empty state
|
|
17
|
+
│ (creating a project, a landing zone) says who to ask (§ The account)
|
|
18
|
+
├─ It isn't possible yet: a state or a limit → disabled, the reason beside it
|
|
19
|
+
│ (no published version; 12 of 12 seats) (errors.md § What they may not do)
|
|
20
|
+
├─ They may not open this at all → the No access pane state (errors.md)
|
|
21
|
+
├─ They came in by a link or an offer → the same check as the screen it opens
|
|
22
|
+
│ (§ Ways in)
|
|
23
|
+
├─ They choose a target, and some aren't theirs → only theirs are listed (§ Choosing a target)
|
|
24
|
+
├─ Whether they may isn't known yet, or the
|
|
25
|
+
│ check failed → the controls stay out (§ Before it is known)
|
|
26
|
+
└─ The service refused anyway → an error alert that keeps their work
|
|
27
|
+
(§ Refused anyway)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## A role
|
|
31
|
+
|
|
32
|
+
- **The control leaves.** An act the role doesn't allow isn't drawn anywhere:
|
|
33
|
+
not in the bar, ⋯, a row, a menu or a section's heading row. A role never
|
|
34
|
+
disables a control: disabled means "not yet", and a screen full of them is a
|
|
35
|
+
wall. Their shortcut leaves with them ([shortcuts.md](shortcuts.md)).
|
|
36
|
+
- **A Viewer's role is named once, in the bar.** When the role can't change the
|
|
37
|
+
thing at all, a label chip beside the screen's name says the role ("Viewer",
|
|
38
|
+
led by `visibility`). Pressing it opens Sharing, which holds their role, what
|
|
39
|
+
each role can do, and Request access ([AppTitleBar](../components/AppTitleBar.md)
|
|
40
|
+
§ The role chip). It shows on every screen of that thing. It is never an alert,
|
|
41
|
+
a banner or a dialog when they arrive.
|
|
42
|
+
- **A role that can do part of it gets no chip.** An Editor who can change the
|
|
43
|
+
thing but not delete it keeps their acts, loses the rest, and finds their role
|
|
44
|
+
in Sharing.
|
|
45
|
+
- **Where the act was the first step, that place says who can.** This happens in
|
|
46
|
+
two places only. First, an empty state whose button would have created
|
|
47
|
+
something: the headline stays, the line becomes "Only Editors can create
|
|
48
|
+
interviews. Ask Ruan Spies for Editor access.", and the action becomes Request
|
|
49
|
+
access ([AppEmptyState](../components/AppEmptyState.md)). Second, a section
|
|
50
|
+
whose only content was its Add: the same words as one empty line
|
|
51
|
+
(`.app-empty-line`). Nowhere else; never a line beside every missing button.
|
|
52
|
+
- **What they can read reads back.** A settings screen is the field list with no
|
|
53
|
+
`edit` glyphs and no hit ([AppListRow](../components/AppListRow.md) § Field).
|
|
54
|
+
In a form they can otherwise change, a value outside their role reads back the
|
|
55
|
+
same way: its name, its value, and the reason on a line under it ("Only Owners
|
|
56
|
+
can change this."). Never a disabled field or switch.
|
|
57
|
+
- **Sharing, for someone who can't change it**, lists the people with their roles
|
|
58
|
+
as text, says what each role can do, and has one line: "Only Owners can change
|
|
59
|
+
Sharing." No disabled role menus and no disabled Remove.
|
|
60
|
+
|
|
61
|
+
## The account
|
|
62
|
+
|
|
63
|
+
Some acts need a place in the account rather than a role on a thing: creating a
|
|
64
|
+
project or a landing zone, or sharing a skill with every builder.
|
|
65
|
+
|
|
66
|
+
- **The control leaves**, as it does for a role.
|
|
67
|
+
- **The empty state says who to ask.** "Projects shared with you show here." and
|
|
68
|
+
"To create one, ask an admin of Acme." When the product can send the request,
|
|
69
|
+
Request access is the action.
|
|
70
|
+
- **When the list has items, the screen doesn't repeat it.** Their place in the
|
|
71
|
+
account is shown where the account's members are.
|
|
72
|
+
- **A limit the account has reached** (12 of 12 seats) is "not yet": disabled,
|
|
73
|
+
with the reason beside it, and the way to raise the limit if they may.
|
|
74
|
+
|
|
75
|
+
## Ways in
|
|
76
|
+
|
|
77
|
+
Every way in checks the same thing as the screen it opens.
|
|
78
|
+
|
|
79
|
+
- **A link to an editor** (a research plan, report instructions, a route) opens
|
|
80
|
+
the thing's read view when it has one, with the role chip. When it has none,
|
|
81
|
+
the link opens a pane state ([errors.md](errors.md) § A pane that can't show
|
|
82
|
+
its content): "Only Editors can change the research plan", "Ask Ruan Spies for
|
|
83
|
+
Editor access.", Request access. Never the editor, with Save refused at the end.
|
|
84
|
+
- **Alis offers only what the person can do.** A card's "New interview" or
|
|
85
|
+
"Conduct research" is made only when their role allows it. A card already in
|
|
86
|
+
the thread whose act they no longer may do keeps its content and loses its
|
|
87
|
+
action.
|
|
88
|
+
- **A chooser** (a list of projects to open something in) is § Choosing a target.
|
|
89
|
+
|
|
90
|
+
## Choosing a target
|
|
91
|
+
|
|
92
|
+
A new interview in which project, a workstation in which environment, a Code
|
|
93
|
+
session for which product.
|
|
94
|
+
|
|
95
|
+
- **List only the targets they can act on**, with one supporting line under the
|
|
96
|
+
field saying what was left out: "Only projects you can edit are listed." Never
|
|
97
|
+
a disabled option, and never a target that is refused once it is chosen.
|
|
98
|
+
- **When there is only one**, choose it for them and show no field.
|
|
99
|
+
- **When there are none**, there is no form: its place is the pane state, saying
|
|
100
|
+
who can and who to ask, with the act they can do instead as its action ("You
|
|
101
|
+
can't create interviews in any project yet", "Ask a project's Owner for Editor
|
|
102
|
+
access, or create a project.", New project).
|
|
103
|
+
|
|
104
|
+
## Before it is known
|
|
105
|
+
|
|
106
|
+
- **While the check runs, the controls it decides aren't drawn.** The bar's verbs
|
|
107
|
+
arrive with the content, under the same skeleton ([loading.md](loading.md)).
|
|
108
|
+
Never draw them and then take them away.
|
|
109
|
+
- **When the check fails, the controls stay out.** The content they can read
|
|
110
|
+
stays, and one line leads the content with Try again beside it: "Couldn't
|
|
111
|
+
check what you can change here." (`.app-empty-line`). Never offer everything
|
|
112
|
+
and let the service refuse.
|
|
113
|
+
|
|
114
|
+
## Refused anyway
|
|
115
|
+
|
|
116
|
+
The check passed and the service said no. Perhaps their role changed while they
|
|
117
|
+
worked, or a rule only the service knows applied.
|
|
118
|
+
|
|
119
|
+
- **One error alert at the top of the form or step, and everything they entered
|
|
120
|
+
stays** ([errors.md](errors.md) § Something they did failed).
|
|
121
|
+
- **It names the role and who can help, never "Try again"**: "Couldn't create the
|
|
122
|
+
interview", then "Only Editors can create interviews in Renewal calls, and
|
|
123
|
+
you're now a Viewer. Ask Ruan Spies for Editor access." Its one action is
|
|
124
|
+
Request access, where the product can ask.
|
|
125
|
+
- **The screen checks again**, so the chip and the controls catch up with the
|
|
126
|
+
role.
|
|
127
|
+
- **The screen must be able to tell this refusal apart.** A call refused for
|
|
128
|
+
access has to say so in a form the screen can read, not only in a message.
|
|
129
|
+
|
|
130
|
+
## Acts that destroy, deploy or reach people
|
|
131
|
+
|
|
132
|
+
Delete, Destroy and Deploy to production follow the same rules: they leave when
|
|
133
|
+
the role doesn't allow them, and are confirmed by a dialog when it does
|
|
134
|
+
([page.md](page.md) § Forms). Never the browser's own prompt, alert or confirm
|
|
135
|
+
box. Typing a name to confirm never stands in for a role check.
|
|
136
|
+
|
|
137
|
+
## Several at once
|
|
138
|
+
|
|
139
|
+
The bar that acts on chosen rows is not designed yet
|
|
140
|
+
([known-gaps.md](known-gaps.md)). Whatever shape it takes:
|
|
141
|
+
|
|
142
|
+
- **Its action counts what it will act on**: "Remove 3" when 5 are chosen and 2
|
|
143
|
+
are beyond their role, with a line in the bar saying why: "2 are Owners. Only
|
|
144
|
+
Owners can remove Owners."
|
|
145
|
+
- **When some fail at the service**, one alert says what was done and what
|
|
146
|
+
wasn't ("Granted 4. Couldn't grant 2: only Owners of Build can."), and the rows
|
|
147
|
+
that failed stay chosen.
|
|
148
|
+
|
|
149
|
+
## Asking for more
|
|
150
|
+
|
|
151
|
+
**Request access appears only where the product can send the request.** Where it
|
|
152
|
+
can't, the line that names who to ask stands alone.
|
|
153
|
+
|
|
154
|
+
- **It goes to whoever can grant it, and the screen names them**: a thing's
|
|
155
|
+
Owners, an account's admins for a place in the account, the platform's
|
|
156
|
+
curators for what only they grant. Two names at most, then the count: "Ruan
|
|
157
|
+
Spies, Jan Krynauw and 2 other Owners".
|
|
158
|
+
- **The request is a dialog** ([AppDialog](../components/AppDialog.md) § Asking
|
|
159
|
+
for access). Its title asks for the role ("Ask for Editor access?"), its body
|
|
160
|
+
says who will be asked, and it has one field, "Note for Ruan (optional)". The
|
|
161
|
+
actions are Cancel, then Send request, filled.
|
|
162
|
+
- **Afterwards the control is replaced by its state**, one line in meta
|
|
163
|
+
(`.app-access-line`): `schedule` "Request sent · Waiting for Ruan Spies". It is
|
|
164
|
+
there on every visit until someone decides, and Request access isn't offered
|
|
165
|
+
again meanwhile.
|
|
166
|
+
- **Declined**: `block` "Declined by Ruan Spies: Jan is running the calls", in
|
|
167
|
+
ink and never red, with Request again as its text action.
|
|
168
|
+
- **Granted**: the controls arrive and the chip leaves. If they are on the screen
|
|
169
|
+
when it happens, a snackbar says so: "You're now an Editor on Renewal calls".
|
|
170
|
+
- **The person deciding sees an ask** ([AppAsk](../components/AppAsk.md) § Who
|
|
171
|
+
asks): "Give Priya Naidoo Editor access to Renewal calls?", with the note as
|
|
172
|
+
its body.
|
|
173
|
+
- **Not decided yet**: withdrawing a request, turning requests off, and approval
|
|
174
|
+
chains ([known-gaps.md](known-gaps.md)).
|
|
175
|
+
|
|
176
|
+
## The words
|
|
177
|
+
|
|
178
|
+
| Where | Say |
|
|
179
|
+
| --- | --- |
|
|
180
|
+
| The role chip | the role's name: "Viewer" |
|
|
181
|
+
| Where the act was the first step | "Only Editors can create interviews. Ask Ruan Spies for Editor access." |
|
|
182
|
+
| A value they can't change | "Only Owners can change this." |
|
|
183
|
+
| Sharing they can't change | "Only Owners can change Sharing." |
|
|
184
|
+
| The account | "To create one, ask an admin of Acme." |
|
|
185
|
+
| A target list with some left out | "Only projects you can edit are listed." |
|
|
186
|
+
| The check failed | "Couldn't check what you can change here." with Try again |
|
|
187
|
+
| Refused anyway | "Couldn't save the interview", then "Only Editors can change it, and you're now a Viewer. Ask Ruan Spies for Editor access." |
|
|
188
|
+
| A request | "Ask for Editor access?", "Request sent · Waiting for Ruan Spies", "Declined by Ruan Spies: …", "You're now an Editor on Renewal calls" |
|
|
189
|
+
|
|
190
|
+
- **Roles are names**, capitalised wherever they name the role: Owner, Editor,
|
|
191
|
+
Viewer ("Ask one of its Owners"). What each can do is in `words.json`, and
|
|
192
|
+
Sharing says it in those words.
|
|
193
|
+
- **Name the person** when the product knows who can grant it. When it doesn't,
|
|
194
|
+
name the role.
|
|
195
|
+
- **"Access" is the word for being let in**: "You don't have access", "Request
|
|
196
|
+
access", "Editor access". Never "permission" or "permissions", "rights",
|
|
197
|
+
"access level", "read-only" (the lattice's word), "view-only" or "Read only".
|
|
198
|
+
|
|
199
|
+
## Before you hand it back
|
|
200
|
+
|
|
201
|
+
1. Sign in as a Viewer and walk every screen you touched. Is any control drawn
|
|
202
|
+
that the service would refuse?
|
|
203
|
+
2. Open each link into an editor, and each Alis offer, as a Viewer. Does any open
|
|
204
|
+
a form?
|
|
205
|
+
3. Make the check fail. Does anything appear that the service could refuse?
|
|
206
|
+
4. Take the role away halfway through a form. Is everything entered still there,
|
|
207
|
+
and does the alert say who to ask?
|
|
208
|
+
5. Is "permission" written anywhere a person reads?
|
package/rules/errors.md
CHANGED
|
@@ -23,7 +23,9 @@ What went wrong?
|
|
|
23
23
|
│ asked for the refresh
|
|
24
24
|
├─ They may not open this, or it isn't there → a pane state in the content's place
|
|
25
25
|
├─ They may not do this one thing → the control leaves, or says why
|
|
26
|
-
│ beside it
|
|
26
|
+
│ beside it (access.md)
|
|
27
|
+
├─ The service refused what they had begun → the error alert, naming who can
|
|
28
|
+
│ help (access.md § Refused anyway)
|
|
27
29
|
├─ The connection dropped → one page-level notice until it
|
|
28
30
|
│ returns
|
|
29
31
|
├─ They were signed out → a dialog over the screen as it was
|
|
@@ -67,7 +69,7 @@ environment. Check the name, then try again."
|
|
|
67
69
|
| It will likely work again | "Try again.", with Try again as the action |
|
|
68
70
|
| It needs a moment | "Wait a moment, then try again." |
|
|
69
71
|
| They need to change something | what to change: "Use lowercase letters, numbers and hyphens only." |
|
|
70
|
-
| Someone else has to act | who: "Ask one of its
|
|
72
|
+
| Someone else has to act | who, by name when the product knows: "Ask Ruan Spies to add you."; otherwise the role: "Ask one of its Owners to add you." ([access.md](access.md) § The words) |
|
|
71
73
|
| Nothing they can do | what happens to their work, and **Copy details** for support |
|
|
72
74
|
|
|
73
75
|
- **Details for support are copied, never shown.** Copy details is the notice's
|
|
@@ -86,7 +88,8 @@ neutral tile.
|
|
|
86
88
|
| | Headline | Line | Action |
|
|
87
89
|
| --- | --- | --- | --- |
|
|
88
90
|
| **Couldn't load** | "Couldn't load environments" | "Check your connection, then try again." | Try again, led by `refresh` |
|
|
89
|
-
| **No access** | "You don't have access to Renewal calls" | "Ask
|
|
91
|
+
| **No access** | "You don't have access to Renewal calls" | "Ask Ruan Spies to add you." | Request access, where the product can ask |
|
|
92
|
+
| **Can read it, not change it** (a link into an editor) | "Only Editors can change the research plan" | "Ask Ruan Spies for Editor access." | Request access, where the product can ask |
|
|
90
93
|
| **Not there** | "This project doesn't exist" | "It may have been deleted, or the link may be wrong." | Go to projects |
|
|
91
94
|
| **The service won't say which** | "You can't open this project" | "It may have been deleted, or you may not have access. Ask the person who sent you the link." | Go to projects |
|
|
92
95
|
|
|
@@ -118,9 +121,13 @@ neutral tile.
|
|
|
118
121
|
|
|
119
122
|
## What they may not do
|
|
120
123
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
The whole of it, from roles to asking for more, is [access.md](access.md). In
|
|
125
|
+
short:
|
|
126
|
+
|
|
127
|
+
- **Not theirs** (their role or their place in the account doesn't allow it):
|
|
128
|
+
leave the control out. The bar's verbs follow what can be done
|
|
129
|
+
([page.md](page.md) § The title bar), and a Viewer's role is named in the bar.
|
|
130
|
+
- **Theirs, but not yet** (it needs a published version first, a limit is
|
|
124
131
|
reached): the control stays, disabled, with the reason in a supporting line
|
|
125
132
|
beside it. Never in a tooltip ([AppTooltip](../components/AppTooltip.md)), and
|
|
126
133
|
a lead that starts disabled is text until it can act
|
package/rules/known-gaps.md
CHANGED
|
@@ -5,7 +5,7 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
|
|
|
5
5
|
## Components not in the set
|
|
6
6
|
|
|
7
7
|
- **Date and time pickers**. Use a text field with a format hint.
|
|
8
|
-
- **A bar of actions for several chosen rows** ("3 selected"). [AppCheckbox](../components/AppCheckbox.md) chooses them; what acts on them has no pattern yet.
|
|
8
|
+
- **A bar of actions for several chosen rows** ("3 selected"). [AppCheckbox](../components/AppCheckbox.md) chooses them; what acts on them has no pattern yet. When some of the chosen are beyond the person's role, how the bar counts and reports them is already settled ([access.md](access.md) § Several at once).
|
|
9
9
|
- **The marketing components** (`.ax-*`, alisx.com) are not in this package: it covers the product register. A layout class for a grid of lattices is missing too.
|
|
10
10
|
- **What the Skill store and the Specialists offer**, beyond their one-line descriptions in [README.md](README.md). Marketing copy about them needs a product brief.
|
|
11
11
|
- **File upload**, and a **dismissible alert**.
|
|
@@ -13,9 +13,9 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
|
|
|
13
13
|
## Open patterns
|
|
14
14
|
|
|
15
15
|
- **Finding anything across the product** (a project, an interview, a skill, an environment) from any screen. A screen's search narrows the list in front of you ([page.md](page.md) § Search); this is a different job. The likely shape is a Search row at the top of the rail with ⌘ K (reserved for it: [shortcuts.md](shortcuts.md)), opening a dialog grouped like the `@` menu, once a search across products exists.
|
|
16
|
-
- **Navigation inside a project.** Open objects can sit in the navigation pane as secondary rows under a heading ([AppShell](../components/AppShell.md)), and an object's own views are route tabs in its title bar. A project's own destinations beside the app's have no pattern yet.
|
|
17
16
|
- **Versions of generated content.** Regenerating replaces a synthesis; keeping or comparing earlier versions has no pattern.
|
|
18
|
-
- **Withdrawing a request, and approval chains.** A person can't withdraw a request they made, and a request that needs several approvers in turn has no pattern ([AppAsk](../components/AppAsk.md) § Who asks). An approval chain would be its own component: its parts and interaction differ.
|
|
17
|
+
- **Withdrawing a request, turning requests off, and approval chains.** A person can't withdraw a request they made, Owners can't choose whether anyone may ask, and a request that needs several approvers in turn has no pattern ([AppAsk](../components/AppAsk.md) § Who asks, [access.md](access.md) § Asking for more). An approval chain would be its own component: its parts and interaction differ.
|
|
18
|
+
- **An account's own roles, and seats.** `words.json` names the roles on a thing (Owner, Editor, Viewer); an account's roles (an admin, a builder, a curator) and its seats are not in it yet. Say what the person needs in the screen's own words ("ask an admin of Acme"), and add the entries with the first change.
|
|
19
19
|
- **Build's and Admin's words.** `words.json` names what Alis Ideate and every product share; Build's own things (an environment, a workstation, a build partner) are not in it yet. Name them as the screen already does, and add the entry with the first change ([words.md](words.md)).
|
|
20
20
|
- **A log viewer.** "View logs" goes to the logs' own screen; there is no pattern for showing logs inside a pane.
|
|
21
21
|
- **Each product's destinations** (the rows under its heading in the rail) are product content, not part of this system. Use the capability marks for the tools they name.
|
package/rules/page.md
CHANGED
|
@@ -66,6 +66,10 @@ means another route.
|
|
|
66
66
|
back or close button pulls its glyph onto the 24px edge the title uses.
|
|
67
67
|
- **The verbs follow the route**: each route tab shows the verbs that act on what
|
|
68
68
|
it shows, and none when nothing can be done.
|
|
69
|
+
- **And they follow the role**: a verb the person's role doesn't allow isn't
|
|
70
|
+
drawn. When their role can't change the thing at all, a label chip after the
|
|
71
|
+
name says the role ("Viewer") and opens Sharing. That is who they are here, not
|
|
72
|
+
a status ([access.md](access.md) § A role).
|
|
69
73
|
|
|
70
74
|
## Close or back
|
|
71
75
|
|
|
@@ -74,8 +78,12 @@ One test: **is what you were on still there behind it?**
|
|
|
74
78
|
- **Yes: close (`close`) leads.** It opened beside or over a screen that stays: a
|
|
75
79
|
detail pane, the file pane, the shortcut sheet, the navigation drawer, a file
|
|
76
80
|
shown full size, a task you can leave half done (an interview in progress).
|
|
77
|
-
- **No: back (`arrow_back`) leads.** It took the screen's place
|
|
78
|
-
|
|
81
|
+
- **No: back (`arrow_back`) leads.** It took the screen's place: every detail
|
|
82
|
+
screen, since it has its own route, and a screen with no navigation pane that
|
|
83
|
+
you reached from inside the app (a setup shown until a product is set up:
|
|
84
|
+
"Back to Home"). Back returns to where you came from, and names it (§ Where
|
|
85
|
+
back goes). A screen you arrive at from outside the app, with nothing behind
|
|
86
|
+
it (joining an interview, signing in), leads with nothing.
|
|
79
87
|
- **On a phone**, whatever covers the window leads with back, and the phone's back
|
|
80
88
|
gesture does the same.
|
|
81
89
|
- **Either one leads the bar**, its glyph on the 24px edge. Never on the trailing
|
|
@@ -90,9 +98,42 @@ One test: **is what you were on still there behind it?**
|
|
|
90
98
|
[AppAttachment](../components/AppAttachment.md)). Never to delete, deny or
|
|
91
99
|
reject: those take words.
|
|
92
100
|
|
|
101
|
+
## Where back goes
|
|
102
|
+
|
|
103
|
+
**Back returns to where you came from, and its name says where.**
|
|
104
|
+
|
|
105
|
+
- **It returns to the screen you opened the thing from**, as you left it: its
|
|
106
|
+
search, its filters, its place in the list. An interview opened from the
|
|
107
|
+
app-wide Interviews goes back there; the same interview opened from its
|
|
108
|
+
project's Interviews goes back to the project's. A thing that opens from two
|
|
109
|
+
lists has two ways back, and each is right.
|
|
110
|
+
- **With no step in the app to return to** (you came by a link, a new tab or an
|
|
111
|
+
email), back goes to the thing's parent, the list it lives in, and names it.
|
|
112
|
+
- **Back never lands somewhere you weren't.** Not up to a parent you didn't come
|
|
113
|
+
through, and not to a level you skipped.
|
|
114
|
+
- **Its name says where**: "Back to interviews", "Back to Customer onboarding",
|
|
115
|
+
as its tooltip and its accessible name. Never a bare "Back" or "Go back" in a
|
|
116
|
+
bar: an arrow alone can't say whether it means the last screen or Home. (A
|
|
117
|
+
flow's Back text button steps to the step before, and says so by where it
|
|
118
|
+
sits.)
|
|
119
|
+
- **Moving inside the thing doesn't move it.** Its route tabs (Overview,
|
|
120
|
+
Responses, Setup) leave back where it was: it still returns to the list,
|
|
121
|
+
never to the tab before.
|
|
122
|
+
- **Only a screen you went into has back.** A screen you reach from the
|
|
123
|
+
navigation pane (a project's Home, its Interviews, its Contributions) is a
|
|
124
|
+
place, not a step: no back. You leave it by the pane
|
|
125
|
+
([AppShell](../components/AppShell.md) § A contextual rail).
|
|
126
|
+
- **The navigation pane follows where a thing lives, never how you reached
|
|
127
|
+
it.** An interview lives in its project, so it shows its project's pane
|
|
128
|
+
however you opened it, the app-wide Interviews included; back to the app-wide
|
|
129
|
+
Interviews brings the app's pane back. A thing looks the same however you
|
|
130
|
+
reached it: the same pane, the same bar, the same tabs. Only where back goes
|
|
131
|
+
differs.
|
|
132
|
+
|
|
93
133
|
## A detail screen
|
|
94
134
|
|
|
95
|
-
The same bar: back leading in flow,
|
|
135
|
+
The same bar: back leading in flow, named for where it returns (§ Where back
|
|
136
|
+
goes), the name left, and renaming it or switching
|
|
96
137
|
to a sibling as small icon buttons beside the name. Never a centred title with
|
|
97
138
|
the back button pinned absolutely, never the name inside a pill
|
|
98
139
|
button, and never the name again as a title in the body. The bar keeps the
|
package/rules/quick-start.md
CHANGED
|
@@ -29,6 +29,7 @@ AppShell
|
|
|
29
29
|
| You need | Use |
|
|
30
30
|
|---|---|
|
|
31
31
|
| The frame and the navigation rail | `AppShell` |
|
|
32
|
+
| The way out of a place, or back from a thing | Inside a project, its name at the top of the rail is a switcher; settings and Support lead their rail with "← Home" (`AppShell` § A contextual rail). A detail screen leads with back, named for the screen you came from ("Back to interviews"); a screen reached from the rail has none ([page.md](page.md) § Where back goes) |
|
|
32
33
|
| The screen's name, verbs | `AppTitleBar`. Its lead ("New environment") is `AppButton variant="outlined"`, led by `add` when it is New or Add (`edit_square` for a new conversation); other verbs are text or icon buttons; no icon on a single verb; never status. On a phone, one row: menu, name, the lead's glyph, ⋯ |
|
|
33
34
|
| To search or narrow one list | `AppFilterRow`: `search` first, then `AppSegmented` or filter `AppChip`s, the count last ("2 of 5" while narrowed) |
|
|
34
35
|
| The bar of a detail pane | `AppTitleBar variant="detail"`: close, the name in section-title, its verbs on a row below |
|
|
@@ -67,6 +68,7 @@ AppShell
|
|
|
67
68
|
| Waiting, shape unknown | `AppLoader` |
|
|
68
69
|
| Work you can count (a deploy, an upload) | `AppProgress`, with `AppSteps` for named stages |
|
|
69
70
|
| A screen or pane that couldn't load, or that they can't open | `AppEmptyState` without the drafting field: what couldn't happen, what to do, one action ([errors.md](errors.md)) |
|
|
71
|
+
| Something their role doesn't let them do | leave it out; a Viewer gets the role chip in the bar, and an empty state says who can ([access.md](access.md)) |
|
|
70
72
|
| Something they did failed | one `AppAlert tone="error"` at the top of the form or pane, in words a person wrote; never a snackbar, never the machine's message |
|
|
71
73
|
| Nothing yet | `AppEmptyState` filling the pane; keep the bar's name and verb, hide search and the filter row |
|
|
72
74
|
|
package/rules/type.md
CHANGED
|
@@ -123,7 +123,7 @@ subtitle is never body.
|
|
|
123
123
|
| A not-applicable value ("None", "n/a") | meta in `on-surface-variant`. Disabled styling is for disabled controls only |
|
|
124
124
|
| A placeholder in a name's slot ("Pending title…") | the name's role, in `on-surface-variant`, so the row keeps its height |
|
|
125
125
|
| A status line | the role its position gives it, in its status ink; a warning line keeps the role's ink beside a `warning` icon |
|
|
126
|
-
| A pane filled by an error, or by a state that is not a failure (no
|
|
126
|
+
| A pane filled by an error, or by a state that is not a failure (no access, nothing yet) | under its own heading, supporting; an error with no heading is body |
|
|
127
127
|
| An empty line inside working content | one supporting line ([page.md](page.md)) |
|
|
128
128
|
| An empty state inside working content with a heading and a hint | supporting on both, and report the copy: [page.md](page.md) asks for one line |
|
|
129
129
|
| A drop target's line | supporting, in `primary` while something is dragged over |
|
package/words.json
CHANGED
|
@@ -44,7 +44,31 @@
|
|
|
44
44
|
"product": "all",
|
|
45
45
|
"means": "Who can open a thing, and what they can do with it. The page and the dialog are Sharing; the action that opens them is Share. The roles are Owner, Editor and Viewer.",
|
|
46
46
|
"retired": ["Access and ownership", "Add owners"],
|
|
47
|
-
"avoid": ["permissions", "IAM"]
|
|
47
|
+
"avoid": ["permissions", "permission", "IAM", "rights", "access level", "read-only (the lattice's word)", "view-only"]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "Owner",
|
|
51
|
+
"plural": "Owners",
|
|
52
|
+
"product": "all",
|
|
53
|
+
"means": "A role on a thing. Can do everything an Editor can, and change Sharing. Capitalised wherever it names the role: \"Ask one of its Owners\".",
|
|
54
|
+
"retired": [],
|
|
55
|
+
"avoid": ["admin (of a thing)"]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "Editor",
|
|
59
|
+
"plural": "Editors",
|
|
60
|
+
"product": "all",
|
|
61
|
+
"means": "A role on a thing. Can create and change what is in it. \"Editor access\" is what someone asks for.",
|
|
62
|
+
"retired": [],
|
|
63
|
+
"avoid": ["contributor", "member (of a thing)"]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "Viewer",
|
|
67
|
+
"plural": "Viewers",
|
|
68
|
+
"product": "all",
|
|
69
|
+
"means": "A role on a thing. Can open and read everything in it, and change nothing. Named in the title bar's role chip.",
|
|
70
|
+
"retired": ["Read only", "View only"],
|
|
71
|
+
"avoid": ["read-only", "view-only", "guest"]
|
|
48
72
|
},
|
|
49
73
|
{
|
|
50
74
|
"name": "credits",
|
|
@@ -265,6 +289,7 @@
|
|
|
265
289
|
{ "name": "Delete", "means": "It stops existing for everyone, and nobody can bring it back from the product." },
|
|
266
290
|
{ "name": "Remove", "means": "It leaves this place and still exists: a person from Sharing, a project from a collection, a file from a message." },
|
|
267
291
|
{ "name": "Archive", "means": "Only where there is a place to find archived things and bring them back. Otherwise it is Delete." },
|
|
268
|
-
{ "name": "Share", "means": "Opens Sharing." }
|
|
292
|
+
{ "name": "Share", "means": "Opens Sharing." },
|
|
293
|
+
{ "name": "Request access", "means": "Asks whoever can grant it for a role here, with an optional note (rules/access.md). Afterwards the control reads \"Request sent\" until they decide; a refusal reads \"Declined by …\" with Request again." }
|
|
269
294
|
]
|
|
270
295
|
}
|