Skip to content

feat(github-projects): render Board project views as a kanban with drag-and-drop - #19074

Merged
nwparker merged 11 commits into
stablyai:mainfrom
NaoyaTatetsu:feat/github-project-board-view
Oct 6, 2026
Merged

nwparker merged 11 commits into
stablyai:mainfrom
NaoyaTatetsu:feat/github-project-board-view

Conversation

@NaoyaTatetsu

@NaoyaTatetsu NaoyaTatetsu commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

GitHub Projects has a kanban-style Board view. Orca previously grayed the Board tab out with "unsupported" — now it renders real columns (one per Status option, with colored dots and counts) and you can drag a card between columns to change its status, exactly like on github.com.

What Changed

  • Board-layout views render as a kanban instead of the unsupported-layout error. Columns derive from the view's configured verticalGroupByFields; the renderer falls back to the Status field (then any single-select) for cached or config-less views.
  • Column semantics match github.com: every single-select option gets a column in option order — empty ones included; rows pointing at a deleted option keep their own labeled, non-droppable column; a trailing "No <field>" column holds unset rows, and dropping there clears the field. Iteration fields get one column per iteration. Bucketing reuses the table view's grouping (groupRowsByField, extracted from groupRows), so board and table order and label groups identically.
  • Drag-and-drop moves cards through the exact same field-mutation path the table's Status cell uses (optimistic update + rollback on failure). Same-column drops are no-ops; restricted items aren't draggable.
  • Drops commit from a document-level capture listener, not React onDrop: Orca's preload stops every native drop with stopPropagation before it reaches React's root (the native file-drop bridge), so React drop handlers never fire — the same pattern the workspace kanban uses. Drag-cancel (Esc / drop outside) clears the column hover highlight via dragend.
  • Main process: the views query now selects verticalGroupByFields, with a per-host retry that drops the selection when an older GHES schema rejects it — one unknown field must not break every project view on that host. The layout gate stays an allowlist (table + board + roadmap); unknown future layouts still reject cleanly. Default view fallback is table → roadmap → board.
  • Cards show the item-type glyph, #number, two-line clamped title, repo, and assignee avatars; clicking a card opens the existing item dialog.

Why

Board is the most requested Projects layout (#9943 has help wanted plus several closed duplicates), and with Table and Roadmap (#17795) already rendering, it was the last first-class layout Orca couldn't show. Deriving columns from verticalGroupByFields uses GitHub's own board configuration instead of guessing, and reusing the table's grouping and mutation paths keeps the three views consistent rather than forking per-view logic.

Linked Issue

Fixes #9943

Visual Proof

Same 12-item project before and after, so the shots can be tab-switched.

Before — Board tab disabled (table shown, hover card explains):

Before: table view with disabled Board tab and hover card

After — Board renders as a kanban (Status columns with colored dots and counts):

After: kanban board with status columns

After — drop-target highlight while dragging a card over In Progress:

After: drop-target column highlighted mid-drag

Testing

  • Unit: 8 tests on the shared column module — vertical-field preference, Status/single-select fallback, option-order columns with empty ones, deleted-option ghost columns, no-value trailing column, iteration columns, read-only non-select buckets.

  • Component: 7 tests on ProjectBoard — column rendering, drop moves via onEditField, no-op drop suppression, clear-on-no-value-drop, dialog open, restricted-item labeling, hover-highlight cleanup on dragend/payload-less drops, fallbacks and empty states.

  • Updated the layout-gate tests: board now fetches items like a table; unknown future layouts still reject with the count-only query.

  • Gates: pnpm tc, changed-file code-quality gate, and all three localization gates pass locally.

  • Manually verified on macOS (dev app, CDP-driven): board rendering on two real projects (12-item sample and a 65-item project with four custom Status columns), then a full drag round-trip — card dragged In Progress → Done updated optimistically and flipped the Status on github.com (confirmed via API), then dragged back.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Implemented with Claude Code (Fable 5); design decisions, review, and manual verification by the author.

Review

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

This PR imports a ProjectBoard renderer that is not part of the diff — and does not exist anywhere in the repository — so pnpm tc and the renderer build will both fail. The board layout support this PR describes is incomplete until that component lands.

Reviewed changes

  • Board layout allow-listing — BOARD_LAYOUT joins TABLE_LAYOUT/ROADMAP_LAYOUT in getProjectViewTable, the picker rows, the tab strip, and the unsupported-layout copy, so board views now fetch items on the same path as tables.
  • verticalGroupByFields fetch with a GHES fallback — the views GraphQL query requests the board column field, retries without it on hosts whose schema predates it, and surfaces it as the optional GitHubProjectView.verticalGroupByFields.
  • Shared grouping helper — groupRowsByField extracts the table groupBy bucketing for reuse by the board renderer, alongside the EMPTY_PROJECT_GROUP_KEY sentinel export.

⚠️ The GHES fallback path is untested

The capability-tracking and retry in project-view-config.ts is the only genuinely new failure-handling behavior in this PR, and it has no test. Its whole job is to prevent one unknown-field error from breaking every project view on a host, and a false positive in errorsIndicateVerticalGroupBy would silently drop the field for that host with no observable signal.

Technical details
# GHES verticalGroupByFields fallback is untested

## Affected sites
- src/main/github/project-view/project-view-config.ts:51 — `hostsWithoutVerticalGroupBy` module-level Set (never reset; not exported for test control)
- src/main/github/project-view/project-view-config.ts:59 — `errorsIndicateVerticalGroupBy` string match on `stdout\nstderr`
- src/main/github/project-view/project-view-config.ts:120 — retry-without-field branch

## Required outcome
- A test exercising `fetchProjectViewsPage` (with `runGraphql` stubbed) that returns an unknown-field error mentioning `verticalGroupByFields` on the first call, and asserts the retry omits the selection and the view finalizes with `verticalGroupByFields` absent.

## Open questions for the human
- Is the `'verticalGroupByFields'` substring match intended to be this loose? A unit test would pin the exact error shape it must match.

ℹ️ Nitpicks

  • The old Board (unsupported) key ProjectPicker.d34ef9b554 is now unreferenced in source but still present in en.json and every non-English locale — consider removing it in the catalog sync.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@coderabbitai

coderabbitai Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 2c3303f6-eca9-4008-847c-cda9287910ce

📥 Commits

Reviewing files that changed from the base of the PR and between c0450b1 and 3cfbaa0.

📒 Files selected for processing (5)
  • src/main/ai-vault-search/session-search-store.ts
  • src/renderer/src/components/github-project/ProjectViewStates.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/shared/github/project-types.ts
  • src/shared/source-scan/source-tree-walk.test.ts
💤 Files with no reviewable changes (1)
  • src/shared/source-scan/source-tree-walk.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/renderer/src/i18n/locales/en.json

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The change adds board-layout support to project views. GraphQL fetching now handles hosts without verticalGroupByFields and normalizes board grouping data. Board layouts are selectable, supported in fallback logic, and rendered through ProjectBoard. Grouping utilities expose reusable field grouping. UI states, picker labels, localized messages, and tests now cover board views.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 3cfba

No concrete merge-blocking risk remains. The board label uses the repository’s expected localization key format, and the formatting-only database change does not introduce a lint failure.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning Most changes support issue #9943. src/main/ai-vault-search/session-search-store.ts contains an unrelated formatting-only rewrite of the files() query chain. This change has no connection to GitHub… Revert the unrelated formatting-only changes in src/main/ai-vault-search/session-search-store.ts.
Docstring Coverage ⚠️ Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 28 functions across 16 files. (1 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: rendering GitHub Project Board views as kanban boards with drag-and-drop support.
Description check ✅ Passed The description follows the required template and includes the change summary, rationale, linked issue, visual proof, testing details, AI disclosure, compatibility notes, and completed checklist items…
Linked Issues check ✅ Passed Issue #9943 requires Board views grouped by a single-select field and drag-and-drop updates. The PR adds shared field resolution with configured grouping, Status, and single-select fallbacks. It build…
Full details: Out of Scope Changes check

Explanation

Most changes support issue #9943. src/main/ai-vault-search/session-search-store.ts contains an unrelated formatting-only rewrite of the files() query chain. This change has no connection to GitHub Projects Board views. src/shared/source-scan/source-tree-walk.test.ts changes only whitespace, so it has no functional scope impact.

Full details: Docstring Coverage

Explanation

Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 28 functions across 16 files. (1 skipped: 1 unsupported.)


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/renderer/src/components/github-project/ProjectPickerPanels.tsx (1)

139-139: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use an intent-named localization ID for the new Board label.

Board is a newly added user-facing string, but this change adds another auto.<hash> ID. Use an intent-named ID and add or update the matching catalog entry. Keep existing hash-based IDs only for grandfathered strings.

Based on learnings: “For newly added user-facing strings in stablyai/orca TypeScript and TSX files, follow config/i18n-translation-source.md: use intent-named localization IDs with named interpolation placeholders. Treat existing hash-based IDs as grandfathered, and do not require SHA-1-derived IDs for new strings.”

Source: Learnings


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: e547d3c7-b0e5-40ba-a802-6ecf3356d4ad

📥 Commits

Reviewing files that changed from the base of the PR and between f952f1a and 9ed3cb6328bfe27dd08cf371ed9c5fda3119b82c.

📒 Files selected for processing (9)
  • src/main/github/project-view/project-view-config.ts
  • src/main/github/project-view/project-view-table.test.ts
  • src/main/github/project-view/project-view-table.ts
  • src/renderer/src/components/github-project/ProjectPickerPanels.tsx
  • src/renderer/src/components/github-project/ProjectViewStates.tsx
  • src/renderer/src/components/github-project/ProjectViewWrapper.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/shared/github/project-group-sort.ts
  • src/shared/github/project-types.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Board-layout views render as a kanban. Columns come from the view's
verticalGroupByFields (the host retries without the selection on older
GHES schemas and the renderer falls back to the Status field), with one
column per single-select option in option order — empty ones included —
plus a trailing no-value column whose drop clears the field. Card drops
reuse the table's field mutation path, committed from a document-level
capture listener because the preload's native-drop bridge stops drop
events before React's root ever sees them.

Co-Authored-By: Claude Fable 5 <[email protected]>
@NaoyaTatetsu
NaoyaTatetsu force-pushed the feat/github-project-board-view branch from 9ed3cb6 to 4926288 Compare September 6, 2026 14:46
@NaoyaTatetsu NaoyaTatetsu changed the title Add board layout support for GitHub project views feat(github-projects): render Board project views as a kanban with drag-and-drop Sep 6, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/renderer/src/components/github-project/ProjectBoard.tsx (1)

109-112: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use intent-named localization IDs for new board strings.

The new strings use auto.* IDs. The current renderer workflow requires intent-named IDs. Use named interpolation fields instead of value0 and value1.

  • src/renderer/src/components/github-project/ProjectBoard.tsx#L109-L112: Replace the auto ID with an intent-named board grouping-fallback ID.
  • src/renderer/src/components/github-project/ProjectBoardCard.tsx#L25-L26: Replace the auto ID with an intent-named restricted-item ID.
  • src/renderer/src/components/github-project/ProjectBoardCard.tsx#L46-L50: Replace the auto ID and positional placeholders with an intent-named card-label ID and named values such as issueNumber and title.

Based on learnings: Newly added user-facing TypeScript and TSX strings must use intent-named localization IDs with named interpolation placeholders.

Source: Learnings


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 130eb2c6-36ec-4d95-8ddb-82e0b4c22f49

📥 Commits

Reviewing files that changed from the base of the PR and between 9ed3cb6328bfe27dd08cf371ed9c5fda3119b82c and 4926288.

📒 Files selected for processing (5)
  • src/renderer/src/components/github-project/ProjectBoard.test.tsx
  • src/renderer/src/components/github-project/ProjectBoard.tsx
  • src/renderer/src/components/github-project/ProjectBoardCard.tsx
  • src/shared/github/project-board-columns.test.ts
  • src/shared/github/project-board-columns.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes — since the prior review, the board renderer itself landed:

  • ProjectBoard + ProjectBoardCard components — the previously-missing renderer is now in the PR, closing the BOARD_LAYOUT branch that the wrapper already referenced. Column resolution, drop-to-move (via a document capture listener), and restricted/draft card states are all implemented.
  • project-board-columns.ts shared column logic — resolveBoardColumnField and buildBoardColumns derive columns deterministically, with deleted-option "ghost" columns and a trailing no-value column whose drop clears the field.
  • Tests — project-board-columns.test.ts (8) and ProjectBoard.test.tsx (7) cover column construction, drop semantics (move / no-op / clear), and fallback behavior with exact assertions.

The prior blocking finding (missing ProjectBoard component) is addressed: pnpm run typecheck passes and the new test suites pass.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

Review follow-up. The verticalGroupByFields capability probe now matches
parsed GraphQL error messages instead of substring-scanning the whole
response body — partial-error responses echo the field name as a data key
on healthy schemas, so one SAML/FORBIDDEN partial error could permanently
degrade github.com boards for the session. Covered by new
project-view-config tests per the capability-cache testing contract.

Also: only single-select/iteration vertical fields shape columns (a
drifted field kind no longer yields a clear-on-drop no-value column),
optimistic patches resolve the column field through the board/group
config, drag cleanup moved to a document-level dragend listener, the
column dot follows dark mode via the chip CSS variables, the supported-
layout allowlist is a single shared predicate, and the board's edit
handler is stable so its drop listener stops re-registering per render.

Co-Authored-By: Claude Fable 5 <[email protected]>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes — since the prior review, a follow-up commit hardened the capability probe and drop lifecycle, and closed the last open item (GHES fallback coverage):

  • Hardened the GHES capability probe — errorsIndicateVerticalGroupBy now parses GraphQL error messages via extractGraphqlErrors instead of substring-matching the raw stdout/stderr, removing the false-positive path where a partial-error body echoes verticalGroupByFields as a plain data key and silently degrades the host.
  • Added tests for the fallback — project-view-config.test.ts covers the retry-without-field path, per-host memoization, unrelated-failure passthrough, and the partial-error guard, plus finalizeView vertical-field normalization.
  • Extracted a shared layout allowlist — isRenderableProjectViewLayout now gates the host allowlist, tab strip, and picker in one place so a future GitHub layout rejects consistently.
  • Fixed the drop lifecycle — a document-level dragend listener clears the column highlight when a mid-drag re-render detaches the source card or a drag is cancelled (Esc/drop outside), replacing the card-level onDragEnd.
  • Memoized onEditField — the wrapper passes a stable callback so ProjectBoard's moveRow memoization holds and its document listeners don't re-register on every wrapper render.
  • Broadened the optimistic field lookup — optimisticFieldValueFromMutation searches verticalGroupByFields/groupByFields too, so board drops patch correctly-named chips.
  • Guarded board column resolution — resolveBoardColumnField accepts only single-select/iteration vertical fields, falling back to Status for a drifted non-select field.

The prior blocking finding (missing ProjectBoard) was already resolved, and the prior ⚠️ finding (untested GHES fallback) is now covered by the new test suite. Ran project-view-config.test.ts (6), project-board-columns.test.ts (9), and ProjectBoard.test.tsx (7) — all 22 pass.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes — since the prior review, a merge of main resolved the branch against main's grouping/sorting refactor:

  • Merged main (precomputed field-order index) — src/shared/github/project-group-sort.ts now builds a createFieldOrderIndex Map (id → position) once per group/sort field and looks option/iteration order up by id, replacing the per-row findIndex/find scans.
  • Threaded the order index through groupRowsByField — the board's bucketing helper computes groupOrderIndex once and passes it into getFieldValueForGrouping; iteration metadata is read back via iterations[idx], which is equivalent to the prior find and keeps board/table ordering identical.

The conflict resolution is behavior-preserving: pnpm tc passes and all three suites (project-view-config.test.ts 6, project-board-columns.test.ts 9, ProjectBoard.test.tsx 7) pass.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@Dacadev97

Copy link
Copy Markdown
Contributor

Ran a deep automated review over this PR (high effort). Three correctness findings worth fixing before merge, plus a few smaller cleanliness notes.

Correctness

  1. src/main/github/project-view/project-view-config.ts:262 — The GHES verticalGroupByFields incapability is tracked in a bare, unbounded Set<string> with no expiry and no in-flight-probe dedup, even though CapabilityProbeCache (src/shared/capability-probe-cache.ts) already exists for exactly this pattern (probe once, remember absence, dedupe concurrent probes, retry after an interval). Once a host's first probe is misclassified as lacking the field, it's permanently downgraded for the process's lifetime — even across a GHES upgrade that later adds the field. Only the test-only resetVerticalGroupByCapabilityForTests() clears it.

  2. src/main/github/project-view/project-view-config.ts:275 — Schema-incapability detection substring-matches the literal field name inside a parsed GraphQL error message ((error.message ?? '').includes('verticalGroupByFields')) instead of a structured error code. An unrelated error (permission/SAML/rate-limit) whose message happens to quote that field text would falsely and permanently mark a fully-capable host as incapable, combined with finding 1's lack of expiry.

  3. src/shared/github/project-board-columns.ts:1464 — resolveBoardColumnField's fallback (when verticalGroupByFields is absent) picks the grouping field via a hardcoded /^status$/i name match, then arbitrary singleSelects[0]. A project whose status-equivalent field is renamed (e.g. "State") or localized, on a host lacking verticalGroupByFields, falls through to whichever single-select happens to be first — which need not match the field github.com actually groups by, producing a different column layout than the real board.

Smaller notes

  1. ProjectBoardCard.tsx:941 reimplements the restricted-item rendering (Lock icon + "Restricted item" text) that ProjectCellIdentity.tsx's ProjectTitleCell already provides, under a second, differently-keyed translation string. A future copy/a11y fix to the table/roadmap cell would silently miss the board card.
  2. src/main/ai-vault-search/session-search-store.ts:8 has a purely cosmetic extra-parens reformat with no connection to this feature — unrelated to the Board-view scope, worth dropping from the diff.
  3. Old translation keys (ProjectPicker.d34ef9b554 "Board (unsupported)", ProjectViewStates.ac83c45672, ProjectViewStates.e4cc8b14f2) are left orphaned in en.json after their call sites were rewritten — dead catalog weight, not currently referenced anywhere.

Nothing here changes the overall shape of the approach — it's a solid, well-scoped feature. Happy to help verify a fix for any of these.

@nwparker

nwparker commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This is very cool

Thanks for always making cool PRs @NaoyaTatetsu
If I take time to review, please don't hesitate to ping me directly here or Discord
I eventaully do see those!

@nwparker

nwparker commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Reviewed adversarially, pushed fixes, and merged as 635e7f53cb7240dbb899811130fa2be55aa74740. The final reviewed head was ff8f0da35af13146d4ee4c1a942b69c3d4ff4d1a; all 22 merged changed-file blob hashes match that revision.

Fixed findings:

  • Overlapping board moves could race on GitHub, and failure rollback could overwrite a newer field/content edit. Shared table/board field writes now preserve immediate optimistic feedback, serialize each source/project/row/field across views, and roll failures back to the last confirmed field value. Transport exceptions now return an error envelope and roll back. A regression also confirmed that switching cached views during three failed writes could restore an optimistic value; refresh baselines now track each cache independently, and that test fails before the fix and passes afterward.
  • The GHES capability fallback previously cached any error mentioning verticalGroupByFields, including authorization failures. It now requires an unknown-field diagnostic and avoids re-probing a known unsupported host.
  • Unfiltered empty boards incorrectly blamed the filter. They now reuse the existing empty-state component. Restricted drop payloads are rejected, handler-less boards are read-only, and non-select empty buckets cannot clear fields.
  • New copy uses named localization IDs; cards use documented surface and typography tokens.

Verification on the final source:

  • 188 focused unit/component tests passed, including schema fallback, grouping, source/host routing, overlapping writes, duplicate clears, transport failure, refresh protection between queued edits, serialization across project views, host isolation, restricted/deleted-option drops, and preload capture propagation.
  • pnpm tc, changed-code quality, and localization catalog/runtime/extraction gates passed. A final recheck caught a settings-projection type mismatch in the follow-up; e1471b268e09 corrects the helper signature, and the full typecheck plus 17 mutation/source-routing tests pass on that revision.
  • Full native-plugin and anti-slop audits passed. CI caught two dynamic Reflect.get reads in the new E2E spec; 4c756ef27f5c replaces them with typed main-process test state and verifies the exact update and clear IPC requests. The fresh rendered test passes after that correction.
  • Production Electron/renderer and CLI builds passed.
  • Added tests/e2e/github-project-board.spec.ts: entered Tasks → Projects, dragged a card Todo → Done through the actual preload IPC boundary, checked same-column no-op, cleared into No Status with simulated latency/failure, observed optimistic placement and rollback/error toast, and verified vertical scrolling with 41 rows plus horizontal scrolling across ten columns.
  • Inspected the rendered dark/light, rollback, and scrolling screenshots. The app was hidden throughout; CDP identity matched this worktree.

Scope of evidence: the Electron test uses deterministic main-process GitHub IPC responses; it does not write a real user's project. Existing main-process field mutation tests cover the GraphQL path, and a read-only live schema query confirmed verticalGroupByFields exists on github.com. Linux/Windows rendered behavior remains for CI; the changes introduce no OS-specific branches. The repository-wide optional E2E typecheck still reports unrelated pre-existing diagnostics; none point to the new spec.

Final integration verification: merged main c0b07d3a71d3, resolved the sole conflict in the English catalog by retaining both sets of strings, then reran all 188 focused tests, full typecheck, changed-code quality, localization catalog/extraction gates, and a fresh production Electron/CLI build plus rendered board test. All passed; the final rollback screenshot was inspected again. The intervening main commit changed tests/workflows and only a comment in product code.

Hosted CI limitation: main has no required status-check rules. The final hosted PR runs ended before creating any jobs; GitHub reports a likely workflow-file issue (run). Merge used the passing local verification and an exact-head guard; this is not a claim of green hosted CI.

Before the move (dark):
Board before moving the card

After the failed clear: the card remains in Done and the error is visible:
Board rollback

Light theme:
Board in light theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support Board (kanban) layout for GitHub Projects v2 views

3 participants