Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdk/python/feast/ui/.yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--install.ignore-engines true
7 changes: 7 additions & 0 deletions sdk/python/feast/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,12 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"js-yaml": "5.4.2",
"fast-uri": "4.2.1",
"@types/jest": "27.5.2",
"expect": "27.5.1",
"node-releases": "2.0.44"
}
}
9,032 changes: 4,588 additions & 4,444 deletions sdk/python/feast/ui/yarn.lock

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions ui/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ const createEnvironmentHash = require("./webpack/persistentCache/createEnvironme
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== "false";

const reactRefreshRuntimeEntry = require.resolve("react-refresh/runtime");
const reactRefreshWebpackPluginRuntimeEntry = require.resolve(
"@pmmmwh/react-refresh-webpack-plugin",
);
const reactRefreshWebpackPluginRuntimeEntry =
require.resolve("@pmmmwh/react-refresh-webpack-plugin");
const babelRuntimeEntry = require.resolve("babel-preset-react-app");
const babelRuntimeEntryHelpers = require.resolve(
"@babel/runtime/helpers/esm/assertThisInitialized",
Expand Down Expand Up @@ -409,9 +408,8 @@ module.exports = function (webpackEnv) {
include: paths.appSrc,
loader: require.resolve("babel-loader"),
options: {
customize: require.resolve(
"babel-preset-react-app/webpack-overrides",
),
customize:
require.resolve("babel-preset-react-app/webpack-overrides"),
presets: [
[
require.resolve("babel-preset-react-app"),
Expand Down
9 changes: 7 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"jest-watch-typeahead": "^2.2.2",
"mini-css-extract-plugin": "^2.4.5",
"minimatch": "^10.0.3",
"msw": "^2.7.0",
"msw": "2.12.2",
"postcss": "^8.4.4",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
Expand Down Expand Up @@ -140,7 +140,12 @@
"workbox-webpack-plugin": "^6.4.1"
},
"resolutions": {
"nwsapi": "2.2.13"
"nwsapi": "2.2.13",
"js-yaml": "5.4.2",
"fast-uri": "4.2.1",
"msw": "2.12.2",
"rettime": "0.7.0",
"node-releases": "2.0.44"
},
"description": "Web UI for the [Feast Feature Store](https://feast.dev/)",
"repository": {
Expand Down
27 changes: 9 additions & 18 deletions ui/src/custom-tabs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ interface RegularFeatureViewCustomTabProps {
id: string | undefined;
feastObjectQuery: RegularFeatureViewQueryReturnType;
}
interface RegularFeatureViewCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface RegularFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -40,8 +39,7 @@ interface OnDemandFeatureViewCustomTabProps {
id: string | undefined;
feastObjectQuery: OnDemandFeatureViewQueryReturnType;
}
interface OnDemandFeatureViewCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface OnDemandFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -57,8 +55,7 @@ interface StreamFeatureViewCustomTabProps {
id: string | undefined;
feastObjectQuery: StreamFeatureViewQueryReturnType;
}
interface StreamFeatureViewCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface StreamFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -71,8 +68,7 @@ interface EntityCustomTabProps {
id: string | undefined;
feastObjectQuery: ReturnType<typeof useLoadEntity>;
}
interface EntityCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface EntityCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -85,8 +81,7 @@ interface FeatureCustomTabProps {
id: string | undefined;
feastObjectQuery: ReturnType<typeof useLoadFeature>;
}
interface FeatureCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface FeatureCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -99,8 +94,7 @@ interface FeatureServiceCustomTabProps {
id: string | undefined;
feastObjectQuery: ReturnType<typeof useLoadFeatureService>;
}
interface FeatureServiceCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface FeatureServiceCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -113,8 +107,7 @@ interface DataSourceCustomTabProps {
id: string | undefined;
feastObjectQuery: ReturnType<typeof useLoadDataSource>;
}
interface DataSourceCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface DataSourceCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -127,8 +120,7 @@ interface DatasetCustomTabProps {
id: string | undefined;
feastObjectQuery: ReturnType<typeof useLoadDataset>;
}
interface DatasetCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface DatasetCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand All @@ -141,8 +133,7 @@ interface DataLabelingCustomTabProps {
id: string | undefined;
feastObjectQuery: RegularFeatureViewQueryReturnType;
}
interface DataLabelingCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
interface DataLabelingCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
Expand Down
3 changes: 1 addition & 2 deletions ui/src/hooks/useSearchInputWithTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { sortTagsByTotalUsage } from "./useFCOExploreSuggestions";
type tagTokenType = Record<"key" | "value", string>;
type tagTokenGroupsType = Record<string, string[]>;
type tagAggregationRecordType =
| Record<string, Record<string, unknown[]>>
| undefined;
Record<string, Record<string, unknown[]>> | undefined;

type SuggestionModes = "KEY" | "VALUE";

Expand Down
8 changes: 4 additions & 4 deletions ui/src/pages/data-sources/DataSourceOverviewTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ const DataSourceOverviewTab = () => {
</EuiTitle>
<EuiHorizontalRule margin="xs"></EuiHorizontalRule>
<RequestDataSourceSchemaTable
fields={
data?.requestDataOptions?.schema!.map((obj: any) => {
fields={data?.requestDataOptions?.schema!.map(
(obj: any) => {
return {
fieldName: obj.name!,
valueType: obj.valueType!,
};
})!
}
},
)!}
/>
</EuiPanel>
) : (
Expand Down
8 changes: 3 additions & 5 deletions ui/src/pages/feature-services/FeatureServiceOverviewTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,9 @@ const FeatureServiceOverviewTab = () => {
<EuiHorizontalRule margin="xs" />
{data?.spec?.features?.length! > 0 ? (
<FeatureViewEdgesList
fvNames={
data?.spec?.features?.map((f: any) => {
return f.featureViewName!;
})!
}
fvNames={data?.spec?.features?.map((f: any) => {
return f.featureViewName!;
})!}
viewTypes={
data?.spec?.features?.reduce(
(acc: Record<string, string>, f: any) => {
Expand Down
3 changes: 1 addition & 2 deletions ui/src/pages/features/FeatureListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ interface Feature {
}

type FeatureColumn =
| EuiTableFieldDataColumnType<Feature>
| EuiTableComputedColumnType<Feature>;
EuiTableFieldDataColumnType<Feature> | EuiTableComputedColumnType<Feature>;

const FeatureListPage = () => {
const { projectName } = useParams();
Expand Down
5 changes: 1 addition & 4 deletions ui/src/parsers/mergedFVTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ interface LabelViewInterface {
}

type genericFVType =
| regularFVInterface
| ODFVInterface
| SFVInterface
| LabelViewInterface;
regularFVInterface | ODFVInterface | SFVInterface | LabelViewInterface;

const mergedFVTypes = (objects: feast.core.Registry) => {
const mergedFVMap: Record<string, genericFVType> = {};
Expand Down
Loading
Loading