Repository navigation
Say "view" instead of "dashboard" in the panel tools; keep the old names working - #33
Merged
Merged
Conversation
Comet calls a project's saved layouts views, as comet_ml's names (View, get_views, create_view) do. The panel tools now use the same word: - cometx panel-upload / panel-download take --view; --dashboard still works but is no longer listed in --help. - cometx.panel_studio has view_url, upload_to_view, view_panel_code and EXPERIMENTS_PAGE_SIZE. The 3.6.12 names (dashboard_url, upload_to_dashboard, dashboard_panel_code, DASHBOARD_PAGE_SIZE) remain and call the new ones. - API.create_dashboard and API.update_dashboard still work, but now raise a DeprecationWarning pointing to create_view / update_view: panels passed to create_dashboard don't appear on the view, and update_dashboard's endpoint answers 404 with an API key. - The panel studio's upload dialog says "View" and "New view". - README-panel-and-dashboard-enhancements.md is now README-panels-and-views.md; the old file links to it. examples/02_build_project_dashboard.py is now 02_build_project_view.py. Server field names such as dashboardChartState are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
| Topic | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| View API Migration | Deprecate create_dashboard and update_dashboard with DeprecationWarning while retaining their existing requests, clarify that panel associations do not populate view layouts, and align view builder documentation and examples with Comet’s terminology.Modified files (13)
Latest Contributors(2)
| |||||||||
| Panel View Workflow | Rename panel upload, download, studio, and preview terminology and APIs from dashboards to views, including --view, upload_to_view, view_panel_code, view_url, and EXPERIMENTS_PAGE_SIZE. Keep legacy helpers and hidden --dashboard options functional.Modified files (10)
Latest Contributors(2)
|
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.
Comet calls a project's saved layouts views, and so do comet_ml's names (
View,get_views,create_view). The panel tools and docs now use the same word. Everything released under the old names keeps working.What changed
cometx panel-upload ... --dashboard NAME--view NAME(--dashboardis still accepted, just hidden from--help)cometx panel-download ... --dashboard NAME--view NAMEpanel_studio.upload_to_dashboardupload_to_viewpanel_studio.dashboard_panel_codeview_panel_codepanel_studio.dashboard_urlview_urlpanel_studio.DASHBOARD_PAGE_SIZEEXPERIMENTS_PAGE_SIZEAPI.create_dashboard/API.update_dashboardDeprecationWarningpointing tocreate_view/update_viewcreate_dashboard/update_dashboardare deprecated rather than renamed. Panels passed tocreate_dashboarddon't appear on the view, andupdate_dashboard's endpoint returns 404 with an API key. Their doc sections are replaced by a short "use this instead" table.README-panel-and-dashboard-enhancements.mdis nowREADME-panels-and-views.md. The old file stays as a one-line link, so existing links still work.examples/02_build_project_dashboard.pyis now02_build_project_view.py.cometx/views.pydocs match comet_ml's copy again (comet-ml/comet-python-client#2769 made the same change).dashboardChartState,DASHBOARD_TOGGLE,isVisibleOnDashboard,dashboard_template, and thedashboard-templatesendpoints.Testing
--dashboardstill parses into the view on both commands, and is hidden from help.panel_studionames still work, including thedashboard=keyword.create_dashboard/update_dashboardwarn and still send the same request.cometx panel-download --view defaultand--dashboard defaulton dsblank/mnist-001 download the same panel code. An unknown view lists the available views.🤖 Generated with Claude Code