-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow Feast UI to be spun up with CLI command: feast ui (#2667)
Signed-off-by: Danny Chiao <danny@tecton.ai>
- Loading branch information
Showing
29 changed files
with
38,843 additions
and
16 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 |
---|---|---|
|
@@ -115,4 +115,4 @@ dmypy.json | |
.pyre/ | ||
|
||
.vscode/* | ||
playground | ||
playground |
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,33 @@ | ||
# Example Feast UI App | ||
|
||
This is an example React App that imports the Feast UI module and relies on a "/projects-list" endpoint to get projects. | ||
|
||
See the module import in `src/index.js`. The main change this implements on top of a vanilla create-react-app is adding: | ||
|
||
```tsx | ||
import ReactDOM from "react-dom"; | ||
import FeastUI from "@feast-dev/feast-ui"; | ||
import "@feast-dev/feast-ui/dist/feast-ui.css"; | ||
|
||
ReactDOM.render( | ||
<React.StrictMode> | ||
<FeastUI | ||
feastUIConfigs={{ | ||
projectListPromise: fetch("http://0.0.0.0:8888/projects-list", { | ||
headers: { | ||
"Content-Type": "application/json", | ||
}, | ||
}).then((res) => { | ||
return res.json(); | ||
}) | ||
}} | ||
/> | ||
</React.StrictMode>, | ||
document.getElementById("root") | ||
); | ||
``` | ||
|
||
It is used by the `feast ui` command to scaffold a local UI server. The feast python package bundles in resources produced from `npm run build --omit=dev | ||
|
||
|
||
**Note**: yarn start will not work on this because of the above dependency. |
File renamed without changes.
Oops, something went wrong.