Make TrueForge UI mobile-friendly - #897
Open
govindavashishtha wants to merge 9 commits into
Open
govindavashishtha wants to merge 9 commits into
govindavashishtha wants to merge 9 commits into
Conversation
- Introduced a mobile-friendly sidebar layout with a Claude-style navigation drawer. - Added a DesktopOnlyNotice component to inform users when accessing Sessions and Schedules on mobile devices. - Updated the AgentDetailsPage to conditionally render the DesktopOnlyNotice based on the mobile viewport. - Modified ShellActions and ThreadListContainer to support mobile-specific actions and visibility. - Adjusted SidebarLayout to display a notice for desktop-only features when viewed on mobile. This update improves user experience on mobile devices while maintaining desktop functionality.
🦋 Changeset detectedLatest commit: 26eba25 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 |
- Made the sidebar layout mobile-friendly with a Claude-style navigation drawer. - Added a desktop-only notice for Build Agent, Sessions, and Schedules on small screens. - Ensured user message actions remain visible on touch devices, while maintaining hover-only behavior on larger screens. - Updated the Agents listing to display as cards on mobile devices for improved usability. These changes enhance the mobile user experience while preserving desktop functionality.
- Added 'panel-left' icon to the IconRegistry for improved icon availability. - Updated SidebarLayout to use 'panel-left' icon in the mobile navigation button, enhancing the user interface for mobile users.
govindavashishtha
marked this pull request as ready for review
September 29, 2026 06:50
govindavashishtha
requested review from
kumarsks619,
qaifi-tf,
sajal-truefoundry,
sayan-truefoundry and
vinit-truefoundry
as code owners
September 29, 2026 06:50
… library state - Modified the rendering of the count label in the AgentsLibraryButton component to apply a different text color when the library is closed, enhancing visual feedback for users.
- Introduced `isMobileNavDrawerOpen` utility function to check if the mobile navigation drawer is open. - Updated `AgentsLibrary`, `AgentDetailsPage`, and `SettingsBuilder` components to prevent the escape key from closing their respective dialogs when the mobile nav drawer is open. - Enhanced `SidebarLayout` to ensure proper handling of the escape key event for mobile navigation. These changes improve user experience by ensuring that the mobile navigation drawer can be closed without unintentionally dismissing other dialogs.
- Updated DrawerLayout to conditionally exit create-agent mode only when dismissing the mobile Build Agent notice, preventing unintended closure of dialogs during desktop interactions. - Added a new test case to ensure that the agent builder remains open when the "Back to chat" action dismisses schedules on desktop, enhancing user experience and interaction consistency. These changes improve the handling of user actions across different device types.
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 ac5db63. Configure here.
…friendly Co-authored-by: Cursor <cursoragent@cursor.com>
govindavashishtha
enabled auto-merge (squash)
October 4, 2026 18:11
This branch has not been deployed
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
Makes the sidebar layout usable on small screens with a Claude-style mobile nav drawer, and gates desktop-only surfaces (Build Agent, Sessions, Schedules) behind an informational notice while keeping chat history deep links working.
Closes #AGE-2380
Changes
/build-agent,/sessions,/schedules,/sessions/share/:id, and Agent Details Sessions/Schedules tabs on mobile (URL unchanged;/sessions/:idstill opens chat)sidebarBgto#FDFEFFHow was this tested?
pnpm --filter @truefoundry/trueforge-ui exec vitest runfor SidebarLayout / routing / AgentDetailsPage suitespnpm --filter @truefoundry/trueforge-ui typecheckpnpm --filter @truefoundry/trueforge-ui lintChecklist
pnpm build,pnpm test,pnpm typecheck,pnpm lint:ci, andpnpm format:checkpass locallypackages/trueforge-sdk,python/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 changedMade with Cursor