-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hi, I'm new to Feast and Feast UI, trying to construct a React app using your feast-ui package to display multiple feature repos on the UI.
It seems to me that the current NPM package of feast-ui is having some problems with the custom component EuiCustomLink that fails to parse the path
Expected Behavior
Here's the UI with the feast ui SDK inside one feature_repo project. I'm using the one inside your feast/ui/feature_repo folder on credit_scoring. There was no problem when I clicked Feature View/credit_history
It is Worth noticing that the date_added = 2022-02-6 is related to the NPM package issue.

Current Behavior
When I tried replicating with a React app, managing multiple projects (later will show the projects-list.json), it prompted the error that could not query the time in the path. The Data Sources and Entities tabs are fine, only for the Feature Views and Feature Services that you're applying some filter.

Steps to reproduce
- Setup the boilerplate project like the official docs
- Run
feast applyinside the feast/ui/feature_repo to get theregistry.dbfile - Copy the
registry.dbfile to the/publicdirectory of React app - Specify the
projects-list.jsonfile as:
{
"projects": [
{
"name": "Credit Score Project",
"description": "Project for credit scoring team and associated models.",
"id": "credit_scoring_aws",
"registryPath": "/credit_scoring_aws.db"
},
{
"name": "Driver Ranking Project",
"description": "Project for driver ranking team and associated models.",
"id": "driver_ranking",
"registryPath": "/driver_ranking.db"
}
]
}- Let the
<FeastUI />as a default component inindex.jsfile and runyarn start
Specifications
I tried both using the latest dependency packages version and downgrade to meet the exact version in the feast/ui repo, but none of them worked.
"dependencies": {
"@elastic/datemath": "^5.0.3",
"@elastic/eui": "^94.1.0",
"@emotion/react": "^11.11.4",
"@feast-dev/feast-ui": "^0.36.1",
"@types/d3": "^7.4.3",
"d3": "^7.9.0",
"inter-ui": "^4.0.2",
"moment": "^2.30.1",
"prop-types": "^15.8.1",
"query-string": "^9.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query": "^3.39.3",
"react-router-dom": "^6.22.3",
"react-scripts": "^5.0.0",
"typescript": "^5.4.5",
"use-query-params": "^2.2.1",
"web-vitals": "^2.1.4",
"zod": "^3.22.4"
},
Possible Solution
I think the error prompted quite clearly that there's an issue with the EuiCustomLink. I hope this bug report can help you investigate it for the official release (as I know it's still [BETA] version) on the current implementation of react-router-dom and EuiLink
Thanks for this great project. Looking forward to your response soon!