FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: Update UI dependencies · feast-dev/feast@9ed65db · GitHub

Repository navigation

Commit 9ed65db

Browse files
chore: Update UI dependencies
Refresh ui/ and sdk/python/feast/ui/ yarn.lock files via yarn upgrade, pin js-yaml and fast-uri with resolutions for major bumps outside parent ranges, and apply Prettier formatting. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8d2773c commit 9ed65db

11 files changed

Lines changed: 7855 additions & 7574 deletions

File tree

‎sdk/python/feast/ui/package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@
4949
"last 1 firefox version",
5050
"last 1 safari version"
5151
]
52+
},
53+
"resolutions": {
54+
"js-yaml": "5.4.2",
55+
"fast-uri": "4.2.1"
5256
}
5357
}

‎sdk/python/feast/ui/yarn.lock‎

Lines changed: 4745 additions & 4451 deletions
Large diffs are not rendered by default.

‎ui/config/webpack.config.js‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ const createEnvironmentHash = require("./webpack/persistentCache/createEnvironme
3232
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== "false";
3333

3434
const reactRefreshRuntimeEntry = require.resolve("react-refresh/runtime");
35-
const reactRefreshWebpackPluginRuntimeEntry = require.resolve(
36-
"@pmmmwh/react-refresh-webpack-plugin",
37-
);
35+
const reactRefreshWebpackPluginRuntimeEntry =
36+
require.resolve("@pmmmwh/react-refresh-webpack-plugin");
3837
const babelRuntimeEntry = require.resolve("babel-preset-react-app");
3938
const babelRuntimeEntryHelpers = require.resolve(
4039
"@babel/runtime/helpers/esm/assertThisInitialized",
@@ -409,9 +408,8 @@ module.exports = function (webpackEnv) {
409408
include: paths.appSrc,
410409
loader: require.resolve("babel-loader"),
411410
options: {
412-
customize: require.resolve(
413-
"babel-preset-react-app/webpack-overrides",
414-
),
411+
customize:
412+
require.resolve("babel-preset-react-app/webpack-overrides"),
415413
presets: [
416414
[
417415
require.resolve("babel-preset-react-app"),

‎ui/package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@
140140
"workbox-webpack-plugin": "^6.4.1"
141141
},
142142
"resolutions": {
143-
"nwsapi": "2.2.13"
143+
"nwsapi": "2.2.13",
144+
"js-yaml": "5.4.2",
145+
"fast-uri": "4.2.1"
144146
},
145147
"description": "Web UI for the [Feast Feature Store](https://feast.dev/)",
146148
"repository": {

‎ui/src/custom-tabs/types.ts‎

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ interface RegularFeatureViewCustomTabProps {
2323
id: string | undefined;
2424
feastObjectQuery: RegularFeatureViewQueryReturnType;
2525
}
26-
interface RegularFeatureViewCustomTabRegistrationInterface
27-
extends CustomTabRegistrationInterface {
26+
interface RegularFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
2827
Component: ({
2928
id,
3029
feastObjectQuery,
@@ -40,8 +39,7 @@ interface OnDemandFeatureViewCustomTabProps {
4039
id: string | undefined;
4140
feastObjectQuery: OnDemandFeatureViewQueryReturnType;
4241
}
43-
interface OnDemandFeatureViewCustomTabRegistrationInterface
44-
extends CustomTabRegistrationInterface {
42+
interface OnDemandFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
4543
Component: ({
4644
id,
4745
feastObjectQuery,
@@ -57,8 +55,7 @@ interface StreamFeatureViewCustomTabProps {
5755
id: string | undefined;
5856
feastObjectQuery: StreamFeatureViewQueryReturnType;
5957
}
60-
interface StreamFeatureViewCustomTabRegistrationInterface
61-
extends CustomTabRegistrationInterface {
58+
interface StreamFeatureViewCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
6259
Component: ({
6360
id,
6461
feastObjectQuery,
@@ -71,8 +68,7 @@ interface EntityCustomTabProps {
7168
id: string | undefined;
7269
feastObjectQuery: ReturnType<typeof useLoadEntity>;
7370
}
74-
interface EntityCustomTabRegistrationInterface
75-
extends CustomTabRegistrationInterface {
71+
interface EntityCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
7672
Component: ({
7773
id,
7874
feastObjectQuery,
@@ -85,8 +81,7 @@ interface FeatureCustomTabProps {
8581
id: string | undefined;
8682
feastObjectQuery: ReturnType<typeof useLoadFeature>;
8783
}
88-
interface FeatureCustomTabRegistrationInterface
89-
extends CustomTabRegistrationInterface {
84+
interface FeatureCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
9085
Component: ({
9186
id,
9287
feastObjectQuery,
@@ -99,8 +94,7 @@ interface FeatureServiceCustomTabProps {
9994
id: string | undefined;
10095
feastObjectQuery: ReturnType<typeof useLoadFeatureService>;
10196
}
102-
interface FeatureServiceCustomTabRegistrationInterface
103-
extends CustomTabRegistrationInterface {
97+
interface FeatureServiceCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
10498
Component: ({
10599
id,
106100
feastObjectQuery,
@@ -113,8 +107,7 @@ interface DataSourceCustomTabProps {
113107
id: string | undefined;
114108
feastObjectQuery: ReturnType<typeof useLoadDataSource>;
115109
}
116-
interface DataSourceCustomTabRegistrationInterface
117-
extends CustomTabRegistrationInterface {
110+
interface DataSourceCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
118111
Component: ({
119112
id,
120113
feastObjectQuery,
@@ -127,8 +120,7 @@ interface DatasetCustomTabProps {
127120
id: string | undefined;
128121
feastObjectQuery: ReturnType<typeof useLoadDataset>;
129122
}
130-
interface DatasetCustomTabRegistrationInterface
131-
extends CustomTabRegistrationInterface {
123+
interface DatasetCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
132124
Component: ({
133125
id,
134126
feastObjectQuery,
@@ -141,8 +133,7 @@ interface DataLabelingCustomTabProps {
141133
id: string | undefined;
142134
feastObjectQuery: RegularFeatureViewQueryReturnType;
143135
}
144-
interface DataLabelingCustomTabRegistrationInterface
145-
extends CustomTabRegistrationInterface {
136+
interface DataLabelingCustomTabRegistrationInterface extends CustomTabRegistrationInterface {
146137
Component: ({
147138
id,
148139
feastObjectQuery,

‎ui/src/hooks/useSearchInputWithTags.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import { sortTagsByTotalUsage } from "./useFCOExploreSuggestions";
77
type tagTokenType = Record<"key" | "value", string>;
88
type tagTokenGroupsType = Record<string, string[]>;
99
type tagAggregationRecordType =
10-
| Record<string, Record<string, unknown[]>>
11-
| undefined;
10+
Record<string, Record<string, unknown[]>> | undefined;
1211

1312
type SuggestionModes = "KEY" | "VALUE";
1413

‎ui/src/pages/data-sources/DataSourceOverviewTab.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ const DataSourceOverviewTab = () => {
156156
</EuiTitle>
157157
<EuiHorizontalRule margin="xs"></EuiHorizontalRule>
158158
<RequestDataSourceSchemaTable
159-
fields={
160-
data?.requestDataOptions?.schema!.map((obj: any) => {
159+
fields={data?.requestDataOptions?.schema!.map(
160+
(obj: any) => {
161161
return {
162162
fieldName: obj.name!,
163163
valueType: obj.valueType!,
164164
};
165-
})!
166-
}
165+
},
166+
)!}
167167
/>
168168
</EuiPanel>
169169
) : (

‎ui/src/pages/feature-services/FeatureServiceOverviewTab.tsx‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,9 @@ const FeatureServiceOverviewTab = () => {
195195
<EuiHorizontalRule margin="xs" />
196196
{data?.spec?.features?.length! > 0 ? (
197197
<FeatureViewEdgesList
198-
fvNames={
199-
data?.spec?.features?.map((f: any) => {
200-
return f.featureViewName!;
201-
})!
202-
}
198+
fvNames={data?.spec?.features?.map((f: any) => {
199+
return f.featureViewName!;
200+
})!}
203201
viewTypes={
204202
data?.spec?.features?.reduce(
205203
(acc: Record<string, string>, f: any) => {

‎ui/src/pages/features/FeatureListPage.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ interface Feature {
4545
}
4646

4747
type FeatureColumn =
48-
| EuiTableFieldDataColumnType<Feature>
49-
| EuiTableComputedColumnType<Feature>;
48+
EuiTableFieldDataColumnType<Feature> | EuiTableComputedColumnType<Feature>;
5049

5150
const FeatureListPage = () => {
5251
const { projectName } = useParams();

‎ui/src/parsers/mergedFVTypes.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ interface LabelViewInterface {
3636
}
3737

3838
type genericFVType =
39-
| regularFVInterface
40-
| ODFVInterface
41-
| SFVInterface
42-
| LabelViewInterface;
39+
regularFVInterface | ODFVInterface | SFVInterface | LabelViewInterface;
4340

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

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL