@andrioid/paseo-attention-span 0.4.8 → 0.4.10
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 +50 -52
- package/client/card.tsx +34 -11
- package/client/coverage-settings.tsx +36 -1
- package/client/entity.tsx +118 -0
- package/client/feedback.tsx +2 -2
- package/client/icons.ts +5 -0
- package/client/next-up.tsx +145 -74
- package/client/sessions.ts +2 -2
- package/client/sheet.tsx +92 -11
- package/client/ui.tsx +167 -10
- package/docs/architecture.md +16 -9
- package/docs/screenshots/desktop-dark-doing-acknowledge.png +0 -0
- package/docs/screenshots/desktop-dark-doing-clear.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.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.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-too-long.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.server.ts +2 -0
- package/package.json +2 -2
- package/requirements.yaml +8 -5
- package/server/classify.ts +76 -29
- package/server/details.ts +3 -2
- package/server/fixture.ts +34 -10
- package/server/gh.ts +29 -12
- package/server/github-types.ts +19 -2
- package/server/projects.ts +47 -0
- package/server/queries.ts +41 -6
- package/server/rules.ts +10 -15
- package/server/service.ts +138 -22
- package/server/store.ts +15 -4
- package/server/view.ts +7 -2
- package/shared/attention.ts +72 -6
- package/shared/hint.ts +21 -0
- package/shared/opening.ts +31 -0
- package/shared/rpc.ts +5 -1
- package/docs/screenshots/desktop-dark-doing-too-long.png +0 -0
package/client/ui.tsx
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PluginScreenProps } from "@getpaseo/plugin/client";
|
|
2
2
|
import { copyText, Icon, useToast } from "@getpaseo/plugin/client/ui";
|
|
3
|
-
import { createContext, type ReactNode, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
-
import { ActivityIndicator, Animated, Easing, Image, Platform, Pressable, Text, View } from "react-native";
|
|
3
|
+
import { createContext, type ReactNode, type RefObject, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
+
import { ActivityIndicator, Animated, Dimensions, Easing, Image, Platform, Pressable, type StyleProp, Text, View, type ViewStyle } from "react-native";
|
|
5
5
|
import type { Chip } from "../shared/attention";
|
|
6
|
+
import { HINT_GAP, type HintPlacement, hintPlacement } from "../shared/hint";
|
|
6
7
|
import { ICONS, type IconName } from "./icons";
|
|
7
8
|
|
|
8
9
|
// Shared look: theme colors only, tighter on compact layouts [REACH-01].
|
|
@@ -15,6 +16,8 @@ export function makeStyles(theme: Theme, compact: boolean) {
|
|
|
15
16
|
return {
|
|
16
17
|
c,
|
|
17
18
|
compact,
|
|
19
|
+
// Themes don't say whether they're dark; their base surface does. Picks the shade of a color that reads on it.
|
|
20
|
+
dark: (luminance(c.surface0) ?? 0) < 0.5,
|
|
18
21
|
// Action text and icons. The accent is a fill: as text on a dark theme it's 2.5:1; this green is 5–6:1 on every surface.
|
|
19
22
|
action: c.statusSuccess,
|
|
20
23
|
screen: { flex: 1, backgroundColor: c.surface0 },
|
|
@@ -36,6 +39,52 @@ export function makeStyles(theme: Theme, compact: boolean) {
|
|
|
36
39
|
}
|
|
37
40
|
export type Styles = ReturnType<typeof makeStyles>;
|
|
38
41
|
|
|
42
|
+
// "#rgb", "#rrggbb" or "rgb(…)" as 0–255 channels; null for anything else.
|
|
43
|
+
function channels(color: string): [number, number, number] | null {
|
|
44
|
+
const hex = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(color.trim())?.[1];
|
|
45
|
+
if (hex) {
|
|
46
|
+
const full = hex.length === 3 ? [...hex].map((ch) => ch + ch).join("") : hex;
|
|
47
|
+
return [0, 2, 4].map((at) => parseInt(full.slice(at, at + 2), 16)) as [number, number, number];
|
|
48
|
+
}
|
|
49
|
+
const rgb = /^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/i.exec(color.trim());
|
|
50
|
+
return rgb ? [Number(rgb[1]), Number(rgb[2]), Number(rgb[3])] : null;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function luminance(color: string): number | null {
|
|
54
|
+
const rgb = channels(color);
|
|
55
|
+
return rgb ? (0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]) / 255 : null;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// `a` with `share` of it kept and the rest `b`; just `a` when either isn't a color this can read.
|
|
59
|
+
export function mix(a: string, b: string, share: number): string {
|
|
60
|
+
const [x, y] = [channels(a), channels(b)];
|
|
61
|
+
if (!x || !y) return a;
|
|
62
|
+
return `#${x.map((value, i) => Math.round(value * share + y[i] * (1 - share)).toString(16).padStart(2, "0")).join("")}`;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// A fact as an icon half and a value half: the icon, with an optional label, says what the value is, in words on hover and
|
|
66
|
+
// to screen readers. A color softly fills the value half. What goes in one is up to entity.tsx.
|
|
67
|
+
export function Pill({ icon, label, value, color, hint }: { icon: IconName; label?: string; value?: string; color?: string; hint: string }) {
|
|
68
|
+
const styles = useStyles();
|
|
69
|
+
const text = { fontSize: 11, lineHeight: 16 };
|
|
70
|
+
return (
|
|
71
|
+
<Hint text={hint} inline>
|
|
72
|
+
<View accessibilityLabel={hint} style={{ flexDirection: "row", alignItems: "stretch", borderWidth: 1, borderColor: styles.c.border, borderRadius: 999, overflow: "hidden" }}>
|
|
73
|
+
<View style={[styles.row, { gap: 4, paddingLeft: 7, paddingRight: label ? 7 : 6 }]}>
|
|
74
|
+
<TablerIcon name={icon} size={12} />
|
|
75
|
+
{label ? <Text style={[text, { color: styles.c.foregroundMuted }]}>{label}</Text> : null}
|
|
76
|
+
</View>
|
|
77
|
+
{value ? (
|
|
78
|
+
<View style={{ borderLeftWidth: 1, borderLeftColor: styles.c.border, paddingHorizontal: 7, justifyContent: "center" }}>
|
|
79
|
+
{color ? <View style={{ position: "absolute", top: 0, left: 0, right: 0, bottom: 0, backgroundColor: color, opacity: 0.08 }} /> : null}
|
|
80
|
+
<Text style={[text, { color: color ? mix(color, styles.c.foreground, 0.75) : mix(styles.c.foreground, styles.c.foregroundMuted, 0.8) }]}>{value}</Text>
|
|
81
|
+
</View>
|
|
82
|
+
) : null}
|
|
83
|
+
</View>
|
|
84
|
+
</Hint>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
39
88
|
const StylesContext = createContext<Styles | null>(null);
|
|
40
89
|
export const useStyles = () => useContext(StylesContext)!;
|
|
41
90
|
|
|
@@ -71,6 +120,34 @@ export function SpinningIcon({ name, size = 16, color, spinning }: { name: IconN
|
|
|
71
120
|
);
|
|
72
121
|
}
|
|
73
122
|
|
|
123
|
+
// Lines of quiet text that may arrive later keep this height, so a Skeleton can hold their place exactly.
|
|
124
|
+
export const LINE_HEIGHT = 16;
|
|
125
|
+
|
|
126
|
+
// Where lines of text will be once they've loaded: quiet bars, gently pulsing, each the height of the line it stands in for,
|
|
127
|
+
// so nothing moves when the text replaces them. Widths vary so they read as text, not boxes.
|
|
128
|
+
export function Skeleton({ lines, label }: { lines: number; label: string }) {
|
|
129
|
+
const styles = useStyles();
|
|
130
|
+
const pulse = useRef(new Animated.Value(0)).current;
|
|
131
|
+
useEffect(() => {
|
|
132
|
+
const native = Platform.OS !== "web";
|
|
133
|
+
const half = (toValue: number) => Animated.timing(pulse, { toValue, duration: 700, easing: Easing.inOut(Easing.ease), useNativeDriver: native });
|
|
134
|
+
const loop = Animated.loop(Animated.sequence([half(1), half(0)]));
|
|
135
|
+
loop.start();
|
|
136
|
+
return () => loop.stop();
|
|
137
|
+
}, [pulse]);
|
|
138
|
+
if (lines <= 0) return null;
|
|
139
|
+
const opacity = pulse.interpolate({ inputRange: [0, 1], outputRange: [0.5, 1] });
|
|
140
|
+
return (
|
|
141
|
+
<View accessibilityLabel={label} style={{ gap: 10 }}>
|
|
142
|
+
{Array.from({ length: lines }, (_, index) => (
|
|
143
|
+
<View key={index} style={{ height: LINE_HEIGHT, justifyContent: "center" }}>
|
|
144
|
+
<Animated.View style={{ height: 10, borderRadius: 5, width: `${[42, 68, 55][index % 3]}%`, backgroundColor: styles.c.surface2, opacity }} />
|
|
145
|
+
</View>
|
|
146
|
+
))}
|
|
147
|
+
</View>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
74
151
|
// What's loading, with a spinner so it doesn't read as stuck.
|
|
75
152
|
export function Loading({ text }: { text: string }) {
|
|
76
153
|
const styles = useStyles();
|
|
@@ -86,27 +163,106 @@ export function toneColor(styles: Styles, tone: Chip["tone"]): string {
|
|
|
86
163
|
return { good: styles.c.statusSuccess, bad: styles.c.statusDanger, warn: styles.c.statusWarning, neutral: styles.c.foregroundMuted }[tone];
|
|
87
164
|
}
|
|
88
165
|
|
|
89
|
-
// A state that matters, as a colored dot (or its icon) and text.
|
|
90
|
-
export function Signal({ text, tone, icon }: Chip) {
|
|
166
|
+
// A state that matters, as a colored dot (or its icon) and text, explained on hover where it has a hint.
|
|
167
|
+
export function Signal({ text, tone, icon, hint }: Chip) {
|
|
91
168
|
const styles = useStyles();
|
|
92
169
|
const color = toneColor(styles, tone);
|
|
93
|
-
|
|
170
|
+
const signal = (
|
|
94
171
|
<View style={[styles.row, { gap: 5 }]}>
|
|
95
172
|
{icon ? <TablerIcon name={icon} size={13} color={color} /> : <View style={{ width: 7, height: 7, borderRadius: 4, backgroundColor: color }} />}
|
|
96
173
|
<Text style={{ color, fontSize: 12, fontWeight: "500" }}>{text}</Text>
|
|
97
174
|
</View>
|
|
98
175
|
);
|
|
176
|
+
return hint ? (
|
|
177
|
+
<Hint text={hint} inline>
|
|
178
|
+
{signal}
|
|
179
|
+
</Hint>
|
|
180
|
+
) : (
|
|
181
|
+
signal
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Where hints may spread: a card's text column, a sheet's top. Whatever holds it clips what runs past, so a hint stays inside.
|
|
186
|
+
const HintBounds = createContext<RefObject<View | null> | null>(null);
|
|
187
|
+
|
|
188
|
+
export function HintArea({ style, children }: { style?: StyleProp<ViewStyle>; children: ReactNode }) {
|
|
189
|
+
const ref = useRef<View>(null);
|
|
190
|
+
return (
|
|
191
|
+
<HintBounds.Provider value={ref}>
|
|
192
|
+
<View ref={ref} style={style}>
|
|
193
|
+
{children}
|
|
194
|
+
</View>
|
|
195
|
+
</HintBounds.Provider>
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Resting the pointer this long shows a hint, or fetches a card's details ahead; passing over does neither.
|
|
200
|
+
export const REST_MS = 300;
|
|
201
|
+
const HINT_DELAY_MS = REST_MS;
|
|
202
|
+
|
|
203
|
+
// What something means, in words: on hover after a moment, and always to screen readers. It floats over the layout rather
|
|
204
|
+
// than in it, so showing it moves nothing, and it's sized to the room left in its HintArea: beside the content, wrapping
|
|
205
|
+
// upward, or above it where there's too little room beside. Touch has no hover, so there the label is all [ATT-19, ATT-11].
|
|
206
|
+
export function Hint({ text, inline, children }: { text: string; inline?: boolean; children: ReactNode }) {
|
|
207
|
+
const styles = useStyles();
|
|
208
|
+
const bounds = useContext(HintBounds);
|
|
209
|
+
const self = useRef<View>(null);
|
|
210
|
+
const timer = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
|
|
211
|
+
const [placement, setPlacement] = useState<HintPlacement | null>(null);
|
|
212
|
+
useEffect(() => () => clearTimeout(timer.current), []);
|
|
213
|
+
const show = () => {
|
|
214
|
+
clearTimeout(timer.current);
|
|
215
|
+
timer.current = setTimeout(() => {
|
|
216
|
+
self.current?.measureInWindow((x, _y, width) => {
|
|
217
|
+
const place = (left: number, right: number) => setPlacement(hintPlacement(x, width, left, right));
|
|
218
|
+
if (bounds?.current) bounds.current.measureInWindow((left, _top, boundsWidth) => place(left, left + boundsWidth));
|
|
219
|
+
else place(HINT_GAP, Dimensions.get("window").width - HINT_GAP);
|
|
220
|
+
});
|
|
221
|
+
}, HINT_DELAY_MS);
|
|
222
|
+
};
|
|
223
|
+
const hide = () => {
|
|
224
|
+
clearTimeout(timer.current);
|
|
225
|
+
setPlacement(null);
|
|
226
|
+
};
|
|
227
|
+
const where: ViewStyle =
|
|
228
|
+
placement?.side === "beside" ? { left: "100%", marginLeft: HINT_GAP, bottom: -2 } : { left: placement?.offset ?? 0, bottom: "100%", marginBottom: 4 };
|
|
229
|
+
return (
|
|
230
|
+
// Raised while shown: every view is its own layer here, so the words would otherwise sit under whatever follows.
|
|
231
|
+
<View ref={self} accessibilityLabel={text} onPointerEnter={show} onPointerLeave={hide} style={[inline ? null : { alignSelf: "flex-start" }, placement ? { zIndex: 10 } : null]}>
|
|
232
|
+
{children}
|
|
233
|
+
{placement ? (
|
|
234
|
+
<View pointerEvents="none" style={[{ position: "absolute", width: placement.width, alignItems: "flex-start", zIndex: 10 }, where]}>
|
|
235
|
+
<View style={{ backgroundColor: styles.c.surface2, borderColor: styles.c.border, borderWidth: 1, borderRadius: 6, paddingVertical: 2, paddingHorizontal: 8 }}>
|
|
236
|
+
<Text style={{ color: styles.c.foreground, fontSize: 12, lineHeight: 16 }}>{text}</Text>
|
|
237
|
+
</View>
|
|
238
|
+
</View>
|
|
239
|
+
) : null}
|
|
240
|
+
</View>
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// Quiet text that stands out a little within it, like an item's number among its facts.
|
|
245
|
+
export function useStrongText() {
|
|
246
|
+
const styles = useStyles();
|
|
247
|
+
return { color: mix(styles.c.foreground, styles.c.foregroundMuted, 0.85), fontWeight: "500" as const };
|
|
99
248
|
}
|
|
100
249
|
|
|
101
|
-
// The line under a title: facts as quiet text joined by "·", then
|
|
102
|
-
|
|
250
|
+
// The line under a title: what leads it (which item it is, as text), then facts as quiet text joined by "·", then
|
|
251
|
+
// signals [ATT-05].
|
|
252
|
+
export function Meta({ lead, facts, chips }: { lead?: ReactNode; facts: string[]; chips: Chip[] }) {
|
|
103
253
|
const styles = useStyles();
|
|
104
|
-
const quiet = (chip: Chip) => chip.tone === "neutral" && !chip.icon;
|
|
254
|
+
const quiet = (chip: Chip) => chip.tone === "neutral" && !chip.icon && !chip.hint;
|
|
105
255
|
const text = [...facts, ...chips.filter(quiet).map((chip) => chip.text)];
|
|
106
256
|
const signals = chips.filter((chip) => !quiet(chip));
|
|
107
257
|
return (
|
|
108
258
|
<View style={[styles.wrap, { columnGap: 10, rowGap: 4 }]}>
|
|
109
|
-
{text.length ?
|
|
259
|
+
{lead || text.length ? (
|
|
260
|
+
<Text style={styles.muted}>
|
|
261
|
+
{lead}
|
|
262
|
+
{lead && text.length ? " · " : null}
|
|
263
|
+
{text.join(" · ")}
|
|
264
|
+
</Text>
|
|
265
|
+
) : null}
|
|
110
266
|
{signals.map((chip) => (
|
|
111
267
|
<Signal key={chip.text} {...chip} />
|
|
112
268
|
))}
|
|
@@ -202,7 +358,8 @@ export function useCopy() {
|
|
|
202
358
|
);
|
|
203
359
|
}
|
|
204
360
|
|
|
205
|
-
// Choice chips for options and filters:
|
|
361
|
+
// Choice chips for options and filters: tappable, filled when chosen. Next up's fact pills (Pill) aren't tappable, and lead
|
|
362
|
+
// with an icon half instead.
|
|
206
363
|
export function Toggle({ label, active, onPress }: { label: string; active: boolean; onPress: () => void }) {
|
|
207
364
|
const { c } = useStyles();
|
|
208
365
|
return (
|
package/docs/architecture.md
CHANGED
|
@@ -27,7 +27,7 @@ flowchart LR
|
|
|
27
27
|
- Client: one screen and a sidebar header item. React Native primitives only, so it works on phone and desktop [REACH-01].
|
|
28
28
|
- Server: RPC handlers for fetching and for GitHub actions.
|
|
29
29
|
- With several hosts, each runs its own copy, with its own `gh` login, `config.json` and `state.json`. Paseo shows one sidebar row for all of them and switches hosts with the picker in the screen's header; the row follows the host in view, else the one picked last.
|
|
30
|
-
- **GitHub access** goes through the host's existing `gh` login. The plugin stores no token [SEC-01].
|
|
30
|
+
- **GitHub access** goes through the host's existing `gh` login. The plugin stores no token [SEC-01]. Projects need the `read:project` scope, which `gh auth login` doesn't ask for; Next up reads them only once the login has it [NXT-12].
|
|
31
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
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
33
|
- **Local files** live in `~/.config/paseo-attention-span/`:
|
|
@@ -40,7 +40,7 @@ flowchart LR
|
|
|
40
40
|
- optional merge method per repo [PRS-04]
|
|
41
41
|
- `codeRepos`: where an issue repo's code lives, for issues kept in their own repo [SES-07]
|
|
42
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
|
|
43
|
+
- `state.json`: dismissals [ATT-08], the scopes, sources and project statuses ticked in Next up's filter [NXT-03, NXT-09], my Paseo projects' GitHub repos [NXT-08], the update put off with Not now [UPD-01] and the last fetch of each feed, so the screen shows instantly after a restart [PRIV-01].
|
|
44
44
|
|
|
45
45
|
## Tabs
|
|
46
46
|
|
|
@@ -50,10 +50,14 @@ The tabs tell the story of my work, left to right: what I finished, what needs m
|
|
|
50
50
|
|---|---|
|
|
51
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; an issue closed as not planned isn't copied, and PRs that referred to it are listed on their own [HIS-03]. Each card has a plain chip (bug, feature or task) for what kind of work it was, and each copied line leads with its emoji: 🐞, 🚀 or 🔧; a PR of none of those leads with 🔀 and has no chip, an issue of none leads with nothing [HIS-04]. The first of these that names a kind decides: the issue type, the labels (bug beats feature beats task), a Conventional Commit title prefix (`fix:` bug, `feat:` feature, `chore:`, `refactor:`, `docs:`, `build:`, `ci:`, `test:`, `perf:`, `style:` task). Types and labels match only as whole names, ignoring case, emoji and wrappers like `type:` or `kind/`, so "bug", "Type: Bug 🐞" and "kind/bug" count but "not a bug" and "bug bash" don't. Until History is fetched again, what I just finished uses the issue type and title only. |
|
|
52
52
|
| Doing | The sections below |
|
|
53
|
-
| Waiting | My work where someone else has the next move [WAI-01]: *Waiting for review* (while GitHub records a review as owed: a pending request, or an approval or requested changes; or approved but blocked by a repo rule [PRS-13]), *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, and my comments since someone else last spoke ask something: a question mark outside quotes, code and links, read from GitHub's rendered comments (`bodyHTML`) so code and links count however they were written; a statement, tagged or not, waits on nobody and isn't listed): on my own issues however old, on others' only while my comment is within `mentionDays` [ATT-11]. Each shows who it waits on, never a guess [WAI-02]: on a PR, the reviewers currently requested and, after I replied, whoever requested changes, but nobody when a repo rule blocks it; on a question, the people and teams my comments since the last answer tag, read from GitHub's rendered comments (`bodyHTML`), where only real accounts and teams I can see are linked, never in code; tags in quotes don't count, and only the last 10 comments are read. Waiting groups it all by who it waits on, not by those reasons [WAI-01]: one group per person or team (a person tagged with other capitals is one), whoever blocks the most items first, ties by whose oldest item has waited longest, then requested bots, who can't be nudged, and last *Not on a person* for work nobody is on record for. In each group, work with a session that needs me leads, then one that's working, then the rest, oldest first; a finished session I've seen doesn't lift it. Work waiting on several is under each, saying "also waiting on" the rest, and counts once in the tab.
|
|
53
|
+
| Waiting | My work where someone else has the next move [WAI-01]: *Waiting for review* (while GitHub records a review as owed: a pending request, or an approval or requested changes; or approved but blocked by a repo rule [PRS-13]), *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, and my comments since someone else last spoke ask something: a question mark outside quotes, code and links, read from GitHub's rendered comments (`bodyHTML`) so code and links count however they were written; a statement, tagged or not, waits on nobody and isn't listed): on my own issues however old, on others' only while my comment is within `mentionDays` [ATT-11]. Each shows who it waits on, never a guess [WAI-02]: on a PR, the reviewers currently requested and, after I replied, whoever requested changes, but nobody when a repo rule blocks it; on a question, the people and teams my comments since the last answer tag, read from GitHub's rendered comments (`bodyHTML`), where only real accounts and teams I can see are linked, never in code; tags in quotes don't count, and only the last 10 comments are read. Waiting groups it all by who it waits on, not by those reasons [WAI-01]: one group per person or team (a person tagged with other capitals is one), whoever blocks the most items first, ties by whose oldest item has waited longest, then requested bots, who can't be nudged, and last *Not on a person* for work nobody is on record for. In each group, work with a session that needs me leads, then one that's working, then the rest, oldest first; a finished session I've seen doesn't lift it. Work waiting on several is under each, saying "also waiting on" the rest, and counts once in the tab. Each card says why it waits (review, re-review or question; nothing where its chips say, like approved, blocked by repo rules, or CI running) and since when. A group's **Copy list** copies its items oldest first as a Markdown list, each line led by why and how long ("- Review 2h: [title](url)"), for a nudge; a requested bot gets none [WAI-03]. My PRs in Doing that wait on people or teams I asked, approved or not, are listed here too, under each of them [PRS-15]. Once something has waited `waitingTooLongDays` (default 3), its age turns amber with ⌛ and says so on hover, but only where a nudge is fair: not while CI fails or runs, nor with conflicts, changes to make or a reply I owe (`nudgeable` in `server/rules.ts`) [ATT-11]. In Doing, one person shows by name, several by picture, named on hover and in the sheet. |
|
|
54
54
|
| Next up | *Assigned to you* [NXT-06], then *Unclaimed* [NXT-01] |
|
|
55
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
|
|
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 the item's number, its repo (the name brighter than the owner, which my own repos leave out) [ATT-20], when it happened and signal chips, then content only some lists have (pills, 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. How an item itself is shown, its number and repo and an issue's pills, lives in `client/entity.tsx` (`PlaceText`, `IssuePills`, `ProjectPill`, `FieldPill`, GitHub's option colors), so cards and sheets compose the same pieces rather than format their own; `client/ui.tsx` keeps the generic ones (`Meta`, `Pill`, `Signal`).
|
|
57
|
+
|
|
58
|
+
A sheet shows what the card knows on top, in the same pieces as the card, then every action, then what's fetched when it opens (a PR's size, linked PRs or issues). So the sheet doesn't change once open, a tapped card fetches them first and opens its sheet when they're in, with a spinner in place of › meanwhile (`useSheetOpener` in `client/sheet.tsx`); resting the pointer on a card for 300 ms fetches them ahead, best effort, and they stay fresh for a minute, so the card and its sheet share one query. Past 1.5 s the sheet opens anyway, and `Skeleton` bars hold the room of the lines the card expects, at the lines' own height: one for the size of the PR its actions apply to, one per open PR a Next up issue is known to have. An issue's sheet lists only its open PRs, as its card knows them. A failed fetch opens the sheet with its error line. Any other dialog appearing (an action's picker, Filter, feedback) takes over from a card still waiting, as every dialog is the plugin's `Modal` wrapper in `client/sheet.tsx` [ATT-06, GH-01].
|
|
59
|
+
|
|
60
|
+
Something whose meaning isn't obvious, like a face on a card or an amber age, explains itself with `Hint` in `client/ui.tsx` [ATT-19, ATT-11]: its text is the screen-reader label, and on desktop it shows after a 300 ms rest of the pointer. It floats over the layout rather than in it, so showing it moves nothing, and it's sized to the room left in the nearest `HintArea` (a card's text column, a sheet's top), beside its content and wrapping upward, or above it where there's too little room beside. A chip takes one through `hint`.
|
|
57
61
|
|
|
58
62
|
Screenshots, from the preview's made-up data, are in [screenshots/](screenshots/). Refresh them with `npm run screenshots`.
|
|
59
63
|
|
|
@@ -74,7 +78,6 @@ Top to bottom. Each item appears once, under its most urgent reason [ATT-02]. `s
|
|
|
74
78
|
| Changes requested | My PRs with requested changes or unresolved threads [PRS-02] |
|
|
75
79
|
| Ready to merge | My approved PRs without conflicts or failing checks, that GitHub's rules let me merge [PRS-03, PRS-13] |
|
|
76
80
|
| 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
81
|
| Needs a reviewer | My PRs nobody has been asked to review, even while CI runs [PRS-12]. Only what GitHub records counts as asked: a pending request, an approval or requested changes. GitHub drops a reviewer's request once they review, so a review that only commented, by a person or a bot, leaves it here to re-request; the repo, not us, decides whose approval counts |
|
|
79
82
|
| My drafts | My drafts, with their own state tags [PRS-05, PRS-06] |
|
|
80
83
|
|
|
@@ -93,13 +96,17 @@ Top to bottom. Each item appears once, under its most urgent reason [ATT-02]. `s
|
|
|
93
96
|
2. a stacked PR no longer builds on its parent's head,
|
|
94
97
|
3. it is ready to merge (CI ran against an old base).
|
|
95
98
|
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.
|
|
96
|
-
- **Repo rules** [PRS-13]: GitHub's `mergeStateStatus` says whether branch protection and rulesets let a PR merge now, but not which rule blocks it. Approvals already show in `reviewDecision`, conflicts in `mergeable`, and running CI blocks too, so a block only counts as a rule's when none of those explain it: an approved PR without conflicts, failing checks, requested changes or running CI. It then waits in Waiting for review with a "blocked by repo rules" chip, no Merge and no person, and never
|
|
99
|
+
- **Repo rules** [PRS-13]: GitHub's `mergeStateStatus` says whether branch protection and rulesets let a PR merge now, but not which rule blocks it. Approvals already show in `reviewDecision`, conflicts in `mergeable`, and running CI blocks too, so a block only counts as a rule's when none of those explain it: an approved PR without conflicts, failing checks, requested changes or running CI. It then waits in Waiting for review with a "blocked by repo rules" chip, no Merge and no person, and its age never turns amber: there's nobody to nudge. Needs a reviewer offers Merge only when GitHub doesn't say blocked. `UNKNOWN` (not computed yet) decides nothing. GitHub works out the merge state for at most five PRs per request; asked about more, through search, a repo's PR list or aliases alike, it says `BLOCKED` for all of them (seen 2026-11-04). So the state is asked five PRs per request, in parallel, and search's answer is only the fallback when a request fails.
|
|
97
100
|
- **Required checks** [PRS-14]: the details request asks which checks on each of my PRs the repo requires (`isRequired`). Where some are required, only they count: failing optional checks leave the PR ready with an "optional checks failing" chip, and optional ones still running don't hold up Merge. A required check that hasn't reported yet isn't listed, so GitHub blocking while CI runs counts as CI running. Where none are required, every check counts.
|
|
98
101
|
- **Stale draft** [PRS-07]: a draft untouched for 30 days offers Refresh and Close instead of Rebase.
|
|
99
102
|
|
|
100
103
|
## Next up
|
|
101
104
|
|
|
102
|
-
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
|
|
105
|
+
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 in the issue's own org, as two orgs may order a Priority field differently. Issues without a value go last. Each card shows the issue's number and repo, its age, then pills, each an icon half and a value half: the projects it's on with its Status there (a board icon and the project's name), then priority (flag), effort (weight) and scope (layers), values with the org's emoji and notes in brackets trimmed. Pointing at a pill names it ("Priority: P1 High"), and the sheet lists each by name, as phones can't point. Status and priority get a soft fill in the color GitHub has for the option, drawn in GitHub's shade for a dark or light theme (told by the theme's base surface); GRAY is what an option looks like with no color chosen, so it's left plain. Where an org colored none of its priorities, the top two are warm and accent instead. 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, per project and per scope; ticks apply right away, all are off at first, and what I tick is saved in `state.json` [NXT-03]. Each project the unclaimed issues are on lists every option of its Status field under it, in the board's order with its color, dimmed where no unclaimed issue has it, plus *No status* where some issue on it has none; *No project* comes last. Ticking a project ticks all its statuses; ticking some shows it partly ticked. An issue shows when any of its projects' ticks is on.
|
|
106
|
+
|
|
107
|
+
**Projects** [NXT-12] are the open org or user projects an issue's on (`projectItems`, the first 10, archived items left out), with the value of the board's built-in Status field. Boards the token can't see, like an SSO org's, come back empty and are left out. When GitHub cuts the list short and none of the first 10 is open, the issue's boards are unknown: no pill, and a project filter hides it rather than call it on no project. Each board's Status options come once per board, in their own request after the searches (`projectStatusesQuery`), so a board that can't be read costs only its statuses in the filter.
|
|
108
|
+
|
|
109
|
+
Projects are extra, so they never cost the searches they ride on (`server/projects.ts`). They need `read:project`, and without it GitHub fails the whole search, so the server first asks a one-line probe (`viewer { projectsV2(first: 1) }`), at most hourly and for 10 s at most, and adds the `projects` fragment to Next up's two searches only when the probe actually lists projects. Whatever then goes wrong with a search that reads them (GitHub failing it, answering without its results, whatever the words, or taking over 20 s), it's sent again without, and Settings says why. The boards' statuses get 20 s per batch of 50 boards too, so nothing about projects can hold up the refresh. Settings › Next up fields has a **Projects** row, asked again each time Settings opens: On; with a `gh` login missing the scope, the `gh auth refresh -s read:project` command with Copy command; with a token from `GH_TOKEN` or `GITHUB_TOKEN`, which `gh` reads first, the permission to give it (`read:project` classic, *Projects: read* fine-grained) and a daemon restart; otherwise GitHub's own words. While on, what went wrong reading them on the last refresh, like boards an org's SSO hides, shows as "On, but GitHub said: …" until a refresh reads them cleanly. Doing, Waiting and History never read projects: the pills are about picking work up. **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].
|
|
103
110
|
|
|
104
111
|
## Actions
|
|
105
112
|
|
|
@@ -179,9 +186,9 @@ One GraphQL request per search, sent in parallel. GitHub runs the searches in on
|
|
|
179
186
|
- `is:issue is:open assignee:@me`
|
|
180
187
|
- `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]
|
|
181
188
|
- `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]
|
|
182
|
-
- `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 }`
|
|
189
|
+
- `is:issue is:open no:assignee` (Next up, with issue type and field values, and projects when the login may read them [NXT-12]; 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 }`
|
|
183
190
|
|
|
184
|
-
Once my PRs and both issue searches are back, one batched **details** request asks for `Ref.compare` behind counts for my PRs, the open issues their descriptions refer to (at most 100), and the option order of org issue fields when Next up needs
|
|
191
|
+
Once my PRs and both issue searches are back, one batched **details** request asks for `Ref.compare` behind counts for my PRs, the open issues their descriptions refer to (at most 100), and the option order and colors of org issue fields when Next up needs them [NXT-02, NXT-10]. The other searches carry on meanwhile.
|
|
185
192
|
|
|
186
193
|
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.
|
|
187
194
|
|
|
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.server.ts
CHANGED
|
@@ -53,6 +53,8 @@ export default function contribute(server: PluginServerContext) {
|
|
|
53
53
|
server.handle(rpc.myOrgs, async () => ({ orgs: await myOrgs() }));
|
|
54
54
|
server.handle(rpc.setScopes, ({ scopes }) => ready(() => attention.setScopes(scopes)).then(() => ({ ok: true as const })));
|
|
55
55
|
server.handle(rpc.setSources, ({ sources }) => ready(() => attention.setSources(sources)).then(() => ({ ok: true as const })));
|
|
56
|
+
server.handle(rpc.setProjectFilter, ({ projects }) => ready(() => attention.setProjectFilter(projects)).then(() => ({ ok: true as const })));
|
|
57
|
+
server.handle(rpc.projectsAccess, () => ready(() => attention.projectsAccess(true)));
|
|
56
58
|
server.handle(rpc.updateBranch, ({ key, target }) => act(key, () => updateBranch(target), chip("updating")));
|
|
57
59
|
server.handle(rpc.mergePullRequest, ({ key, target }) => act(key, () => mergePullRequest(target), { kind: "finished" }));
|
|
58
60
|
server.handle(rpc.closePullRequest, ({ key, target, comment }) => act(key, () => closePullRequest(target, comment), { kind: "gone" }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrioid/paseo-attention-span",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
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": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"docs/screenshots/desktop-dark-doing-issue-sheet.png",
|
|
30
30
|
"docs/screenshots/desktop-dark-doing-reviewers.png",
|
|
31
31
|
"docs/screenshots/desktop-dark-doing-sheet.png",
|
|
32
|
-
"docs/screenshots/desktop-dark-
|
|
32
|
+
"docs/screenshots/desktop-dark-waiting-too-long.png",
|
|
33
33
|
"docs/screenshots/desktop-dark-doing.png",
|
|
34
34
|
"docs/screenshots/desktop-dark-history-reviewed.png",
|
|
35
35
|
"docs/screenshots/desktop-dark-history.png",
|
package/requirements.yaml
CHANGED
|
@@ -27,7 +27,7 @@ functional:
|
|
|
27
27
|
ATT-07: see whether an item already has a Paseo session and what its agent is doing; so that I don't start duplicate work.
|
|
28
28
|
ATT-08: dismiss an item until something new happens on it; so that FYIs stop taking up space.
|
|
29
29
|
ATT-09: notice how many items need me from anywhere in Paseo; so that I don't have to open Attention Span to check.
|
|
30
|
-
ATT-11: see work
|
|
30
|
+
ATT-11: see in Waiting which work has waited on others for too long, marked on its age and explained when I point at it, only where a nudge is fair (not while the next step is mine or CI is still running), and on my own issues however long ago that was; so that stalled work gets nudged, while Doing keeps only what I can act on.
|
|
31
31
|
ATT-12: open any item on GitHub; so that I can do what Attention Span doesn't cover.
|
|
32
32
|
ATT-13: tell at a glance which actions start an agent session and which change GitHub right away; so that I know what a tap will do.
|
|
33
33
|
ATT-14: undo a change on GitHub right after making it, where GitHub allows; so that a mis-tap costs nothing without confirming every action.
|
|
@@ -36,6 +36,7 @@ functional:
|
|
|
36
36
|
ATT-17: choose to follow threads I've commented on, so recent replies after mine there show without a tag, off by default; so that surfacing other people's threads is my choice, and the list stays signal, not noise.
|
|
37
37
|
ATT-18: see a calm, restful scene in Doing when nothing needs me, only once a refresh has confirmed it; so that a clear list feels like rest rather than a blank page, and calm never stands in for a check that failed or hasn't run.
|
|
38
38
|
ATT-19: tell at a glance what each person shown on an item is to it: someone I'm waiting on, who opened it, or whose comments are left to address, with an icon by their picture and the meaning in words when I point at it; so that a face and a time never leave me guessing.
|
|
39
|
+
ATT-20: tell which item a card is on every tab by its number first, then its repository with the repository's name standing out from its owner, which my own repositories leave out; so that cards from several repositories scan without reading each one in full.
|
|
39
40
|
mentions:
|
|
40
41
|
As a developer, I can:
|
|
41
42
|
MEN-01: see open threads where a person mentioned me and is still waiting for my response; so that I only hear about mentions when someone is waiting for me.
|
|
@@ -64,7 +65,7 @@ functional:
|
|
|
64
65
|
PRS-12: see my pull requests that nobody has been asked to review, and ask people or teams from there, or merge where nobody reviews; so that work doesn't sit as "waiting" when nobody has the next move.
|
|
65
66
|
PRS-13: see an approved pull request that the repo's rules still block as waiting, without Merge; so that Merge is offered only when GitHub would allow it.
|
|
66
67
|
PRS-14: have checks the repo doesn't require not hold up a pull request, where the repo requires others; so that a failing or slow optional check doesn't keep finished work from shipping.
|
|
67
|
-
PRS-15: see on my pull requests in Doing whom I asked to review and who hasn't yet, approved or not; so that I know someone I wanted to read it still hasn't before I merge or move on.
|
|
68
|
+
PRS-15: see on my pull requests in Doing whom I asked to review and who hasn't yet, approved or not, and find those pull requests in Waiting under each of them too; so that I know someone I wanted to read it still hasn't before I merge or move on, and can nudge them.
|
|
68
69
|
upstream:
|
|
69
70
|
As a developer, I can:
|
|
70
71
|
UPS-01: see my pull requests that conflict with their base; so that pull requests needing updates from upstream are easy to fix.
|
|
@@ -84,22 +85,24 @@ functional:
|
|
|
84
85
|
SES-06: start sessions even when no agent profiles are configured; so that Attention Span works before I've set anything up.
|
|
85
86
|
SES-07: start a session on an issue in the repository its code lives in, chosen right there the first time; so that issues kept in a separate repository work without editing files.
|
|
86
87
|
SES-08: see sessions started outside Attention Span on the item of the pull request their workspace is linked to, or of the session whose worktree they share, as "Continue session"; so that I don't start duplicate work.
|
|
88
|
+
SES-09: tell sessions reviewing someone else's pull request from work on my own in Paseo's sidebar, by a name like "Review PR 123: title"; so that I know which kind of work a workspace holds.
|
|
87
89
|
next_up:
|
|
88
90
|
As a developer, I can:
|
|
89
91
|
NXT-01: see open issues nobody is assigned to, apart from the work that needs me; so that I can get an idea of what to do next.
|
|
90
92
|
NXT-02: see unclaimed issues ordered by priority, then effort, then age; so that the most important quick wins come first.
|
|
91
|
-
NXT-03: filter unclaimed issues by scope, and have my choice remembered; so that I only see work I'd pick up.
|
|
93
|
+
NXT-03: filter unclaimed issues by scope, and by project and its statuses, each project's statuses listed under it in the board's order, with issues on no project or without a status as choices of their own, and have my choice remembered; so that I only see work I'd pick up.
|
|
92
94
|
NXT-04: choose in the app where unclaimed issues come from (my own repositories, organizations I belong to, or single repositories) and choose which issue fields the list uses, with fields named Priority, Effort and Scope used until I do; so that the plugin can be used elsewhere without editing files.
|
|
93
95
|
NXT-05: claim an issue and start a session on it in one step; so that teammates see it's taken and I can start right away.
|
|
94
96
|
NXT-06: see issues assigned to me before unclaimed ones; so that I finish what I've taken before picking more.
|
|
95
97
|
NXT-07: claim an issue without starting a session, and give back one assigned to me; so that what I've taken matches what I'll do.
|
|
96
98
|
NXT-08: see unclaimed issues from the repositories of my Paseo projects when I haven't chosen any; so that Next up is useful without setup and never fills with strangers' issues.
|
|
97
99
|
NXT-09: filter unclaimed issues by where they came from, and have my choice remembered; so that I can focus on one source at a time.
|
|
98
|
-
NXT-10: see on each issue its repository, priority, effort and scope at a glance, and whether an open pull request already closes it and by whom; so that I can judge whether to pick it up without opening it.
|
|
100
|
+
NXT-10: see on each issue its repository, its projects with their status, and its priority, effort and scope at a glance, each a pill whose icon says what it is, named in words when I point at it and in the sheet, with status and priority softly in the color GitHub has for them (none for gray, and the top two priorities warm and accent where the org colored none), and whether an open pull request already closes it and by whom; so that I can judge whether to pick it up without opening it.
|
|
99
101
|
NXT-11: close an issue from Next up as completed or not planned, with an optional comment, and undo it; so that work that's done or won't be done stops being suggested.
|
|
102
|
+
NXT-12: see which open GitHub projects my Next up issues are on, and where on each board, once my gh login may read projects, with Settings saying the one command that allows it until then; so that I know whether work is planned or just an idea, without Next up breaking for anyone who hasn't allowed it.
|
|
100
103
|
waiting:
|
|
101
104
|
As a developer, I can:
|
|
102
|
-
WAI-01: see my work that is waiting on others, grouped by who it waits on with whoever blocks the most first, bots after people, and work no person holds up last, each group with work that has an active session first, and each card saying why it waits and for how long, including
|
|
105
|
+
WAI-01: see my work that is waiting on others, grouped by who it waits on with whoever blocks the most first, bots after people, and work no person holds up last, each group with work that has an active session first, and each card saying why it waits and for how long, including my pull requests in Doing that wait on whom I asked, where a pull request waits for review only once someone has been asked, and a thread only once my last words ask a question; so that I know that work is tracked and who is blocking me most.
|
|
103
106
|
WAI-02: see who my waiting work waits on: reviewers I asked, reviewers who asked for changes and people I tagged in my unanswered question, and nobody where none of those apply; so that I know whom to nudge without guessing.
|
|
104
107
|
WAI-03: copy the list of my work waiting on one person or team, oldest first, each line a Markdown link led by why and for how long, like "Review 2h: [title](link)"; so that nudging them is one paste they can skim.
|
|
105
108
|
history:
|