@andrioid/paseo-attention-span 0.2.0 → 0.3.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/OVERVIEW.md +11 -7
- package/client/attention-screen.tsx +182 -79
- package/client/card.tsx +5 -15
- package/client/coverage-settings.tsx +35 -4
- package/client/feedback.tsx +151 -0
- package/client/host.ts +8 -0
- package/client/icons.ts +3 -2
- package/client/next-up.tsx +29 -45
- package/client/session-menu.ts +18 -26
- package/client/sessions.ts +5 -2
- package/client/sheet.tsx +17 -72
- package/client/ui.tsx +0 -49
- package/docs/architecture.md +188 -0
- package/docs/screenshots/desktop-dark-doing-acknowledge.png +0 -0
- package/docs/screenshots/desktop-dark-doing-issue-sheet.png +0 -0
- package/docs/screenshots/desktop-dark-doing-reviewers.png +0 -0
- package/docs/screenshots/desktop-dark-doing-sheet.png +0 -0
- package/docs/screenshots/desktop-dark-doing-too-long.png +0 -0
- package/docs/screenshots/desktop-dark-doing.png +0 -0
- package/docs/screenshots/desktop-dark-history-reviewed.png +0 -0
- package/docs/screenshots/desktop-dark-history.png +0 -0
- package/docs/screenshots/desktop-dark-next-up-code-repo.png +0 -0
- package/docs/screenshots/desktop-dark-next-up.png +0 -0
- package/docs/screenshots/desktop-dark-settings.png +0 -0
- package/docs/screenshots/desktop-dark-setup.png +0 -0
- package/docs/screenshots/desktop-dark-waiting.png +0 -0
- package/docs/screenshots/phone-dark-doing.png +0 -0
- package/docs/screenshots/phone-light-next-up-filtered.png +0 -0
- package/index.client.tsx +15 -5
- package/index.server.ts +28 -2
- package/package.json +16 -2
- package/requirements.yaml +128 -0
- package/server/actions.ts +31 -1
- package/server/classify.ts +150 -52
- package/server/feedback.ts +38 -0
- package/server/fixture.ts +48 -16
- package/server/github-types.ts +15 -2
- package/server/queries.ts +15 -4
- package/server/rules.ts +119 -0
- package/server/service.ts +15 -3
- package/server/setup.ts +3 -3
- package/server/store.ts +5 -0
- package/shared/attention.ts +36 -2
- package/shared/config.ts +3 -0
- package/shared/feedback.ts +91 -0
- package/shared/rpc.ts +12 -1
- package/shared/setup.ts +2 -0
package/client/sheet.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { openExternalUrl } from "@getpaseo/plugin/client";
|
|
2
2
|
import { Modal } from "@getpaseo/plugin/client/ui";
|
|
3
3
|
import type { ReactNode } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import type { ItemDetails } from "../shared/attention";
|
|
4
|
+
import { Pressable, Text, View } from "react-native";
|
|
5
|
+
import type { Chip, ItemDetails } from "../shared/attention";
|
|
6
6
|
import type { IconName } from "./icons";
|
|
7
|
-
import {
|
|
7
|
+
import { Button, KeepStyles, Loading, Signal, TablerIcon, toneColor, useCopy, useHover, useStyles } from "./ui";
|
|
8
8
|
|
|
9
9
|
// Tapping a card opens its sheet: what the card knows, every action saying what it will do, then what's fetched [ATT-06].
|
|
10
10
|
// Fetched details go last, so the actions don't move when they arrive. A bottom sheet on phones, a dialog on desktop.
|
|
@@ -18,15 +18,10 @@ export interface SheetEntry {
|
|
|
18
18
|
onPress: () => void;
|
|
19
19
|
// A copy icon at the end of the line, so copying adds no line to the sheet [ATT-15].
|
|
20
20
|
copy?: { text: string; label: string; done: string };
|
|
21
|
-
//
|
|
22
|
-
|
|
23
|
-
//
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface MenuGroup {
|
|
28
|
-
title?: string;
|
|
29
|
-
entries: SheetEntry[];
|
|
21
|
+
// A running session's state at the end of the line: the line opens it [SES-03, ATT-07].
|
|
22
|
+
badge?: Chip;
|
|
23
|
+
// Muted, for a line that's there on purpose but rarely wanted, like starting another session.
|
|
24
|
+
quiet?: boolean;
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
export function ActionSheet({ title, top, entries, bottom, onClose }: { title: string; top: ReactNode; entries: SheetEntry[]; bottom: ReactNode; onClose: () => void }) {
|
|
@@ -52,8 +47,8 @@ function Entry({ entry, first }: { entry: SheetEntry; first: boolean }) {
|
|
|
52
47
|
const styles = useStyles();
|
|
53
48
|
const { hovered, hover } = useHover();
|
|
54
49
|
const copy = useCopy();
|
|
55
|
-
const anchor = useAnchor();
|
|
56
50
|
const muted = styles.c.foregroundMuted;
|
|
51
|
+
const dim = entry.disabled || entry.quiet;
|
|
57
52
|
return (
|
|
58
53
|
<View style={[styles.row, { gap: 0, alignItems: "stretch" }, first ? null : { borderTopWidth: 1, borderTopColor: styles.c.surface1 }]}>
|
|
59
54
|
<Pressable
|
|
@@ -68,23 +63,14 @@ function Entry({ entry, first }: { entry: SheetEntry; first: boolean }) {
|
|
|
68
63
|
]}
|
|
69
64
|
>
|
|
70
65
|
<View style={{ paddingTop: 1 }}>
|
|
71
|
-
<TablerIcon name={entry.icon} size={16} color={
|
|
66
|
+
<TablerIcon name={entry.icon} size={16} color={dim ? muted : styles.action} />
|
|
72
67
|
</View>
|
|
73
68
|
<View style={{ flex: 1, gap: 2 }}>
|
|
74
|
-
<Text style={{ color:
|
|
69
|
+
<Text style={{ color: dim ? muted : styles.c.foreground, fontSize: 14, fontWeight: entry.quiet ? "500" : "600" }}>{entry.label}</Text>
|
|
75
70
|
{entry.detail ? <Text style={styles.muted}>{entry.detail}</Text> : null}
|
|
76
71
|
</View>
|
|
77
|
-
{entry.
|
|
78
|
-
<View style={{ paddingTop: 1 }}>
|
|
79
|
-
<TablerIcon name="check" size={16} color={styles.action} />
|
|
80
|
-
</View>
|
|
81
|
-
) : null}
|
|
72
|
+
{entry.badge ? <Badge {...entry.badge} /> : null}
|
|
82
73
|
</Pressable>
|
|
83
|
-
{entry.menu ? (
|
|
84
|
-
<View ref={anchor.ref} collapsable={false} style={{ paddingHorizontal: 6, justifyContent: "center", borderLeftWidth: 1, borderLeftColor: styles.c.surface1 }}>
|
|
85
|
-
<Button icon="chevronDown" variant="ghost" accessibilityLabel={entry.menu.label} onPress={() => anchor.measure(entry.menu!.onPress)} />
|
|
86
|
-
</View>
|
|
87
|
-
) : null}
|
|
88
74
|
{entry.copy ? (
|
|
89
75
|
<View style={{ paddingHorizontal: 6, justifyContent: "center" }}>
|
|
90
76
|
<Button icon="copy" variant="ghost" accessibilityLabel={entry.copy.label} onPress={() => copy(entry.copy!.text, entry.copy!.done)} />
|
|
@@ -94,55 +80,14 @@ function Entry({ entry, first }: { entry: SheetEntry; first: boolean }) {
|
|
|
94
80
|
);
|
|
95
81
|
}
|
|
96
82
|
|
|
97
|
-
// A
|
|
98
|
-
|
|
83
|
+
// A state as a pill on a soft tint of its tone.
|
|
84
|
+
function Badge(chip: Chip) {
|
|
99
85
|
const styles = useStyles();
|
|
100
|
-
const window = useWindowDimensions();
|
|
101
|
-
const list = (
|
|
102
|
-
<View style={{ gap: 10 }}>
|
|
103
|
-
{groups.map((group, index) => (
|
|
104
|
-
<View key={group.title ?? index} style={{ gap: 6 }}>
|
|
105
|
-
{group.title ? <Text style={[styles.muted, { fontWeight: "600" }]}>{group.title}</Text> : null}
|
|
106
|
-
<View style={[styles.card, { backgroundColor: styles.c.surface2 }]}>
|
|
107
|
-
{group.entries.map((entry, i) => (
|
|
108
|
-
<Entry key={entry.key} entry={entry} first={i === 0} />
|
|
109
|
-
))}
|
|
110
|
-
</View>
|
|
111
|
-
</View>
|
|
112
|
-
))}
|
|
113
|
-
</View>
|
|
114
|
-
);
|
|
115
|
-
if (styles.compact || !anchor) {
|
|
116
|
-
return (
|
|
117
|
-
<Modal title={title} open onOpenChange={(open) => (open ? null : onClose())}>
|
|
118
|
-
<Modal.Content>
|
|
119
|
-
<KeepStyles styles={styles}>{list}</KeepStyles>
|
|
120
|
-
</Modal.Content>
|
|
121
|
-
</Modal>
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
// Right-aligned with the button, below it, or above it in the lower half of the window.
|
|
125
|
-
const width = Math.min(340, window.width - 16);
|
|
126
|
-
const left = Math.max(8, Math.min(anchor.x + anchor.width - width, window.width - width - 8));
|
|
127
|
-
const below = anchor.y + anchor.height < window.height / 2;
|
|
128
|
-
const place = below ? { top: anchor.y + anchor.height + 4 } : { bottom: window.height - anchor.y + 4 };
|
|
129
86
|
return (
|
|
130
|
-
<
|
|
131
|
-
<
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
accessibilityRole="menu"
|
|
135
|
-
accessibilityLabel={title}
|
|
136
|
-
style={[
|
|
137
|
-
styles.card,
|
|
138
|
-
{ position: "absolute", left, width, maxHeight: window.height / 2 - 16, padding: 10, ...place },
|
|
139
|
-
{ shadowColor: "#000", shadowOpacity: 0.25, shadowRadius: 16, shadowOffset: { width: 0, height: 6 }, elevation: 8 },
|
|
140
|
-
]}
|
|
141
|
-
>
|
|
142
|
-
{list}
|
|
143
|
-
</View>
|
|
144
|
-
</KeepStyles>
|
|
145
|
-
</NativeModal>
|
|
87
|
+
<View style={{ paddingVertical: 2, paddingHorizontal: 8, borderRadius: 99, overflow: "hidden" }}>
|
|
88
|
+
<View style={{ position: "absolute", top: 0, left: 0, right: 0, bottom: 0, backgroundColor: toneColor(styles, chip.tone), opacity: 0.16 }} />
|
|
89
|
+
<Signal {...chip} />
|
|
90
|
+
</View>
|
|
146
91
|
);
|
|
147
92
|
}
|
|
148
93
|
|
package/client/ui.tsx
CHANGED
|
@@ -138,7 +138,6 @@ export function Button({
|
|
|
138
138
|
disabled,
|
|
139
139
|
busy,
|
|
140
140
|
accessibilityLabel,
|
|
141
|
-
joined,
|
|
142
141
|
}: {
|
|
143
142
|
label?: string;
|
|
144
143
|
icon?: IconName;
|
|
@@ -147,8 +146,6 @@ export function Button({
|
|
|
147
146
|
disabled?: boolean;
|
|
148
147
|
busy?: boolean;
|
|
149
148
|
accessibilityLabel?: string;
|
|
150
|
-
// One half of a split button: square on the side it joins.
|
|
151
|
-
joined?: "start" | "end";
|
|
152
149
|
}) {
|
|
153
150
|
const styles = useStyles();
|
|
154
151
|
const { hovered, hover } = useHover();
|
|
@@ -169,7 +166,6 @@ export function Button({
|
|
|
169
166
|
height: 30,
|
|
170
167
|
paddingHorizontal: label ? 11 : 8,
|
|
171
168
|
borderRadius: 8,
|
|
172
|
-
...(joined === "start" ? { borderTopRightRadius: 0, borderBottomRightRadius: 0 } : joined === "end" ? { borderTopLeftRadius: 0, borderBottomLeftRadius: 0, paddingHorizontal: 6 } : null),
|
|
173
169
|
backgroundColor: variant === "solid" ? c.accent : hovered || (pressed && variant === "ghost") ? c.border : variant === "ghost" ? "transparent" : c.surface2,
|
|
174
170
|
opacity: disabled ? 0.5 : pressed ? 0.8 : 1,
|
|
175
171
|
})}
|
|
@@ -180,51 +176,6 @@ export function Button({
|
|
|
180
176
|
);
|
|
181
177
|
}
|
|
182
178
|
|
|
183
|
-
// Where a menu opens from, in window coordinates.
|
|
184
|
-
export interface Anchor {
|
|
185
|
-
x: number;
|
|
186
|
-
y: number;
|
|
187
|
-
width: number;
|
|
188
|
-
height: number;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// Measures a view, for a menu that opens under it.
|
|
192
|
-
export function useAnchor() {
|
|
193
|
-
const ref = useRef<View>(null);
|
|
194
|
-
const measure = (then: (anchor: Anchor | undefined) => void) => {
|
|
195
|
-
if (!ref.current) return then(undefined);
|
|
196
|
-
ref.current.measureInWindow((x, y, width, height) => then(width || height ? { x, y, width, height } : undefined));
|
|
197
|
-
};
|
|
198
|
-
return { ref, measure };
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
// The action, and ▾ for the choices around it [SES-03].
|
|
202
|
-
export function SplitButton({
|
|
203
|
-
label,
|
|
204
|
-
icon,
|
|
205
|
-
onPress,
|
|
206
|
-
onMenu,
|
|
207
|
-
menuLabel,
|
|
208
|
-
busy,
|
|
209
|
-
accessibilityLabel,
|
|
210
|
-
}: {
|
|
211
|
-
label: string;
|
|
212
|
-
icon?: IconName;
|
|
213
|
-
onPress: () => void;
|
|
214
|
-
onMenu: (anchor: Anchor | undefined) => void;
|
|
215
|
-
menuLabel: string;
|
|
216
|
-
busy?: boolean;
|
|
217
|
-
accessibilityLabel?: string;
|
|
218
|
-
}) {
|
|
219
|
-
const { ref, measure } = useAnchor();
|
|
220
|
-
return (
|
|
221
|
-
<View ref={ref} collapsable={false} style={{ flexDirection: "row", gap: 1 }}>
|
|
222
|
-
<Button label={label} icon={icon} variant="calm" busy={busy} accessibilityLabel={accessibilityLabel} onPress={onPress} joined="start" />
|
|
223
|
-
<Button icon="chevronDown" variant="calm" disabled={busy} accessibilityLabel={menuLabel} onPress={() => measure(onMenu)} joined="end" />
|
|
224
|
-
</View>
|
|
225
|
-
);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
179
|
// Sentence case, with the count as quiet text.
|
|
229
180
|
export function SectionHeader({ icon, title, count, action }: { icon: IconName; title: string; count: number; action?: ReactNode }) {
|
|
230
181
|
const styles = useStyles();
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
How Attention Span meets [requirements.yaml](../requirements.yaml). Requirement IDs in brackets.
|
|
4
|
+
|
|
5
|
+
## Pieces
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
flowchart LR
|
|
9
|
+
subgraph Paseo app
|
|
10
|
+
Screen[Attention Span screen]
|
|
11
|
+
Badge[Sidebar count]
|
|
12
|
+
end
|
|
13
|
+
subgraph Daemon host
|
|
14
|
+
Server[Plugin server handlers]
|
|
15
|
+
Files[(config.json<br/>state.json)]
|
|
16
|
+
Paseo[Paseo SDK]
|
|
17
|
+
end
|
|
18
|
+
GitHub[(GitHub GraphQL)]
|
|
19
|
+
Screen -- RPC --> Server
|
|
20
|
+
Badge -- RPC --> Server
|
|
21
|
+
Server -- host gh login --> GitHub
|
|
22
|
+
Server --> Files
|
|
23
|
+
Screen -- workspaces, agents --> Paseo
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
- **Paseo plugin**, installed per daemon.
|
|
27
|
+
- Client: one screen and a sidebar header item. React Native primitives only, so it works on phone and desktop [REACH-01].
|
|
28
|
+
- With more than one host in the app, each host runs its own copy, with its own `gh` login, `config.json` and `state.json`. The sidebar row shows the host's name beside the count, and settings say which host they're for and its GitHub login. The app doesn't say which other hosts have the plugin, so any second host counts [REACH-02].
|
|
29
|
+
- Server: RPC handlers for fetching and for GitHub actions.
|
|
30
|
+
- **GitHub access** goes through the host's existing `gh` login. The plugin stores no token [SEC-01].
|
|
31
|
+
- **Setup checklist** [SET-01]: when a refresh fails, the screen asks the server what setup needs (`gh api user` for whether `gh` is there and who it's signed in as, and whether `config.json` parses). If `gh` is missing or signed out, or the file is broken, a checklist takes the tabs' place. Each line says how to fix it, and Check again refreshes. It also lists what's covered, the Paseo projects with a GitHub remote, and which profile sessions will use. Other failures, like a network error, stay a red line above the tabs.
|
|
32
|
+
- **Settings screen** [SRC-02], under Settings → Plugins → Attention Span and the gear next to ⟳: orgs and repos, one per row. Each is checked with `gh api users/<org>` (it must be an organization, since searches use `org:`) or `gh api repos/<owner>/<name>` before it's saved, and GitHub's exact name is kept. Saving rewrites only `orgs` and `repos` in `config.json`, refuses a file that doesn't parse, and refreshes the lists. A Replies section has one switch, Follow threads I've commented on, which writes only `followThreads` [ATT-17].
|
|
33
|
+
- **Local files** live in `~/.config/paseo-attention-span/`:
|
|
34
|
+
- `config.json`, edited by hand, except `orgs` and `repos` (the settings screen) and `codeRepos`, which the screen can add to:
|
|
35
|
+
- orgs and repos [SRC-01]
|
|
36
|
+
- a profile per reason: `review` for Review, `default` for everything else
|
|
37
|
+
- `followThreads` (default off, also under Settings → Replies → Follow threads I've commented on): recent replies after mine on other people's threads show under Answered [ATT-17]
|
|
38
|
+
- `waitingTooLongDays` (default 3) [ATT-11] and `refreshMinutes` (default 15) [FRESH-01], `historyWeeks` (default 4) [HIS-01]
|
|
39
|
+
- optional prompt templates that replace the built-in ones [SES-04]
|
|
40
|
+
- optional merge method per repo [PRS-04]
|
|
41
|
+
- `codeRepos`: where an issue repo's code lives, for issues kept in their own repo [SES-07]
|
|
42
|
+
- `nextUp`: where unclaimed issues come from (`mine`, `orgs`, `repos`, set in Settings) and the org issue fields for priority, effort and scope [NXT-04]
|
|
43
|
+
- `state.json`: dismissals [ATT-08], the scopes and sources ticked in Next up's filter [NXT-03, NXT-09], my Paseo projects' GitHub repos [NXT-08] and the last fetch of each feed, so the screen shows instantly after a restart [PRIV-01].
|
|
44
|
+
|
|
45
|
+
## Tabs
|
|
46
|
+
|
|
47
|
+
The tabs tell the story of my work, left to right: what I finished, what needs me, what waits on others, what's next. The screen opens on **Doing**, and the sidebar entry "Attention" shows Doing's count [ATT-09]. On phones only the active tab shows its label.
|
|
48
|
+
|
|
49
|
+
| Tab | Shows |
|
|
50
|
+
|---|---|
|
|
51
|
+
| History | The last `historyWeeks` (default 4) by week, newest first, in the device's time zone: issues assigned to me that closed, with the PRs that closed them, and my other merged PRs [HIS-01]. Per week, a collapsed "Reviewed (n)" lists others' merged PRs I reviewed [HIS-02]. The copy icon on a week's heading copies its finished items, not the reviews, as a Markdown list of links; an issue and the PRs that closed it are one line, linking the issue [HIS-03]. |
|
|
52
|
+
| Doing | The sections below |
|
|
53
|
+
| Waiting | My work where someone else has the next move [WAI-01]: *Waiting for review* (once a person or team is asked, or someone else has reviewed; with the requested reviewer or team), *Waiting for the reviewer* (after I replied or pushed), *CI running*, *Questions I asked* (threads where my comment is the last from a person; bots don't count): on my own issues however old, on others' only while my comment is within `mentionDays` [ATT-11] |
|
|
54
|
+
| Next up | *Assigned to you* [NXT-06], then *Unclaimed* [NXT-01] |
|
|
55
|
+
|
|
56
|
+
Every card in every tab is the same component, `CardRow` in `client/card.tsx` [ATT-05]: a tinted mark for what it is, a title of at most two lines, then "repo #number", when it happened and signal chips, then content only some lists have (tags, a quote, a stack line), and its actions: on the right on desktop, labelled under the text on phones. A change on GitHub asks first in a `ConfirmBar` on the card [SAFE-01]. Tabs differ only in what they pass in: each maps its data to the card's mark, meta, actions and slots. Marks and signals take a tone, never a raw theme color, because some themes draw `accent` close to white.
|
|
57
|
+
|
|
58
|
+
Screenshots, from the preview's made-up data, are in [screenshots/](screenshots/). Refresh them with `npm run screenshots`.
|
|
59
|
+
|
|
60
|
+
| Doing | History | Next up (phone) |
|
|
61
|
+
|---|---|---|
|
|
62
|
+
|  |  |  |
|
|
63
|
+
|
|
64
|
+
### Doing
|
|
65
|
+
|
|
66
|
+
Top to bottom. Each item appears once, under its most urgent reason [ATT-02]. `server/rules.ts` has one rule per section: a guard over the flags of the item's state (CI, review, mergeability, draft). The first section in `SECTIONS` order whose rule holds wins, so that order is the priority. A test checks that every combination of a PR's flags lands in a section.
|
|
67
|
+
|
|
68
|
+
| Section | Shows |
|
|
69
|
+
|---|---|
|
|
70
|
+
| Waiting for your reply | Open threads with a mention waiting on me [MEN-01] |
|
|
71
|
+
| Answered | Issues and PRs I opened where a person commented in the conversation after me, within `mentionDays` (default 30), without mentioning me, and I haven't 👍'd it; opening a thread counts as my last word until I comment. Replies after mine on other people's threads count only with `followThreads` on (Settings → Replies → Follow threads I've commented on, off by default); then my comment must be among the thread's last 10. Reply and Acknowledge clear it, and so does Dismiss until someone comments again [ATT-16, ATT-17, MEN-02] |
|
|
72
|
+
| Review requested | PRs requesting my review by name, not via a team [REV-01] |
|
|
73
|
+
| CI failing | My PRs with failing checks [PRS-01] |
|
|
74
|
+
| Changes requested | My PRs with requested changes or unresolved threads [PRS-02] |
|
|
75
|
+
| Ready to merge | My approved, mergeable PRs [PRS-03] |
|
|
76
|
+
| Needs upstream | My PRs with conflicts or an out-of-sync stack [UPS-01, UPS-02] |
|
|
77
|
+
| Waiting too long | Waiting items older than `waitingTooLongDays` (default 3); it's mine to nudge [ATT-11] |
|
|
78
|
+
| Needs a reviewer | My PRs nobody has been asked to review, even while CI runs [PRS-12] |
|
|
79
|
+
| My drafts | My drafts, with their own state tags [PRS-05, PRS-06] |
|
|
80
|
+
|
|
81
|
+
## Rules
|
|
82
|
+
|
|
83
|
+
- **One item per issue** [ATT-03]: PRs are grouped under the issues they close (`closingIssuesReferences`, works across repos). A PR without a linked issue is its own item.
|
|
84
|
+
- **One item per stack** [ATT-04]: a stack is followed through base/head branch names. Its section is decided by the bottom PR; the PRs above it are listed beneath.
|
|
85
|
+
- **Answers** [ATT-16]: on an issue a PR of mine closes, an answer leads the item like a mention does. From the issue itself only what's on me counts; its PRs say how the work is going.
|
|
86
|
+
- **Mentions** [MEN-01..06]: a thread counts when a person @-mentioned me after my last comment, review or reaction there. Team mentions are ignored. A bot counts only when it opened a thread I need to resolve, and is marked with 🤖. The quote on a card is cut around the mention, so it's shown as plain text: links keep their text, Markdown marks and quoted replies go.
|
|
87
|
+
- **Handed over** [PRS-08]: my PRs assigned to someone else, and not to me, are left out. Mentions of me on them still count.
|
|
88
|
+
- **Dismiss** [ATT-08] hides an item until someone other than me comments, reviews or pushes, or its reason changes. My own actions and CI reruns don't bring it back.
|
|
89
|
+
- **Behind base** [UPS-07] only matters when:
|
|
90
|
+
1. the PR conflicts with its base,
|
|
91
|
+
2. a stacked PR no longer builds on its parent's head,
|
|
92
|
+
3. it is ready to merge (CI ran against an old base).
|
|
93
|
+
Otherwise the behind count is shown on rows that appear anyway, but never puts an item on the list by itself. Its chip stays neutral; only conflicts are flagged, in red.
|
|
94
|
+
- **Stale draft** [PRS-07]: a draft untouched for 30 days offers Refresh and Close instead of Rebase.
|
|
95
|
+
|
|
96
|
+
## Next up
|
|
97
|
+
|
|
98
|
+
A second tab lists open issues nobody is assigned to [NXT-01], from the sources chosen under Next up in Settings: my own repos (`user:<login>`, forks left out), orgs I belong to (picked from `viewer.organizations`), and single repos checked on GitHub [NXT-04]. Each source is its own search, so an issue knows which sources found it and no query outgrows GitHub's length limit; one found by several is listed once. With more than one source, the Filter button on Unclaimed also filters by source, and what I tick is saved in `state.json` [NXT-09]. With no sources chosen, it looks in the configured orgs and repos. With neither, it looks in the GitHub repos of my Paseo projects, listed at each refresh through the app's last connection and kept in `state.json` for refreshes before the app connects; with no projects either, it says where to add some [NXT-08]. Unlike the other searches it isn't about me, so it never runs across all of GitHub. They are ordered by priority, then effort, then age [NXT-02]. Priority and effort are org issue fields named in `config.json`; a value ranks by the configured `order` (matched by name, so "Small" matches "🐇 Small (0.5-2d)") or else by the field's own option order. Issues without a value go last. Each card shows the repo's name and number, its age, and priority, effort and scope as tags with the org's emoji and notes in brackets trimmed; the top two priorities are tinted. An open PR that closes the issue (`closedByPullRequestsReferences`, from the same search) shows as "PR by alice", without changing the order [NXT-10]. The type is a badge tinted with theme colors. **Close issue** in the sheet asks on the card for the reason (completed or not planned) and an optional comment, then runs `gh issue close`; Undo reopens it [NXT-11]. The Filter button on Unclaimed opens a sheet (a dialog on desktop) with a checkbox per source and per scope; ticks apply right away, all are off at first, and what I tick is saved in `state.json` [NXT-03]. **Claim & start** assigns me with `gh issue edit --add-assignee @me`, then starts a "start" session on a new branch [NXT-05]. Each row's sheet shows the issue's PRs, and offers **Claim** without starting, or **Unclaim** (`--remove-assignee @me`) on issues assigned to me; each is the other's Undo [NXT-07].
|
|
99
|
+
|
|
100
|
+
## Actions
|
|
101
|
+
|
|
102
|
+
A card shows its main action and ›. Tapping the card or › opens its **sheet**, a bottom sheet on phones and a dialog on desktop [ATT-06]. When the sheet would hold a single action, as on Waiting and History cards where it's only Open PR (or issue) on GitHub, the card shows that action instead of ›; tapping the card still opens the sheet. History cards also have a copy icon that copies the item's URL [ATT-15]. Top to bottom, the sheet has:
|
|
103
|
+
|
|
104
|
+
1. **What the card knows:** repo#number, its chips, the full quote and the full stack. Each PR in the stack opens on GitHub, so an issue's PRs are a tap away [ATT-12].
|
|
105
|
+
2. **Every action,** each with a line saying what it will do, in one list with no sections. A session action's line asks first: it ends in "…" and opens Options, since the card's button is the one-tap start [SES-01, SES-02]. Once a session of that kind runs, the line opens it instead and shows its state as a badge (working, idle, needs you, failed) [SES-03, ATT-07]. Then Open issue or Open PR on GitHub [ATT-12], with a copy icon at its end that copies the URL without adding a line [ATT-15], a muted "Start a session…" ("Start another session…" once there is one) for a session with no action preset [SES-02], and Dismiss [ATT-08].
|
|
106
|
+
3. **What's fetched when it opens,** in one GraphQL request, so the refresh stays as light as before [GH-01]: the PR's size and the linked issue or PRs, leaving out PRs the stack already shows. It comes last so the actions don't move when it arrives. The description isn't shown; making sense of it takes GitHub anyway.
|
|
107
|
+
|
|
108
|
+
An agent icon (Tabler's `message-ai`, a speech bubble with "AI") marks every action that starts or continues an agent session, marked *(agent)* below; the rest change GitHub right away [ATT-13]. GitHub actions don't ask first, apart from Merge and Close. Instead an Undo row appears, where GitHub can take it back, until I switch tabs [ATT-14].
|
|
109
|
+
|
|
110
|
+
| Action | Shown when | Does |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| Reply ↗ | Mention waiting | Opens the comment on GitHub [ATT-12] |
|
|
113
|
+
| Acknowledge | Mention waiting | Lists every waiting comment in full, rendered as Markdown with Paseo's renderer (cut after whole blocks, up to about 4,000 characters), all ticked; 👍 on the ones I keep ticked (`addReaction`), which clears them [MEN-07]. Undo removes them. |
|
|
114
|
+
| Review *(agent)* | Review requested | Session in a PR checkout using the review profile [SES-01] |
|
|
115
|
+
| Fix CI / Address comments *(agent)* | CI failing / changes requested | Session with the failing log or unresolved threads in the prompt [SES-04] |
|
|
116
|
+
| Rerun failed jobs | CI failing, in the sheet | `gh run rerun --failed` for each failing GitHub Actions run of the PR, or of every PR in its stack. The sheet names the failed checks and how often they were rerun (`gh api …/runs/<id>`), fetched when it opens. Other status checks can't be rerun from here [PRS-09]. |
|
|
117
|
+
| Update branch | Behind with no conflicts, not stacked | `updatePullRequestBranch` (rebase) [UPS-03] |
|
|
118
|
+
| Rebase / Refresh *(agent)* | Conflicts, any stacked PR, stale draft | Agent rebases the PR, or the whole stack with `git rebase --update-refs` [UPS-04]. A clean rebase is pushed with `--force-with-lease` [UPS-06]. After resolving conflicts it stops and explains, and pushes only when I reply "push" in its session [UPS-05]. |
|
|
119
|
+
| Ready for review | My draft with CI not failing, no conflicts, not stale | `markPullRequestReadyForReview` on the bottom PR, then the reviewer picker below; Skip leaves it in *Needs a reviewer*. Undo converts it back to a draft [PRS-11] |
|
|
120
|
+
| Request review | Needs a reviewer | Opens a picker: GitHub's `suggestedReviewers` and the repo's teams (`gh api repos/<repo>/teams`), fetched when it opens; people who reviewed or were asked on my other PRs in the repo, from the last refresh; or any login or `org/team` typed in. Without `read:org` the teams are replaced by a line saying so. Sends `POST …/pulls/<n>/requested_reviewers`, which keeps who's already asked; Undo withdraws them with `DELETE` [PRS-12] |
|
|
121
|
+
| Merge (no reviewer) | Needs a reviewer, CI green on the current base | As Merge below, for repos where nobody reviews [PRS-12] |
|
|
122
|
+
| Auto-merge | Approved, CI running, and the repo allows auto-merge | `enablePullRequestAutoMerge` with the merge method below and the head I saw. The PR then waits in *CI running* with an "auto-merge on" chip; Undo turns it off [PRS-10] |
|
|
123
|
+
| Merge | Approved, CI green on current base | `mergePullRequest` with the repo's method from `config.json`, otherwise the first the repo allows of squash, merge, rebase [PRS-04]. Asks first. |
|
|
124
|
+
| Close draft | Stale draft, in the sheet | `closePullRequest`, with a comment only if I write one [SAFE-01]. Asks first. |
|
|
125
|
+
|
|
126
|
+
A tap starts with defaults. An existing workspace for the branch or PR is resumed instead of creating a new one.
|
|
127
|
+
|
|
128
|
+
While an item has an open session, its main action is **Open session** instead, in every tab [SES-03, ATT-07]. A session belongs to an item when it was started on the item or on any PR under it, and isn't archived; none do once the item is merged or closed. With several, it opens one that needs me, else the most recent. In the sheet each session sits in the line of the action that started it, named after it ("Fix CI", "Rebase stack"), one line per session: a session's kind is saved as the `attention-span-kind` label when it starts. Sessions none of the item's actions would start lead the sheet: those started before kinds were saved, as "Continue session", and those whose action is gone, like Fix CI once checks pass. Next up's sheet does the same with Start: "Claim & start…" or "Start…" until there's a session, then the sessions as "Continue session" and a muted "Start another session…". Collapsed, a stack shows only the PRs that need attention [ATT-04].
|
|
129
|
+
|
|
130
|
+
## Sessions
|
|
131
|
+
|
|
132
|
+
- **Repo to checkout** [SES-05]: match the PR's or issue's repository against the git remotes of registered Paseo projects. Repos without a project can only open GitHub.
|
|
133
|
+
- **Issues kept apart from the code** [SES-07]: an issue starts in the repo `codeRepos` maps its repo to, from that repo's default branch (one `gh repo view`). When neither has a project, Start asks which project holds the code, saves the answer to `codeRepos` and carries on. Claim waits until then, so a start that can't go anywhere doesn't leave the issue taken. The prompt and Claim keep using the issue's own repo.
|
|
134
|
+
- **Workspace**: a worktree with `checkout-pr` for PRs, or `branch-off` from the default branch for issues.
|
|
135
|
+
- **Profile**: looked up per reason in `config.json`, then materialised into `create_agent` from `list_profiles`. A missing `review` profile falls back to `default`; a missing `default` starts the agent with Paseo's defaults. Options ▾ still offers provider and model [SES-06].
|
|
136
|
+
- **Prompt**: a built-in template per session type, filled with the item's context. A template in `config.json` replaces the built-in one [SES-04]. The context is fetched when the session starts, mostly from `gh`'s JSON output: `gh pr checks` and `gh run view --log-failed` for Fix, `gh pr view`/`gh issue view` for Review and Start, one GraphQL query for unresolved threads for Address. Rebase uses the stack already in the item.
|
|
137
|
+
|
|
138
|
+
## Feedback
|
|
139
|
+
|
|
140
|
+
"Enjoying Attention Span?" at the bottom of every tab opens a sheet with three lines [FB-01]:
|
|
141
|
+
|
|
142
|
+
- **Something's wrong…** and **I have an idea…** *(agent)* ask for the first words in the sheet, then start a session with them in the prompt (`shared/feedback.ts`), so the agent's first message is already a follow-up. While one runs, its line becomes Continue, like an item's [SES-03]; the session is labelled with the item key `feedback:problem` or `feedback:idea`.
|
|
143
|
+
- **I'll star it on GitHub** opens the repo on GitHub. No agent.
|
|
144
|
+
|
|
145
|
+
The session runs read-only in the plugin's own installed source, found from the server's location, which is why the npm package ships `requirements.yaml` and this file. It starts in the provider's plan or read-only mode where there is one, with the default profile. Without the source it runs in the home directory and reads the repo through `gh api`. The prompt carries the version (`package.json`, or the commit in a checkout), phone or desktop, theme, tab and a failed refresh's error.
|
|
146
|
+
|
|
147
|
+
The agent asks one question at a time from its kind's checklist, and checks the report against the requirements and docs, `config.json` and `state.json`, and open issues and discussions. A match gets its link and nothing else. It files an issue if a maintainer could finish and close it, otherwise a discussion in Q&A or Ideas, and says which and why. Posts are short up front, with the rest in collapsed `<details>` blocks, in English, in the user's voice, with nothing from their own setup they didn't write. It posts only after Post it in its question tool, or the reply "post" [SAFE-01], then archives itself. The prompts are built in: `config.json` can't replace them, since they carry those rules.
|
|
148
|
+
|
|
149
|
+
## GitHub requests
|
|
150
|
+
|
|
151
|
+
Light on GitHub's API [GH-01], and quick when I press ⟳. Attention Span has two feeds, each with its own cache, schedule and error:
|
|
152
|
+
|
|
153
|
+
- **Live** feeds Doing, Waiting and Next up.
|
|
154
|
+
- **History** feeds History.
|
|
155
|
+
|
|
156
|
+
### Live
|
|
157
|
+
|
|
158
|
+
One GraphQL request per search, sent in parallel. GitHub runs the searches in one request one after another, so a combined request took about 5 seconds where parallel ones take about 2.
|
|
159
|
+
|
|
160
|
+
- `is:pr is:open author:@me` (also asks for the viewer's login, and whether auto-merge is on and allowed)
|
|
161
|
+
- `is:pr is:open user-review-requested:@me` (personal requests only)
|
|
162
|
+
- `is:open mentions:@me updated:>=<30 days ago>` (fetching the description, recent comments, review-thread comments, their IDs for 👍, and `viewerHasReacted`)
|
|
163
|
+
- `is:issue is:open assignee:@me`
|
|
164
|
+
- `is:open involves:@me updated:>=<30 days ago> sort:updated-desc`, 100 at most, issues and PRs with their last 10 conversation comments, as for mentions (for Answered and fresh questions) [ATT-16]
|
|
165
|
+
- `is:issue is:open author:@me commenter:@me sort:updated-desc`, 50 at most, no date limit, the same fields (questions on my own issues nobody answered, however old) [ATT-11]
|
|
166
|
+
- `is:issue is:open no:assignee` (Next up, with issue type and field values; one request per source [NXT-09], skipped when there's nowhere to look [NXT-08]). "My repos" needs my login, taken from the last fetch or asked once with `viewer { login }`
|
|
167
|
+
|
|
168
|
+
Once my PRs and both issue searches are back, one batched **details** request asks for `Ref.compare` behind counts for my PRs, and the option order of org issue fields when Next up needs it. The other searches carry on meanwhile.
|
|
169
|
+
|
|
170
|
+
A live refresh is 8 requests and about 85 points, of the 5,000 GitHub allows per hour. Points depend on how much a query asks for, not how many requests carry it; my PRs (34) and review requests (20) cost the most.
|
|
171
|
+
|
|
172
|
+
### History
|
|
173
|
+
|
|
174
|
+
One request with three searches, each from the Monday `historyWeeks` back: `is:pr is:merged author:@me`, `is:pr is:merged reviewed-by:@me -author:@me`, `is:issue is:closed assignee:@me`. About 1 point.
|
|
175
|
+
|
|
176
|
+
Every search is scoped to the configured orgs and repos; Next up's unclaimed issues as described under Next up.
|
|
177
|
+
|
|
178
|
+
### When
|
|
179
|
+
|
|
180
|
+
It's a digest, not a live view. Opening the screen shows the cache. ⟳ fetches only the feed behind the tab I'm on.
|
|
181
|
+
|
|
182
|
+
| Feed | Fetched |
|
|
183
|
+
|---|---|
|
|
184
|
+
| Live | Every `refreshMinutes` (default 15, at least 5) in the background [FRESH-01], after my own actions, and on ⟳ |
|
|
185
|
+
| History | Once a day in the background, after a merge from Attention Span, and on ⟳ in History. Things I finish outside Attention Span show up by the next day. |
|
|
186
|
+
|
|
187
|
+
A failed refresh is retried at most every 5 minutes. At the default 15 minutes that's about 32 requests and 340 points an hour, about 7% of GitHub's hourly allowance. Actions use GraphQL mutations or `gh`. Session context is fetched only when a session starts, and a sheet's details only when it opens.
|
|
188
|
+
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.client.tsx
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import type { PluginClientContext, PluginScreenProps, PluginSidebarItemProps } from "@getpaseo/plugin/client";
|
|
2
2
|
import { SidebarRow } from "@getpaseo/plugin/client/ui";
|
|
3
|
-
import { Text } from "react-native";
|
|
3
|
+
import { Text, View } from "react-native";
|
|
4
4
|
import { AttentionScreen } from "./client/attention-screen";
|
|
5
5
|
import { CoverageSettings } from "./client/coverage-settings";
|
|
6
6
|
import { useAttention } from "./client/data";
|
|
7
|
+
import { useHostLabel } from "./client/host";
|
|
7
8
|
import { ICONS } from "./client/icons";
|
|
8
9
|
|
|
9
|
-
// The count, visible from anywhere in Paseo [ATT-09].
|
|
10
|
-
function SidebarItem({ theme, currentScreen, openScreen }: PluginSidebarItemProps) {
|
|
10
|
+
// The count, visible from anywhere in Paseo [ATT-09], beside the host's name when there are several [REACH-02].
|
|
11
|
+
function SidebarItem({ theme, host, currentScreen, openScreen }: PluginSidebarItemProps) {
|
|
11
12
|
const { data } = useAttention();
|
|
13
|
+
const hostLabel = useHostLabel(host);
|
|
12
14
|
const count = data?.count ?? 0;
|
|
15
|
+
const muted = { color: theme.colors.foregroundMuted, fontSize: 12 };
|
|
13
16
|
return (
|
|
14
17
|
<SidebarRow
|
|
15
18
|
icon={ICONS.logo}
|
|
@@ -17,8 +20,15 @@ function SidebarItem({ theme, currentScreen, openScreen }: PluginSidebarItemProp
|
|
|
17
20
|
active={currentScreen?.screenId === "attention"}
|
|
18
21
|
onPress={() => openScreen({ screenId: "attention" })}
|
|
19
22
|
trailing={
|
|
20
|
-
count > 0 ? (
|
|
21
|
-
<
|
|
23
|
+
hostLabel || count > 0 ? (
|
|
24
|
+
<View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}>
|
|
25
|
+
{hostLabel ? (
|
|
26
|
+
<Text style={[muted, { maxWidth: 120 }]} numberOfLines={1}>
|
|
27
|
+
{hostLabel}
|
|
28
|
+
</Text>
|
|
29
|
+
) : null}
|
|
30
|
+
{count > 0 ? <Text style={[muted, data?.feeds.live.error ? { color: theme.colors.statusDanger } : null]}>{count}</Text> : null}
|
|
31
|
+
</View>
|
|
22
32
|
) : undefined
|
|
23
33
|
}
|
|
24
34
|
/>
|
package/index.server.ts
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import type { PluginServerContext } from "@getpaseo/plugin/server";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
claimIssue,
|
|
4
|
+
closeIssue,
|
|
5
|
+
closePullRequest,
|
|
6
|
+
mergePullRequest,
|
|
7
|
+
react,
|
|
8
|
+
reopenIssue,
|
|
9
|
+
requestReviewers,
|
|
10
|
+
rerunFailed,
|
|
11
|
+
reviewerChoices,
|
|
12
|
+
setAutoMerge,
|
|
13
|
+
setReady,
|
|
14
|
+
unclaimIssue,
|
|
15
|
+
updateBranch,
|
|
16
|
+
} from "./server/actions";
|
|
3
17
|
import { defaultBranch, sessionContext } from "./server/context";
|
|
4
18
|
import { itemDetails } from "./server/details";
|
|
5
|
-
import {
|
|
19
|
+
import { feedbackInfo } from "./server/feedback";
|
|
20
|
+
import { FIXTURE_CONTEXT, fixtureDetails, fixtureReviewerChoices } from "./server/fixture";
|
|
6
21
|
import { FIXTURE } from "./server/gh";
|
|
7
22
|
import { checkCoverage, configStatus, myOrgs, setupStatus } from "./server/setup";
|
|
8
23
|
import { AttentionService, type Change } from "./server/service";
|
|
@@ -29,6 +44,7 @@ export default function contribute(server: PluginServerContext) {
|
|
|
29
44
|
server.handle(rpc.checkCoverage, ({ kind, name }) => checkCoverage(kind, name));
|
|
30
45
|
server.handle(rpc.setCoverage, ({ orgs, repos }) => ready(() => attention.setCoverage(orgs, repos)).then(() => ({ ok: true as const })));
|
|
31
46
|
server.handle(rpc.setNextUpSources, (sources) => ready(() => attention.setNextUpSources(sources)).then(() => ({ ok: true as const })));
|
|
47
|
+
server.handle(rpc.setFollowThreads, ({ on }) => ready(() => attention.setFollowThreads(on)).then(() => ({ ok: true as const })));
|
|
32
48
|
server.handle(rpc.myOrgs, async () => ({ orgs: await myOrgs() }));
|
|
33
49
|
server.handle(rpc.setScopes, ({ scopes }) => ready(() => attention.setScopes(scopes)).then(() => ({ ok: true as const })));
|
|
34
50
|
server.handle(rpc.setSources, ({ sources }) => ready(() => attention.setSources(sources)).then(() => ({ ok: true as const })));
|
|
@@ -41,10 +57,20 @@ export default function contribute(server: PluginServerContext) {
|
|
|
41
57
|
server.handle(rpc.reopenIssue, ({ key, target }) => act(key, () => reopenIssue(target), null));
|
|
42
58
|
server.handle(rpc.setReady, ({ key, target, ready }) => act(key, () => setReady(target, ready), ready ? chip("ready for review", "good") : null));
|
|
43
59
|
server.handle(rpc.setAutoMerge, ({ key, target, on }) => act(key, () => setAutoMerge(target, on), on ? chip("auto-merge on", "good") : null));
|
|
60
|
+
server.handle(rpc.requestReviewers, ({ key, target, reviewers, on }) =>
|
|
61
|
+
act(key, () => requestReviewers(target, reviewers, on), on ? chip("review requested", "good") : null),
|
|
62
|
+
);
|
|
63
|
+
server.handle(rpc.reviewerChoices, ({ target }) =>
|
|
64
|
+
ready(() => {
|
|
65
|
+
const { recent, login } = attention.reviewers(target.repo);
|
|
66
|
+
return FIXTURE ? Promise.resolve(fixtureReviewerChoices(recent)) : reviewerChoices(target, recent, login);
|
|
67
|
+
}),
|
|
68
|
+
);
|
|
44
69
|
server.handle(rpc.react, ({ key, subjectIds, on }) => act(key, () => react(subjectIds, on), on ? chip("acknowledged", "neutral", "thumbUp") : null));
|
|
45
70
|
server.handle(rpc.rerunFailed, ({ key, repo, runIds }) => act(key, () => rerunFailed(repo, runIds), chip("rerunning")));
|
|
46
71
|
server.handle(rpc.itemDetails, ({ subject, target, checks }) => (FIXTURE ? Promise.resolve(fixtureDetails(subject, target, checks)) : itemDetails(subject, target, checks)));
|
|
47
72
|
server.handle(rpc.defaultBranch, async ({ repo }) => ({ name: FIXTURE ? "main" : await defaultBranch(repo) }));
|
|
73
|
+
server.handle(rpc.feedbackInfo, () => feedbackInfo());
|
|
48
74
|
server.handle(rpc.sessionContext, async ({ kind, target }) => ({ context: FIXTURE ? FIXTURE_CONTEXT : await sessionContext(kind, target) }));
|
|
49
75
|
|
|
50
76
|
return () => attention.stop();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrioid/paseo-attention-span",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "For when your attention is spread thin: the GitHub issues and pull requests waiting on you, grouped by why, with one-tap Paseo sessions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,23 @@
|
|
|
22
22
|
"shared/",
|
|
23
23
|
"!**/*.test.ts",
|
|
24
24
|
"assets/",
|
|
25
|
+
"requirements.yaml",
|
|
26
|
+
"docs/architecture.md",
|
|
27
|
+
"docs/screenshots/desktop-dark-doing-acknowledge.png",
|
|
28
|
+
"docs/screenshots/desktop-dark-doing-issue-sheet.png",
|
|
29
|
+
"docs/screenshots/desktop-dark-doing-reviewers.png",
|
|
30
|
+
"docs/screenshots/desktop-dark-doing-sheet.png",
|
|
31
|
+
"docs/screenshots/desktop-dark-doing-too-long.png",
|
|
25
32
|
"docs/screenshots/desktop-dark-doing.png",
|
|
33
|
+
"docs/screenshots/desktop-dark-history-reviewed.png",
|
|
34
|
+
"docs/screenshots/desktop-dark-history.png",
|
|
35
|
+
"docs/screenshots/desktop-dark-next-up-code-repo.png",
|
|
36
|
+
"docs/screenshots/desktop-dark-next-up.png",
|
|
37
|
+
"docs/screenshots/desktop-dark-settings.png",
|
|
38
|
+
"docs/screenshots/desktop-dark-setup.png",
|
|
39
|
+
"docs/screenshots/desktop-dark-waiting.png",
|
|
26
40
|
"docs/screenshots/phone-dark-doing.png",
|
|
27
|
-
"docs/screenshots/
|
|
41
|
+
"docs/screenshots/phone-light-next-up-filtered.png"
|
|
28
42
|
],
|
|
29
43
|
"scripts": {
|
|
30
44
|
"typecheck": "tsc --noEmit",
|