Repository navigation
feat(dsh): embed existing Dashboard in right sidebar - #2589
Merged
Merged
Conversation
knqiufan
force-pushed
the
codex/dsh-dashboard-embed
branch
from
November 11, 2026 11:05
9fcb7a9 to
702d093
Compare
knqiufan
marked this pull request as ready for review
November 11, 2026 11:06
knqiufan
requested review from
AlexStocks,
PsiACE,
frostming and
zhanghuidinah
as code owners
November 11, 2026 11:06
hidb4ai
previously requested changes
Nov 11, 2026
hidb4ai
left a comment
Contributor
There was a problem hiding this comment.
The embedded sign-in failure below needs fixing.
Merge readiness also needs attention: #2569 is now squash-merged into master, but this PR still targets codex/dsh-plugin-ui-status. Against master 923e3d4, git merge-tree reports 11 conflicted files. Please retarget/update the branch and resolve those conflicts. The Main workflow only runs for PRs targeting master; this head currently has only the CLA result, so CLEAN against the old target does not establish readiness for master.
knqiufan
force-pushed
the
codex/dsh-dashboard-embed
branch
from
November 12, 2026 01:26
702d093 to
deb7dac
Compare
hidb4ai
dismissed
their stale review
November 12, 2026 15:25
Re-reviewed deb7dac: the reported loopback login issue is fixed, the PR now targets master without merge conflicts, and current-head CI passes. Withdrawing the obsolete blocking review; this is not an approval.
hireview001
approved these changes
Nov 12, 2026
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.
Which issue or RFC does this PR close?
Refs #2514 and RFC #2528 (task 2). Builds on #2569, which is included in
masteras05a50973.Rationale for this change
Users can open the existing PowerContext Dashboard from a DSH conversation and work in the right panel. The Dashboard keeps its own sign-in, permissions, and write confirmations.
What changes are included in this PR?
127.0.0.1and Dashboard onlocalhostcannot keep the strict sign-in cookie in the iframe. The panel explains how to align the addresses and offers Open in browser for the same Scope.Are there any user-facing changes?
Path: DSH PowerContext control → Open Dashboard → right Browser panel. Disabled Dashboard, rejected credentials, unresolved Scope, and load failures show separate guidance. The plugin does not enable Dashboard or relax authentication. A Server configured with Dashboard and a custom authentication Provider rejects that combination at startup.
How was this change tested?
powercontext-dsh-0.1.0.tgz(SHA-25648f14e44b77636fbc521415e8ecbaf689fd92e478b2d9989a2d6697385386418) in DSH Web0.2.2-rc.1against a token-protected local Server. With127.0.0.1andlocalhost, the panel showed address guidance, did not open the iframe, kept the API ready, and offered a link whose top-level sign-in preserved the Scope. With both onlocalhostand different ports, the right iframe displayed the sign-in form with the selected Scope. This run stopped at the form.0.2.2-rc.1rendered the Dashboard in their respective containers. Checks included no-token embedding, fresh token sign-in, two Scope selections, disabled Dashboard with healthy API, navigation, language/theme, narrow layout, and Desktop Browser load failure. A real Uvicorn startup rejected the custom Provider and Dashboard combination before binding a port. See the acceptance record for the archive, release, and scenario details.pnpm test:all(538), release archive build and install/load check, Dashboard Python tests (88),make check, andmake docs-testpassed.Acceptance limits: The released host automatically selected or restored a conversation, so the no-selection path was covered by a behavior test. The Desktop Plugins main view did verify the Browser-unavailable fallback without adding a session. The Desktop dual-session run selected genuine sessions using the host's persisted selection and a renderer reload. Desktop was not rerun for the Web loopback change.
AI usage statement
OpenAI Codex assisted with implementation, tests, bilingual documentation, and local acceptance. Maintainer review is pending.