Skip to content

Restore sidebar share and embed snippets, and fix query parameter regression#525

Merged
abidlabs merged 12 commits into
mainfrom
share-v
Apr 20, 2026
Merged

Restore sidebar share and embed snippets, and fix query parameter regression#525
abidlabs merged 12 commits into
mainfrom
share-v

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Apr 20, 2026

  • restore the old sidebar "Share this view" and "Embed this view" UI in the Svelte sidebar when Trackio is deployed to Spaces
  • generate share URL and iframe embed snippet from current state (project, metrics, selected runs, and accordion visibility) and fix a bug where these query parameters were not being applied. Add a test to prevent this regression from happening

Try it out here: https://huggingface.co/spaces/abidlabs/trackio-on-spaces-702221

Bring back the old "share this view" and iframe embed snippets in the refactored Svelte sidebar by generating share URLs from current project, metric filter, selected runs, and header visibility.

Made-with: Cursor
@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Apr 20, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Apr 20, 2026

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio patch

  • Restore sidebar share and embed snippets, and fix query parameter regression

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Apr 20, 2026

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview

Install Trackio from this PR (includes built frontend)

pip install "https://huggingface.co/buckets/trackio/trackio-wheels/resolve/4918fbf5beb5ef0949f9a2e369a68563f3c67267/trackio-0.24.0-py3-none-any.whl"

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Build share URLs from the current origin (and optional __trackio_base) when SPACE_ID is unset so `trackio show` users see the same Share/Embed section as on Hugging Face Spaces.

Made-with: Cursor
@abidlabs abidlabs changed the title Restore sidebar share and embed snippets Restore sidebar share and embed snippets, and fix query parameter regression Apr 20, 2026
@abidlabs abidlabs requested a review from qgallouedec April 20, 2026 20:19
@abidlabs abidlabs marked this pull request as ready for review April 20, 2026 20:19
@abidlabs
Copy link
Copy Markdown
Member Author

Will merge this in so that we can get a patch release out shortly

@abidlabs abidlabs merged commit 32c05c5 into main Apr 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants