Repository navigation
fix: show full-pane Unable to load session for inaccessible sessions (AGE-2563) #1092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
govindavashishtha
merged 9 commits into
main
from
govinda/age-2563-for-inaccessilble-sessions-show-full-page-unable-to-load
Oct 21, 2026
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
76a0a37
fix: show full-pane Unable to load session for inaccessible sessions
govindavashishtha 9a429fe
fix(trueforge-ui): clear access-error pane on history pick and ignore…
govindavashishtha 340db66
fix(trueforge-ui): release the boot URL wait when a late session load…
govindavashishtha 1aa0f49
Merge branch 'main' into govinda/age-2563-for-inaccessilble-sessions-…
govindavashishtha 7545806
fix(trueforge-ui): keep session URL sync aligned when a load is aband…
govindavashishtha 9ee6434
test(trueforge-ui): fix inaccessible deep-link URL regression assertion
govindavashishtha 7661130
Merge branch 'main' into govinda/age-2563-for-inaccessilble-sessions-…
govindavashishtha d56074b
Merge branch 'main' into govinda/age-2563-for-inaccessilble-sessions-…
govindavashishtha 67fddb9
Merge branch 'main' into govinda/age-2563-for-inaccessilble-sessions-…
govindavashishtha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@truefoundry/trueforge-ui': patch | ||
| --- | ||
|
|
||
| Show a full-pane "Unable to load session" for inaccessible session deep links and sessions-browser details instead of toasting and redirecting away. |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,17 @@ | ||
| 'use client'; | ||
|
|
||
| import { EmptyScreen } from '../atoms/EmptyScreen.js'; | ||
| import { useOptionalShellMode } from '../server/ShellModeContext.js'; | ||
| import { ComposerContainer } from './ComposerContainer.js'; | ||
| import { ThreadContainer } from './ThreadContainer.js'; | ||
|
|
||
| /** The full assembled thread view: message list + composer. */ | ||
| export function Thread() { | ||
| const shell = useOptionalShellMode(); | ||
| if (shell?.sessionAccessError != null) { | ||
| return ( | ||
| <EmptyScreen title="Unable to load session" description={shell.sessionAccessError} className="bg-primary-bg" /> | ||
| ); | ||
| } | ||
| return <ThreadContainer composer={<ComposerContainer />} />; | ||
| } |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.