mintree 0.3.0 → 0.3.1

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.
@@ -278,6 +278,10 @@ const BOOTSTRAP_QUERY = /* GraphQL */ `
278
278
  key
279
279
  name
280
280
  }
281
+ project {
282
+ id
283
+ name
284
+ }
281
285
  state {
282
286
  id
283
287
  name
@@ -433,9 +437,18 @@ export class LinearProvider {
433
437
  const orderedStates = teamEntry?.states ?? [];
434
438
  const statusOrder = wi.state?.id ? orderedStates.findIndex((s) => s.id === wi.state?.id) : -1;
435
439
  const teamName = teamEntry?.team.name ?? wi.team?.name ?? teamKey;
440
+ // Issues may or may not be assigned to a Linear project. When they
441
+ // are, suffix the group header so issues from the same team but
442
+ // different projects render as separate sections — keeps things
443
+ // scannable when one team contributes to many projects.
444
+ const projectName = wi.project?.name;
445
+ const projectTitle = projectName ? `${teamName} — ${projectName}` : teamName;
446
+ // Keep the URL pointed at the team page rather than the project
447
+ // page — the team view is the consistent landing spot regardless
448
+ // of whether an issue happens to be on a project.
436
449
  const projectUrl = `https://linear.app/${cfg.workspaceSlug}/team/${teamKey}`;
437
450
  result.set(wi.identifier, {
438
- projectTitle: teamName,
451
+ projectTitle,
439
452
  projectUrl,
440
453
  projectNumber: 0,
441
454
  status: wi.state?.name ?? null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mintree",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Issue-driven git worktrees + Claude Code sessions for repos with an opinionated SDD+TDD flow.",
5
5
  "license": "MIT",
6
6
  "author": "Martin Mineo <mmineo@canarytechnologies.com>",