Skip to content

fix(linear): correct milestone % and draw Linear status glyphs - #34

Merged
jappyjan merged 9 commits into
feat/linearfrom
fix/linear-issues-qa
Nov 18, 2026
Merged

jappyjan merged 9 commits into
feat/linearfrom
fix/linear-issues-qa

Conversation

@jappyjan

@jappyjan jappyjan commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Milestone progress from Linear is 0-100 but the contract and clients read 0..1, so any milestone at 1% or more showed 100% and sat under Completed. The adapter now divides by 100 (regression test fails on base). Project progress is unchanged.

Issue states now carry optional type, color and startedFill (additive, git hosts unaffected). The Linear adapter fills them; the fill of a started state is (index+1)/(count+1) among its team's started states, from one cached workspace query. Web (SVG) and iOS/Android (react-native-svg) draw the same shared glyph shapes from packages/client-runtime/src/issueStateGlyph.ts.

QA fixes on top:

  • Relation row labels no longer use plain circles that looked like status icons.
  • The issue detail now shows Linear's priority (web and mobile). It was in the contract but rendered nowhere.
  • The browse breadcrumb wraps instead of squeezing the current level to nothing in a narrow list pane.
  • Load errors on the Issues page said "Could not load pull requests"; they now say what failed.

Review fixes (seven parallel reviews, each finding checked against the code):

  • Started-state fills are read across every page (a team cut off part-way got wrong fills), and a failed read is no longer cached for 5 minutes as "no fills".
  • The Linear context chip draws the same Linear glyphs (records now keep Linear's workflow type; agent markdown is unchanged).
  • Parent, sub-issue and blocked-by/blocking rows on web name their state (tooltip and accessible label).
  • "Blocking" no longer uses a circle icon. The issue key on web and the state name on mobile no longer wear the old green/violet next to a Linear glyph.
  • Issue error states show an issue icon instead of a pull request icon. Long ancestor crumbs truncate instead of overflowing a narrow pane.
  • Mobile's priority row reads "High priority" (mobile rows have no label column). The web glyph follows the theme preview like other appearance-aware code.
  • Tests: started-state paging across teams, the failed-read retry, an unknown Linear workflow type, and the milestone % label rounding.

Verified against a mock Linear server (web, light and dark, 390 px and desktop): milestone % (M1 75, M2 86, M3 50, M4 83, M5 67, M6 63, M7 60, M8 20, M10 0, M9 100 under Completed), glyphs in lists, detail header and relations, git-hosts toggle off opens on Linear's teams, deep link and reload mid-drill, API-down error with Retry and recovery, Start chat on an unbound team, git-host rows keep their old icons.

Not verified: iOS simulator (no cached dev client, no Xcode or EAS login on the Linux host, and the Mac host cannot see this checkout), Android, Run pipeline, real Linear data. Playwright browser tests fail on this host (GLIBC_2.43). i18n:check reports a missing mobile "Pipelines" key that predates this branch.

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL labels Nov 17, 2026
jappyjan and others added 9 commits November 17, 2026 20:47
…s carry type, colour and fill

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abels looking like status circles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eadcrumb wrap so the current level stays visible

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ncate in narrow panes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, neutral state text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jappyjan
jappyjan force-pushed the fix/linear-issues-qa branch from 201e4cc to 5630672 Compare November 17, 2026 19:59
@jappyjan
jappyjan marked this pull request as ready for review November 18, 2026 10:15
@jappyjan
jappyjan merged commit 187e97f into feat/linear Nov 18, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant