You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Public workspace document chat fails when workspace is hidden #1245
When a user can access a public workspace but has hidden it from the public workspace directory/chat scope, opening that workspace directly and choosing Chat on a document carries the document selection into the chat UI, but the document is not actually searched.
Steps to Reproduce
Mark an accessible public workspace as hidden in the public workspace directory.
Open that public workspace directly.
Choose Chat for a processed document, or select documents and choose the bulk chat action.
Ask a question that should be answered from the selected document.
Expected Behavior
The chosen workspace is added to the current user's visible public workspaces without hiding any other visible workspaces. It appears in the chat workspace selector, and the selected document is included in grounded search.
Actual Behavior
The chat page can appear to carry the document selection, but the hidden workspace is absent from the chat selector and the visible-workspace documents endpoint excludes its documents, so the answer is not grounded in the selected file.
Impact
Users receive misleading UI state and answers that silently omit the document they explicitly chose.
Notes
The public workspace document and bulk-chat handoffs navigate with workspace_id, while chat document loading is intentionally filtered by the user's publicDirectorySettings. The repository already has additive public-workspace visibility helpers, so the fix should preserve existing visible workspaces.
Closing as completed. This issue stayed open after the fix merged because pull requests target Development while the repository default branch is main, so GitHub never applied the Fixes # keyword automatically.
Activity
paullizer commentedon Aug 14, 2026
Implemented in the working tree for v0.250.200.
What changed
/chatsroute now detects explicit public document-search handoffs before building the public workspace selector.publicDirectorySettings.Validation
python functional_tests/test_public_workspace_hidden_document_chat_visibility.py: 5/5 passedpython -m py_compile application/single_app/route_frontend_chats.py functional_tests/test_public_workspace_hidden_document_chat_visibility.py: passedfix: harden tabular artifacts and public workspace chat
paullizer commentedon Aug 19, 2026
Shipped in v0.250.200 via #1246 and #1248.
Release note entries:
Full notes: https://microsoft.github.io/simplechat/explanation/release_notes/
Closing as completed. This issue stayed open after the fix merged because pull requests target
Developmentwhile the repository default branch ismain, so GitHub never applied theFixes #keyword automatically.