Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the resource type Dashboard to Canvas #5726

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Sep 18, 2024

This PR refactors the rill.runtime.v1.Dashboard resource type to rill.runtime.v1.Canvas. In the YAML files, the new type property is type: canvas.

This is a breaking change that requires changing YAML files from type: dashboard to type: canvas.

PR for frontend changes - #5730

Closes #5710

* refac: update resource kind and use canvas terminology

* Update definitions

* Update definitions for admin

* Fix for ts files

* Remove leftover logs
@@ -31,6 +31,7 @@ export function isMetricsExplorerPage(page: Page): boolean {
}

export function isCanvasDashboardPage(page: Page): boolean {
// TODO: Change the route to canvas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this require addressing before merge ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this can be addressed later in a separate PR. It's more to do with file structuring in the application code

@begelundmuller begelundmuller merged commit 792b3fa into main Sep 20, 2024
10 checks passed
@begelundmuller begelundmuller deleted the begelundmuller/refactor-dashboard-to-canvas branch September 20, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename type: dashboard resources to type: canvas
3 participants