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

refac: update resource kind and use canvas terminology #5730

Conversation

djbarnwal
Copy link
Member

@djbarnwal djbarnwal commented Sep 18, 2024

Builds on top of #5726

Updates resource type from dashboard to canvas
Also consolidate some variable names from dashboard, custom-dashboard & canvas-dashboard to canvas

@djbarnwal djbarnwal changed the title Refac/dash to canvas resource refac: update resource kind and use canvas terminology Sep 18, 2024
@@ -177,6 +177,8 @@

if ($autoSave) await updateComponentFile();
}

$: console.log("errors", errors);
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover log

@@ -43,6 +43,8 @@

$: workspace = workspaces.get(resourceKind ?? $inferredResourceKind);

$: console.log(workspace);
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover log

@djbarnwal djbarnwal merged commit f457ca7 into begelundmuller/refactor-dashboard-to-canvas Sep 19, 2024
4 checks passed
@djbarnwal djbarnwal deleted the refac/dash-to-canvas-resource branch September 19, 2024 18:07
begelundmuller added a commit that referenced this pull request Sep 20, 2024
* Refactor the resource type `Dashboard` to `Canvas`

* Rename files

* refac: update resource kind and use canvas terminology (#5730)

* refac: update resource kind and use canvas terminology

* Update definitions

* Update definitions for admin

* Fix for ts files

* Remove leftover logs

---------

Co-authored-by: Dhiraj Barnwal <[email protected]>
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.

2 participants