Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 133b586

Browse files
authored
#1305 Fusion 1.8.4 from Develop
Fusion 1.8.4 from Develop
2 parents 7714e8a + ed57db9 commit 133b586

File tree

40 files changed

+2064
-144
lines changed

40 files changed

+2064
-144
lines changed

src/__mocks__/handlers/ResourceEditor/handlers.ts

Lines changed: 490 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React from 'react';
2+
import DataExplorerResolverPage from '../../shared/canvas/DataExplorerGraphFlow/DateExplorerGraphFlow';
3+
4+
const DataExplorerGraphFlowPage = () => {
5+
return <DataExplorerResolverPage />;
6+
};
7+
8+
export default DataExplorerGraphFlowPage;

src/server/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ app.get('*', async (req: express.Request, res: express.Response) => {
146146
},
147147
search: DEFAULT_SEARCH_STATE,
148148
modals: DEFAULT_MODALS_STATE,
149+
dataExplorer: {
150+
current: null,
151+
links: [],
152+
shrinked: false,
153+
limited: false,
154+
highlightIndex: -1,
155+
},
149156
};
150157

151158
// render an HTML string of our app

src/shared/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import CreateProject from './modals/CreateProject/CreateProject';
2020
import CreateOrganization from './modals/CreateOrganization/CreateOrganization';
2121
import CreateStudio from './modals/CreateStudio/CreateStudio';
2222
import AppInfo from './modals/AppInfo/AppInfo';
23+
import ResolvedLinkEditorPopover from './molecules/ResolvedLinkEditorPopover/ResolvedLinkEditorPopover';
2324
import './App.less';
2425

2526
const App: React.FC = () => {
@@ -52,13 +53,14 @@ const App: React.FC = () => {
5253
<FusionMainLayout environment={nexusEcosystem?.environment}>
5354
<SubAppsView routesWithSubApps={routesWithSubApps} />
5455
<AppInfo {...{ ...nexusEcosystem }} />
56+
<ResolvedLinkEditorPopover />
57+
<DataPanel />
5558
{userAuthenticated && (
5659
<React.Fragment>
5760
<GalleryView />
5861
<CreateProject />
5962
<CreateOrganization />
6063
<CreateStudio />
61-
<DataPanel />
6264
</React.Fragment>
6365
)}
6466
</FusionMainLayout>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
import DataExplorerContentPage from '../../organisms/DataExplorerGraphFlowContent/DataExplorerGraphFlowContent';
3+
import './styles.less';
4+
5+
const DataExplorerResolverPage = () => {
6+
return (
7+
<div className="data-explorer-resolver">
8+
<div className="degf__content">
9+
<DataExplorerContentPage />
10+
</div>
11+
</div>
12+
);
13+
};
14+
15+
export default DataExplorerResolverPage;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@import '../../lib.less';
2+
3+
.data-explorer-resolver {
4+
width: 100%;
5+
max-width: 100%;
6+
align-items: flex-start;
7+
justify-content: flex-start;
8+
background-color: @fusion-main-bg;
9+
display: grid;
10+
grid-auto-columns: 1fr;
11+
gap: 10px;
12+
}

src/shared/canvas/MyData/MyData.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import { notification } from 'antd';
77
import { isObject, isString } from 'lodash';
88

99
import { MyDataHeader, MyDataTable } from '../../molecules';
10-
import { RootState } from '../../../shared/store/reducers';
10+
import { RootState } from '../../store/reducers';
1111
import { TDateFilterType, TFilterOptions } from './types';
12+
import './styles.less';
1213

1314
const makeDatetimePattern = ({
1415
dateFilterType,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.home-mydata {
2+
margin-top: 52px;
3+
}

src/shared/components/DateSeparatedInputs/DateSeparated.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as moment from 'moment';
33
import { clsx } from 'clsx';
44
import useDateTimeInputs from './useDateTimeInputs';
55
import { DATE_PATTERN } from '../../canvas/MyData/types';
6-
import './styles.scss';
6+
import './styles.less';
77

88
type TDate = {
99
day: string;
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.seperated-input-container {
2+
display: grid;
3+
grid-template-columns: repeat(3, minmax(50px, 1fr));
4+
gap: 10px;
5+
align-items: center;
6+
justify-content: center;
7+
.seperated-input {
8+
margin: 10px 0;
9+
outline: none !important;
10+
border: none;
11+
border-bottom: 1px solid #003a8c;
12+
padding: 4px 4px;
13+
font-size: 14px;
14+
font-weight: 400;
15+
color: #003a8c;
16+
&::-webkit-input-placeholder {
17+
color: #d9d9d9;
18+
}
19+
&:focus {
20+
border-bottom: 1.8px solid #003a8c;
21+
}
22+
&:not(:placeholder-shown) {
23+
text-align: center;
24+
border-bottom: 2px solid #003a8c;
25+
font-weight: 700;
26+
}
27+
&.error {
28+
border-bottom: 1.8px solid red;
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)