Repository navigation
feat(app-shell): workbench home 「My tasks」 lists the open tasks assigned to me - #39909
Merged
Merged
Conversation
The page the built-in workbench app's Home menu entry mounts, drawn in the app shell from the retired desktop home's sections: greeting and summary, an ask-AI slot, today's three columns (my tasks / awaiting approval / notifications), recents, the empty environment's add-app entries, and from 1280 px a right rail with my apps and add app. The ask-AI slot and the task column are their own modules for #39878 and #39873 to fill. Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
…; main column fills when no rail Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
Matches the workbench menu order (Home, Approvals, Tasks, Notes) the maintainer asked for in #39896: approvals, then my tasks, then notifications. Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
…to claude/project-thread-83uvs3
From 1280 px the page is one four-track grid: Today's three columns and the 「My apps」 rail each take a track, so the rail is exactly a Today column wide. Side by side, the Today columns stretch to one height of at least a header and three rows, and 「My apps」 is at least that tall, so the first row's tops and bottoms line up whether a column is empty or full. 「Add app」 is its own card, and the rail no longer repeats the doors the empty environment expands in the main column. 「Recently accessed」 appears with its first item instead of an empty strip. Home's activity card and the connect-assistant card take the same card shell as the others. Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
…igned to me Shorter empty line so it fits the 40 px notice row in every locale. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4EjjN5S3W2nBRhkt287wh
…omeRecentRows Claude-Session: https://claude.ai/code/session_01Q4EjjPnSQ8vC4cCFntmXL7 Co-authored-by: Claude <noreply@anthropic.com>
…to claude/project-thread-83uvs3
…-83uvs3 # Conflicts: # ui/packages/app-shell/src/console/workbench/WorkbenchHomePage.tsx # ui/packages/app-shell/src/console/workbench/WorkbenchTaskColumn.tsx # ui/packages/app-shell/src/console/workbench/__tests__/WorkbenchHomePage.test.tsx # ui/packages/i18n/src/locales/ar.ts # ui/packages/i18n/src/locales/de.ts # ui/packages/i18n/src/locales/en.ts # ui/packages/i18n/src/locales/es.ts # ui/packages/i18n/src/locales/fr.ts # ui/packages/i18n/src/locales/ja.ts # ui/packages/i18n/src/locales/ko.ts # ui/packages/i18n/src/locales/pt-BR.ts # ui/packages/i18n/src/locales/ru.ts # ui/packages/i18n/src/locales/zh-Hans.ts # ui/packages/i18n/src/locales/zh-Hant.ts
Contributor
Author
|
repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV L1: ACCEPT at head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Jack · project thread
Refs #39873
Built on the workbench home (#39895, #39883, merged):
origin/mainis merged into this branch, so the diff is this column alone.What changes
The workbench home's 「My tasks」 column (
WorkbenchTaskColumn, the slot #39895 left for it) now lists the open tasks assigned to the signed-in person instead of a single link:sys_task, read with theassigned_to_melist view's own filter (assignee_id= me,statusnotdone), ordered by due time. The column orders the rows itself as well, dated tasks first, soonest first, so a task with no due time cannot crowd out a dated one on a driver that sorts empty values first.MY_WORK_ROWS, as the approvals and notifications columns), each with the due time as relative text in the display locale (「明天」, "in 5 days"); an overdue task reads 「已逾期 · 前天」 / "Overdue · 2 days ago" in the destructive colour. A row opens the task record, 「View all」 opens theassigned_to_melist, both in the app the home is open in.ColumnBodyrules). A caller who may not readsys_taskis asked nothing and keeps the old single line that opens the list, with no count.sys_taskwrite anywhere in the console (completing, reassigning, the coming quick-add) re-reads the column in place (useDataInvalidation('sys_task')).workbench.tasks.empty / overdue / untitled) in the 11 packs; zh-Hant regenerated withgen-zh-hant.mjs.Outside the column file, deliberately small: the home page test's task-column case now asserts the list (it pinned "claims no count"), and one sentence of the home page's module comment that said the column reads nothing.
Not in this PR
Why
Phase 1 MVP of the workbench epic #39871: the home's three today columns cannot ship without 「My tasks」 (card revision 2026-12-06: list only, overdue in red, a row opens the task record).
Verification
pnpm --dir ui exec vitest run packages/app-shell/src/console/workbench/— 3 files, 22 tests pass (newWorkbenchTaskColumn.test.tsx: theassigned_to_mefilter, ordering and overdue, the total in the pill, row and View all routes, loading before the empty line, a failed read never reads as empty, no read without the grant, re-read on asys_taskchange dropping a completed task).@object-ui/app-shelland@object-ui/i18ntype-check(src + tests) exit 0; eslint on the changed files 0 errors.check:i18n-keys,check:i18n-drift,check:i18n-dead-keys,check:i18n,check:i18n-coverage,check:i18n-stale-fill,check:i18n-walk-parity,check:test-source-alias,check:new-line-citations(0 new) pass.os dev(showcase, verify tree = this branch + feat(workbench): the built-in Workbench app (工作台), served by os dev and os serve #39896's head merged locally, not pushed; Console fromui/source over Vite, proxied to the server), signed in as the seeded admin with six tasks seeded through the API (overdue, tomorrow, in 5 days, in 12 days, no due time, one done):/apps/com.objectstack.workbench/sys_task/record/…; View all opens/apps/com.objectstack.workbench/sys_task/view/assigned_to_me.Overlap: #39908 (the ask-AI box, built on #39895 too) edits
WorkbenchHomePage.test.tsxand the same 11 locale packs; a trial merge of the two heads is text-clean. Re-run the workbench tests on the merged tree after whichever lands first.Clause-②: no
Metadata-protocol: none
Human Minimum
packages/specholds no runtime logic. (nopackages/specchange)pnpm lintpasses.main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4EjjN5S3W2nBRhkt287wh