Repository navigation
Workspace Sync for every user - #201
Open
t0mdavid-m wants to merge 3 commits into
Open
t0mdavid-m wants to merge 3 commits into
t0mdavid-m wants to merge 3 commits into
Conversation
Turn on Workspace Sync without the developer password, so anyone with the desktop app can push large raw files into an online workspace, run there and pull the results back. Register content/workspace_sync.py in app.py (menu entry hidden, opened from the sidebar panel): with sync enabled the sidebar links to that page, and without the registration every page failed with StreamlitPageNotFoundError. Tests that load one page without navigation turn the panel off, since its page link cannot resolve there; a new test checks the settings and the page registration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FkEGepShSG5cNRTqoCXFo1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FkEGepShSG5cNRTqoCXFo1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FkEGepShSG5cNRTqoCXFo1
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Requested by Tom · project thread
What it does
Large studies come as many raw files, too big for the browser uploader. The template's Workspace Sync already lets the desktop app push a local workspace's inputs into an online workspace, run the workflow there and pull the results back, but OpenDDA kept it behind the developer password. This turns it on for every user:
settings.json:workspace_sync.developer_onlyis nowfalse(enabledstays on;workflowsmapstopp-workflowtosrc.WorkflowTest:WorkflowTest).app.pyregisterscontent/workspace_sync.pyand hides its menu entry, as the template does. Users open it from the Workspace Sync panel in the sidebar. Without the page registered, the panel's link raisedStreamlitPageNotFoundErroron every page once sync was enabled. Nobody saw this before because the panel was only drawn for developers.test_gui.pyper-page launches,test_insight_image_format,test_workspace_selector,test_captcha_pages) turn the panel off, since a page link cannot resolve there.tests/test_workspace_sync_settings.pychecks the settings, the workflow mapping and the page registration.CLAUDE.app.mddescribes it.The prod overlay already routes
/syncto the sync service, so nothing changes ink8s/. Whether it goes live in production with the next release is the maintainer's call.Screenshots
Sidebar panel (light, dark):
Workspace Sync page (light, dark):
Tests
python -m pytest test_gui.py tests/: 1566 passed, 14 skipped. Pylint (errors only) is clean on the changed files.Generated by Claude Code