Enhance scheduling features in trueforge-ui - #533
Merged
Conversation
🦋 Changeset detectedLatest commit: d37edd2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…ort. Update Agents Library to display schedules count with a badge and integrate schedule management features. Introduce reusable TableTokenPagination component for improved pagination handling. Refactor URL handling for schedule filters and implement tests for new functionalities.
…schedule management - Bump @truefoundry/assistant-ui-runtime to version 0.1.24 across multiple packages. - Introduce new components for displaying the last five schedule run statuses. - Implement functionality to trigger manual schedule runs and display their statuses. - Update OpenAPI documentation and TypeScript SDK to reflect changes in the schedule run API. - Add tests for new schedule run features and ensure compatibility with existing components.
govindavashishtha
marked this pull request as ready for review
September 2, 2026 06:41
govindavashishtha
requested review from
bhaveshpatel640,
chiragjn,
debajyoti-truefoundry,
heerambavi1998,
kumarsks619,
qaifi-tf,
sajal-truefoundry,
sayan-truefoundry,
sr07asthana,
thesujai and
vinit-truefoundry
as code owners
September 2, 2026 06:41
Co-authored-by: Cursor <cursoragent@cursor.com>
Published runtime now exports schedule-run DTOs and paginated listSchedules so trueforge-ui typecheck/build can succeed. Co-authored-by: Cursor <cursoragent@cursor.com>
Close the drawer on schedules open, focus the dropdown once per open, toast pause/delete failures, ignore stale list responses, drain agent pages for filters/forms, and keep pagination when client filters empty. Co-authored-by: Cursor <cursoragent@cursor.com>
harshil-2096
approved these changes
Sep 2, 2026
Preserve custom cron semantics, prevent stale schedule metadata from rendering, and centralize repeated UI helpers found during review. Co-authored-by: Cursor <cursoragent@cursor.com>
Restore an in-UI path back to chat for compact layouts and let narrow tables size to their content. Co-authored-by: Cursor <cursoragent@cursor.com>
govindavashishtha
enabled auto-merge (squash)
September 2, 2026 10:35
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d37edd2. Configure here.
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.

Summary
Closes #
Changes
How was this tested?
Checklist
pnpm build,pnpm test,pnpm typecheck,pnpm lint:ci, andpnpm format:checkpass locallypackages/trueforge-sdk,.github/fern/openapi/openapi.json,docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge.env.exampleupdated if configuration or behavior changedNote
Medium Risk
New schedule CRUD and on-demand runs touch agent execution and MCP auth flows; routing/shell overlay changes affect navigation across layouts but are mostly additive behind optional
schedulesserver support.Overview
Adds scheduled agent runs end-to-end in
@truefoundry/trueforge-ui: a Scheduled Agents surface at/schedules(routing + shell overlay), sidebar Schedules nav, SDK-backedScheduleServeradapter, and public exports for schedule UI pieces.The schedules experience includes token-paginated listing, popover filters (agent, status, name search with URL share params), create/edit in a responsive side drawer, and row actions (Run now, pause/resume, delete). New schedules are saved paused, then a Test Schedule step shows cadence/MCP connect status, Run Test, and Activate Anyway. The table shows last five run status chips (manual/cron) loaded per visible page.
Agents Library is reworked as a table with optional Schedules column (batched counts, amber warning when any are paused); clicking opens schedules filtered for that agent. Shared Table, PopoverSelect, and SideDrawer primitives support this and session filters; DropdownMenu now portals via shared
themePortalRootso menus aren’t clipped in overflow tables.Also bumps
@truefoundry/assistant-ui-runtimeto0.1.25, sets Google Sans as the defaulttrueforgetheme font (loaded when styles inject), refreshes nav icons, and allowsvendor/*.tgzin.gitignore.Reviewed by Cursor Bugbot for commit d37edd2. Bugbot is set up for automated code reviews on this repo. Configure here.