Skip to content

Commit fe32c61

Browse files
committed
docs: Add Web UI documentation on repo structure (#3014)
* docs: Add Web UI documentation on repo structure Signed-off-by: Danny Chiao <danny@tecton.ai> * fix Signed-off-by: Danny Chiao <danny@tecton.ai> * update release docs Signed-off-by: Danny Chiao <danny@tecton.ai> * update release docs Signed-off-by: Danny Chiao <danny@tecton.ai> * remove unnecessary step Signed-off-by: Danny Chiao <danny@tecton.ai> * fix nits Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 40f2a6e commit fe32c61

File tree

5 files changed

+5
-50
lines changed

5 files changed

+5
-50
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ The services with containerized replacements currently implemented are:
198198

199199
You can run `make test-python-integration-container` to run tests against the containerized versions of dependencies.
200200

201+
## Feast UI
202+
See [Feast contributing guide](ui/CONTRIBUTING.md)
201203

202204
## Feast Java Serving
203205
See [Java contributing guide](java/CONTRIBUTING.md)

sdk/python/feast/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@elastic/datemath": "^5.0.3",
77
"@elastic/eui": "^57.0.0",
88
"@emotion/react": "^11.9.0",
9-
"@feast-dev/feast-ui": "^0.20.5",
9+
"@feast-dev/feast-ui": "latest",
1010
"@testing-library/jest-dom": "^5.16.4",
1111
"@testing-library/react": "^13.2.0",
1212
"@testing-library/user-event": "^13.5.0",

ui/PUBLISHING_TO_NPM.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

ui/README.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,10 @@
44

55
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
66

7-
## Project structure
8-
The Web UI is powered by a JSON registry dump from Feast (running `feast registry-dump`). Running `yarn start` launches a UI
9-
powered by test data.
10-
- `public/` contains assets as well as demo data loaded by the Web UI.
11-
- There is a `projects-list.json` which represents all Feast projects the UI shows.
12-
- There is also a `registry.json` which is the registry dump for the feature repo.
13-
- `feature_repo/` contains a sample Feast repo which generates the `registry.json`
14-
- `src/` contains the Web UI source code. This parses the registry json blob in `src/parsers` to make this data
15-
available for the rest of the UI.
16-
- `src/custom-tabs` includes sample custom tabs. This is a WIP plugin system where users can inject their own tabs and
17-
data to the UI.
18-
197
## Usage
208

219
There are three modes of usage:
22-
- via the 'feast ui' CLI to view the current feature repository
10+
- via the `feast ui` CLI to view the current feature repository
2311
- importing the UI as a module
2412
- running the entire build as a React app.
2513

@@ -124,28 +112,6 @@ const tabsRegistry = {
124112

125113
Examples of custom tabs can be found in the `/custom-tabs` folder.
126114

127-
### Alternative: Run this Repo
128-
129-
If you would like to simply try things out and see how the UI works, you can simply run the code in this repo. First:
130-
131-
### `yarn install`
132-
133-
That will install the all the dependencies that the UI needs, as well as development dependencies. Then in the project directory, you can run:
134-
135-
### `yarn start`
136-
137-
Runs the app in the development mode.\
138-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
139-
140-
The page will reload if you make edits.\
141-
You will also see any lint errors in the console.
142-
143-
### `yarn test`
144-
145-
Launches the test runner in the interactive watch mode.\
146-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
147-
148-
149115
## On React and Create React App
150116

151117
This project was bootstrapped with Create React App, and uses its scripts to simplify UI development. You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@feast-dev/feast-ui",
3-
"version": "0.20.5",
3+
"version": "0.23.0",
44
"private": false,
55
"files": [
66
"dist"

0 commit comments

Comments
 (0)