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

Change Key to Entity Key · feathr-ai/feathr@a47ae57 · GitHub

Commit a47ae57

Browse files
committed
Change Key to Entity Key
1 parent d4a9dfa commit a47ae57

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎ui/src/components/dataSourceList.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const DataSourceList: React.FC = () => {
152152
value={project}
153153
optionFilterProp="label"
154154
notFoundContent={<div>No projects found from server</div>}
155+
showSearch={true}
155156
onChange={onProjectChange}
156157
></Select>
157158
</Form.Item>

‎ui/src/components/featureList.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const FeatureList: React.FC = () => {
7777
},
7878
},
7979
{
80-
title: <div>Key</div>,
80+
title: <div>Entity Key</div>,
8181
key: "aggregation",
8282
width: 80,
8383
render: (name: string, row: Feature) => {

‎ui/src/components/graph/graphNodeDetails.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const GraphNodeDetails: React.FC = () => {
7474
)}
7575
{feature?.attributes.key && feature.attributes.key.length > 0 && (
7676
<Card>
77-
<Title level={4}>Key</Title>
77+
<Title level={4}>Entity Key</Title>
7878
<p>Full name: {feature.attributes.key[0].fullName}</p>
7979
<p>Description: {feature.attributes.key[0].description}</p>
8080
<p>Key column: {feature.attributes.key[0].keyColumn}</p>

‎ui/src/pages/feature/featureDetails.tsx‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ import { getElements } from "../../components/graph/utils";
1414

1515
const { Title } = Typography;
1616

17-
function FeatureKey(props: { feature: Feature }) {
17+
const FeatureKey = (props: { feature: Feature }) => {
1818
const keys = props.feature.attributes.key;
19-
console.log(props.feature.attributes);
2019
return (
2120
<>
2221
{keys && keys.length > 0 && (
2322
<Col span={24}>
2423
<Card className="card">
25-
<Title level={4}>Key</Title>
24+
<Title level={4}>Entity Key</Title>
2625
<div className="feature-container">
2726
<p>Full Name: {keys[0].fullName}</p>
2827
<p>Key Column: {keys[0].keyColumn}</p>
@@ -35,9 +34,9 @@ function FeatureKey(props: { feature: Feature }) {
3534
)}
3635
</>
3736
);
38-
}
37+
};
3938

40-
function FeatureType(props: { feature: Feature }) {
39+
const FeatureType = (props: { feature: Feature }) => {
4140
const type = props.feature.attributes.type;
4241
return (
4342
<>
@@ -56,9 +55,9 @@ function FeatureType(props: { feature: Feature }) {
5655
)}
5756
</>
5857
);
59-
}
58+
};
6059

61-
function FeatureTransformation(props: { feature: Feature }) {
60+
const FeatureTransformation = (props: { feature: Feature }) => {
6261
const transformation = props.feature.attributes.transformation;
6362
return (
6463
<>
@@ -88,9 +87,9 @@ function FeatureTransformation(props: { feature: Feature }) {
8887
)}
8988
</>
9089
);
91-
}
90+
};
9291

93-
function InputAnchorFeatures(props: { project: string; feature: Feature }) {
92+
const InputAnchorFeatures = (props: { project: string; feature: Feature }) => {
9493
const navigate = useNavigate();
9594
const inputAnchorFeatures = props.feature.attributes.inputAnchorFeatures;
9695
return (
@@ -124,7 +123,7 @@ function InputAnchorFeatures(props: { project: string; feature: Feature }) {
124123
)}
125124
</>
126125
);
127-
}
126+
};
128127

129128
function InputDerivedFeatures(props: { project: string; feature: Feature }) {
130129
const navigate = useNavigate();

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL