-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(playground): Minor improvements to the playground
- Make vite plugin for certificates optional - Make it easier to ignore changes in the playground - Include internal css for semantic search package
- Loading branch information
Andy Chumak
committed
Oct 16, 2024
1 parent
985cfe0
commit b964497
Showing
6 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// (C) 2024 GoodData Corporation | ||
|
||
import * as React from "react"; | ||
import { Dashboard } from "@gooddata/sdk-ui-dashboard"; | ||
|
||
const dashboard = import.meta.env.VITE_DASHBOARD; | ||
|
||
export const Playground: React.FC = () => { | ||
if (!dashboard) return null; | ||
|
||
return ( | ||
<Dashboard | ||
dashboard={dashboard} | ||
config={{ | ||
initialRenderMode: "view", | ||
}} | ||
/> | ||
); | ||
}; |
This file contains 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