Drop list-style card framing from the single-item Inbox tab

This commit is contained in:
Ian Gulliver
2026-10-15 18:45:36 -07:00
parent a1615693ef
commit 11051b96c5
2 changed files with 2 additions and 20 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ An open byre page shows a browser notification for each new inbox item, raised b
The **Settings** modal (the navbar's **Settings** button) asks the browser for notification permission and edits the preferences.
In the UI each card is answered on its own; there is no batch submission. A pick-one question's choices are clickable blocks, and clicking one sends that answer at once. A choice's block (or a pick-any choice's checkbox label) holds the whole list item: its first line, which is the choice's text, and everything under it, such as an example's paragraph or code block. A pick-any question's choices are checkboxes, sent with the Submit button at the bottom of the card. Below the choices, an "Other…" block in the same style opens the only text field. A card has at most one Submit button: on a pick-any question it sends the checked choices with the Other text alongside (one `option` response), or the Other text alone as `other` when nothing is checked. A report has only an OK button, which dismisses it at once; an error has a "Reply…" block (`other`) and a Dismiss button. The Other and Reply text boxes send with the Submit button under them or on Enter (Shift+Enter for a newline), like the message box, and fold back into their block when left empty. The list updates in place: a card stays attached while its item is unchanged, so task and inbox updates from other agents don't pull focus out of a text box being typed in.
The Inbox tab shows one item at a time, the task's oldest, filling the tab without a card frame; the next appears when it is answered. Each item is answered on its own; there is no batch submission. A pick-one question's choices are clickable blocks, and clicking one sends that answer at once. A choice's block (or a pick-any choice's checkbox label) holds the whole list item: its first line, which is the choice's text, and everything under it, such as an example's paragraph or code block. A pick-any question's choices are checkboxes, sent with the Submit button at the bottom of the card. Below the choices, an "Other…" block in the same style opens the only text field. A card has at most one Submit button: on a pick-any question it sends the checked choices with the Other text alongside (one `option` response), or the Other text alone as `other` when nothing is checked. A report has only an OK button, which dismisses it at once; an error has a "Reply…" block (`other`) and a Dismiss button. The Other and Reply text boxes send with the Submit button under them or on Enter (Shift+Enter for a newline), like the message box, and fold back into their block when left empty. The list updates in place: a card stays attached while its item is unchanged, so task and inbox updates from other agents don't pull focus out of a text box being typed in.
There is no snoozing. The `snoozed_until` and `snooze_until` columns are still in the schema, always empty, so builds from older branches keep working against the same database; nothing reads them.
+1 -19
View File
@@ -1450,21 +1450,7 @@ pre.file-text .line::before {
.inbox-list {
flex: 1;
overflow-y: auto;
padding: 8px 16px 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.card {
border: 1px solid var(--border);
border-radius: 10px;
padding: 12px 14px;
background: var(--raised);
}
.card.blocked {
box-shadow: inset 3px 0 0 var(--danger);
padding: 12px 16px 16px;
}
.card header {
@@ -1675,10 +1661,6 @@ pre.file-text .line::before {
display: none;
}
.card .review {
background: var(--surface);
}
.card-reviews {
display: flex;
flex-direction: column;