| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -152,6 +152,7 @@ const DataSourceList: React.FC = () => { | |||
| 152 | 152 | value={project} | |
| 153 | 153 | optionFilterProp="label" | |
| 154 | 154 | notFoundContent={<div>No projects found from server</div>} | |
| 155 | + showSearch={true} | ||
| 155 | 156 | onChange={onProjectChange} | |
| 156 | 157 | ></Select> | |
| 157 | 158 | </Form.Item> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,7 +77,7 @@ const FeatureList: React.FC = () => { | |||
| 77 | 77 | }, | |
| 78 | 78 | }, | |
| 79 | 79 | { | |
| 80 | - title: <div>Key</div>, | ||
| 80 | + title: <div>Entity Key</div>, | ||
| 81 | 81 | key: "aggregation", | |
| 82 | 82 | width: 80, | |
| 83 | 83 | render: (name: string, row: Feature) => { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,7 +74,7 @@ const GraphNodeDetails: React.FC = () => { | |||
| 74 | 74 | )} | |
| 75 | 75 | {feature?.attributes.key && feature.attributes.key.length > 0 && ( | |
| 76 | 76 | <Card> | |
| 77 | - <Title level={4}>Key</Title> | ||
| 77 | + <Title level={4}>Entity Key</Title> | ||
| 78 | 78 | <p>Full name: {feature.attributes.key[0].fullName}</p> | |
| 79 | 79 | <p>Description: {feature.attributes.key[0].description}</p> | |
| 80 | 80 | <p>Key column: {feature.attributes.key[0].keyColumn}</p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,15 +14,14 @@ import { getElements } from "../../components/graph/utils"; | |||
| 14 | 14 | ||
| 15 | 15 | const { Title } = Typography; | |
| 16 | 16 | ||
| 17 | - function FeatureKey(props: { feature: Feature }) { | ||
| 17 | + const FeatureKey = (props: { feature: Feature }) => { | ||
| 18 | 18 | const keys = props.feature.attributes.key; | |
| 19 | - console.log(props.feature.attributes); | ||
| 20 | 19 | return ( | |
| 21 | 20 | <> | |
| 22 | 21 | {keys && keys.length > 0 && ( | |
| 23 | 22 | <Col span={24}> | |
| 24 | 23 | <Card className="card"> | |
| 25 | - <Title level={4}>Key</Title> | ||
| 24 | + <Title level={4}>Entity Key</Title> | ||
| 26 | 25 | <div className="feature-container"> | |
| 27 | 26 | <p>Full Name: {keys[0].fullName}</p> | |
| 28 | 27 | <p>Key Column: {keys[0].keyColumn}</p> | |
@@ -35,9 +34,9 @@ function FeatureKey(props: { feature: Feature }) { | |||
| 35 | 34 | )} | |
| 36 | 35 | </> | |
| 37 | 36 | ); | |
| 38 | - } | ||
| 37 | + }; | ||
| 39 | 38 | ||
| 40 | - function FeatureType(props: { feature: Feature }) { | ||
| 39 | + const FeatureType = (props: { feature: Feature }) => { | ||
| 41 | 40 | const type = props.feature.attributes.type; | |
| 42 | 41 | return ( | |
| 43 | 42 | <> | |
@@ -56,9 +55,9 @@ function FeatureType(props: { feature: Feature }) { | |||
| 56 | 55 | )} | |
| 57 | 56 | </> | |
| 58 | 57 | ); | |
| 59 | - } | ||
| 58 | + }; | ||
| 60 | 59 | ||
| 61 | - function FeatureTransformation(props: { feature: Feature }) { | ||
| 60 | + const FeatureTransformation = (props: { feature: Feature }) => { | ||
| 62 | 61 | const transformation = props.feature.attributes.transformation; | |
| 63 | 62 | return ( | |
| 64 | 63 | <> | |
@@ -88,9 +87,9 @@ function FeatureTransformation(props: { feature: Feature }) { | |||
| 88 | 87 | )} | |
| 89 | 88 | </> | |
| 90 | 89 | ); | |
| 91 | - } | ||
| 90 | + }; | ||
| 92 | 91 | ||
| 93 | - function InputAnchorFeatures(props: { project: string; feature: Feature }) { | ||
| 92 | + const InputAnchorFeatures = (props: { project: string; feature: Feature }) => { | ||
| 94 | 93 | const navigate = useNavigate(); | |
| 95 | 94 | const inputAnchorFeatures = props.feature.attributes.inputAnchorFeatures; | |
| 96 | 95 | return ( | |
@@ -124,7 +123,7 @@ function InputAnchorFeatures(props: { project: string; feature: Feature }) { | |||
| 124 | 123 | )} | |
| 125 | 124 | </> | |
| 126 | 125 | ); | |
| 127 | - } | ||
| 126 | + }; | ||
| 128 | 127 | ||
| 129 | 128 | function InputDerivedFeatures(props: { project: string; feature: Feature }) { | |
| 130 | 129 | const navigate = useNavigate(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments