Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project/new assessment registry #2699

Merged
merged 181 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
5763d1e
Add new page for new assessment registry (#2679)
AdityaKhatri Jun 1, 2023
e4a3c4d
Separate left pane from entry edit to components
subinasr Jun 1, 2023
9e42432
Use LeftPane in EditAry
subinasr Jun 2, 2023
e9fc51d
Route new and existing assessments
subinasr Jun 2, 2023
76f289e
Fix type issues
subinasr Jun 21, 2023
41da0dd
Add entries in edit assessment left pane
subinasr Jun 23, 2023
75bb467
Fix redirect issue in edit ary
AdityaKhatri Jul 6, 2023
99a130b
feat: add metadata form component and schema
puranban Jun 29, 2023
dbbce45
update: breakdown form schema component
puranban Jun 29, 2023
d6fecf1
Add mutation to save metadata form
puranban Jun 29, 2023
e45537f
Fix stakeholder list import
puranban Jun 29, 2023
bdce9d4
Add stakeholder validation error
puranban Jul 5, 2023
4747863
Update: error message styles in stakeholder section
puranban Jul 5, 2023
13c8001
Move interface and and rename file name
puranban Jul 6, 2023
37e744f
Move ARY to views
puranban Jul 6, 2023
24763e8
Removed unused stakeholderlist file
puranban Jul 6, 2023
8da5f76
Resolved merge conflict
puranban Jul 6, 2023
98527a1
Fix project id undefined error
puranban Jul 6, 2023
94760c9
Remove local state for organizations
puranban Jul 7, 2023
87b39d7
Removed unused variable
puranban Jul 7, 2023
512fdb8
Update: fix organization for stakeholder view
puranban Jul 10, 2023
ef30fc1
Update: rename id name by orgId
puranban Jul 10, 2023
87cc1ac
Update: Add leadId on creation of ARY
puranban Jul 10, 2023
560d620
Update: remove required condition from form schema
puranban Jul 10, 2023
05de3a1
Update: query existing ARY and set in the form value
puranban Jul 11, 2023
f409915
Add update mutation
puranban Jul 12, 2023
9e0eeb9
Remove null
puranban Jul 12, 2023
9760d8c
Fix PR comment issues
puranban Jul 12, 2023
e8f724a
Remove lead from form schema
puranban Jul 12, 2023
bdc108a
Add methodology form
shreeyash07 Jul 18, 2023
780ad45
fix type issue
shreeyash07 Jul 20, 2023
f7bd893
fix methodology form css
shreeyash07 Jul 20, 2023
ae6c1e0
Add mutation for methodology form
shreeyash07 Jul 20, 2023
ca25f8b
fix PR comments
shreeyash07 Jul 20, 2023
46dc50c
Add one default methodology attributes
shreeyash07 Jul 20, 2023
a33694c
fix inappropriate names
shreeyash07 Jul 25, 2023
f501279
Feat: Add focus form affected group
puranban Jul 13, 2023
419b560
Add focus form component
puranban Jul 20, 2023
266dbce
Add focus checklist component
puranban Jul 24, 2023
2b1687d
Add header component
puranban Jul 24, 2023
111f364
Add geo component
puranban Jul 24, 2023
ec46308
Add mutation for focus tab
puranban Jul 27, 2023
09844fc
Fix: geo location areas
puranban Jul 31, 2023
c3b02fe
Add schema remaining fields
puranban Jul 31, 2023
fbcb661
Add error in tabs
AdityaKhatri Aug 3, 2023
d78a72a
Add cna form component
shreeyash07 Jul 24, 2023
be15e0f
Add mutation
shreeyash07 Jul 25, 2023
c323a34
Add AnswerQuestionInput
shreeyash07 Jul 26, 2023
d9fe1b0
Add sector stats component
shreeyash07 Jul 27, 2023
5b95814
Add key in div
shreeyash07 Jul 28, 2023
152c0ea
Resolve PR comments
shreeyash07 Aug 1, 2023
1f3d45d
Add id in cna and methodology
AdityaKhatri Aug 4, 2023
d19fa01
Add id in cna and methodology
AdityaKhatri Aug 4, 2023
cfef012
Feat: Add additional document form
puranban Jul 18, 2023
cae0633
Update: upload external link
puranban Jul 19, 2023
09de59f
Add excutive summary textarea
puranban Jul 20, 2023
3d24422
Change upload type and external link
puranban Jul 23, 2023
f21c2ef
Fix additional document type
puranban Jul 25, 2023
f178360
Add link item view component
puranban Jul 25, 2023
2748065
Refactor and PR comment fix
puranban Jul 25, 2023
1e348c9
Add graphql node for file upload
puranban Aug 6, 2023
dde58ca
Add preview for uploaded image
puranban Aug 7, 2023
bf4cd27
Add link pdf preview
puranban Aug 7, 2023
8e22c47
Add padding in additional form
puranban Aug 8, 2023
df3ffd8
Refactor and clean up upload component
puranban Aug 9, 2023
4529943
Move preview in upload item in ary additional documents
AdityaKhatri Aug 10, 2023
756608f
Score form setup
shreeyash07 Aug 1, 2023
402574a
Add input components
shreeyash07 Aug 2, 2023
45556ce
Add mutation in quality score form
shreeyash07 Aug 3, 2023
9dc50b7
finalize analytical density
shreeyash07 Aug 3, 2023
9414a4b
fix type issue
shreeyash07 Aug 4, 2023
c86d562
Add score stats component
shreeyash07 Aug 7, 2023
40dd6ed
finalize score component
shreeyash07 Aug 9, 2023
86eb1d0
Add error visibility in scores
AdityaKhatri Aug 9, 2023
1706ae0
finalize css
shreeyash07 Aug 9, 2023
8ca2120
Remove Enumfix
AdityaKhatri Aug 10, 2023
61c686a
fix PR comments
shreeyash07 Aug 10, 2023
b320767
Issue editor setup for summary tab
shreeyash07 Aug 14, 2023
180a83a
Update skateholders mutation in metadata form
shreeyash07 Aug 14, 2023
1b09f3f
Fix stakeholder form and remove unnecessary functions in metadata tab
shreeyash07 Aug 16, 2023
db6f531
Fix project details form
shreeyash07 Aug 16, 2023
c0ed2e1
Fix stakeholder issue
AdityaKhatri Aug 21, 2023
9d66826
Update assessment list query in assessment componenent
shreeyash07 Aug 10, 2023
84a84ac
Add new filters and update mutation in assessment list
shreeyash07 Aug 11, 2023
98bdccb
Remove lead id and update edit route from assessment list
shreeyash07 Aug 22, 2023
8a91725
Update deleteAssessmentRegistry mutation
shreeyash07 Aug 23, 2023
0237161
Setup ary dashboard base
AdityaKhatri Jul 12, 2023
1ce9569
Remove route permission and fix styling ary dashboard
puranban Aug 24, 2023
a43f267
WIP: setup for summary form
puranban Jul 30, 2023
30d512b
Query summary pillar options
puranban Jul 31, 2023
c70182d
Add to subpillar value
puranban Aug 3, 2023
7012bd4
Update and set response value in summary form
puranban Aug 4, 2023
953db18
Fix logic to select issues and description
puranban Aug 5, 2023
a0e0397
Add metadata input components
puranban Aug 5, 2023
263f610
Transform summary options and fix save and update
puranban Aug 7, 2023
e32f411
Add dimension tab in ary summary form
puranban Aug 10, 2023
d1a6d36
- Add single source of truth for issue select input
puranban Aug 14, 2023
8e9bce1
Add update function for the issue select field in the summary form
puranban Aug 16, 2023
cb8b787
Fix issue save and query value set in the issue input in summary form
puranban Aug 17, 2023
e824fb0
Add env file in gitignore
puranban Aug 17, 2023
8810b1b
remove unused variable from assessment registry form
puranban Aug 17, 2023
cba2582
Add sub dimension component in summary form
puranban Aug 22, 2023
7b15b0b
Remove unused variable form summary form
puranban Aug 22, 2023
25d5d6d
Add search select query issue and add dimension component for meta in…
puranban Aug 23, 2023
c017dcd
Rename dimmension typo
AdityaKhatri Aug 24, 2023
ec2690d
Set issue to client id map in summary form
AdityaKhatri Aug 24, 2023
9138871
Remove IssueInput and move selectIssue component in summary form
puranban Aug 24, 2023
7f6a5b2
Add select issue component in summary form dimension
puranban Aug 25, 2023
8f30c89
Fix and save dimension summary form
puranban Aug 25, 2023
c83e357
Send dimension metadata to form
AdityaKhatri Aug 27, 2023
104c115
Add issues modal in summary form dimension
puranban Aug 28, 2023
df05852
Fix type issues in ary and project form
AdityaKhatri Sep 5, 2023
33ac304
Fix type issues after package upgrades
AdityaKhatri Aug 24, 2023
2548cb8
Add error in pillar item in summary form
puranban Sep 19, 2023
a4a1da7
Add information gap indicators in summary tab
AdityaKhatri Sep 15, 2023
d06607b
Fix dimension indicator size
puranban Sep 20, 2023
7c1c6c9
Add barchart and stacked chart in summary form
puranban Oct 3, 2023
f2f846e
Add loading animation in assessment registry form
puranban Oct 5, 2023
485205f
Score round with two decimal in ary form
puranban Oct 5, 2023
feab462
Fix score tab analytical density selection
puranban Oct 6, 2023
6ac9bdb
Add message component to show pending in ary form
puranban Oct 6, 2023
c9140eb
Fix naming in ary form
puranban Oct 9, 2023
89b70d0
Removed unused file from Ary
puranban Oct 9, 2023
fac187c
Add error in dimension item tab in ARY form
puranban Sep 21, 2023
b18ad6b
Issue search select input breakdown in ary form
puranban Sep 22, 2023
d6460ca
Add issue for pillar in summary form
puranban Sep 25, 2023
a842cd6
Add pagination for issues on summary form
puranban Sep 25, 2023
5dae3f8
Refactor and clean up summary form
puranban Sep 26, 2023
6f30c89
Remove unknown file from summary form
puranban Sep 27, 2023
9d28d93
Show error alert on issue level summary form
puranban Sep 27, 2023
9e82211
Add pagination in sub issues and clean up in summary form
puranban Oct 3, 2023
7aa4bea
Add summary issue child and level conditions
puranban Oct 4, 2023
d7b9f2b
Add button to create new issue in summary form modal
puranban Oct 4, 2023
babe075
Fix expandable disable on summary issue
puranban Oct 9, 2023
ab845ba
Use new assessment selection in project form
AdityaKhatri Nov 29, 2023
6a5ff82
Fix UI and UX issues in new assessment registry
AdityaKhatri Dec 18, 2023
46af70d
Remove required conditions in new ary
AdityaKhatri Dec 21, 2023
003ece5
Add filter query and dashboard data in ARY
puranban Aug 30, 2023
ce6e796
Add map visualization in ary dashboard tab 1
puranban Sep 1, 2023
e7c7042
Add assessment over time chart in ary dashboard
puranban Sep 5, 2023
f506ae0
Refactor and move file in ary dashboard tab1
puranban Sep 5, 2023
6dbdddc
Fix map data in ary dashboard
puranban Sep 6, 2023
c96ca2d
Clean up ary dashboard map and add file for how assessed
puranban Sep 6, 2023
0371574
Fix rechart resizeobserver in ary dashboard
puranban Sep 6, 2023
ebcb97a
Add choropleth in ary dashboard
puranban Sep 6, 2023
33e21a4
Update deep ui to use updated key figure in ary dashboard
AdityaKhatri Sep 6, 2023
6c77bfe
Add admin level select option from selected region in ary dashboard
puranban Sep 7, 2023
79670b6
Use admin level id instead of level to show selections
AdityaKhatri Sep 7, 2023
2c13812
Add map visualization for how assessed in ary dashboard
puranban Sep 7, 2023
2947a90
Change map attribute name and color in ary dashboard
puranban Sep 7, 2023
b3fec8c
Breakdown ary dashboard components
puranban Sep 8, 2023
5a7d43a
Move chart form deep explore to components
puranban Sep 8, 2023
419ecb6
Remove insufficient null in ary dashboard
puranban Sep 8, 2023
d538cc4
Add project start date in bar date selector in ary dashboard
puranban Sep 8, 2023
a600a9c
Set default region value in ary dashboard
puranban Sep 8, 2023
8040a1b
Update map data selection logic in how assessed tab
AdityaKhatri Sep 9, 2023
15827cf
Add box and bubble charts
AdityaKhatri Sep 8, 2023
20cef2b
Add color interpolation in box and bubble chart
AdityaKhatri Sep 10, 2023
de35522
Fix query names in ary dashboard
AdityaKhatri Sep 10, 2023
78e1869
Add columns prop in BoxBarChart
AdityaKhatri Sep 10, 2023
ba21586
Add lead stakeholders chart in what was assessed tab
AdityaKhatri Sep 10, 2023
47c8ea2
Fix start date in ary dashboard
puranban Sep 10, 2023
51b214e
Add quality assessment map visualization in ary dashboard
puranban Sep 10, 2023
f3c90e5
Add choropleth step in ary dashboard
puranban Sep 10, 2023
5c25c54
Add heading component in Bubble chart
puranban Sep 10, 2023
b7cfbca
Add all bubble charts in tab 1 ary dashboard
puranban Sep 10, 2023
59f5f5f
Fix empty data in boxbar chart
puranban Sep 11, 2023
adafc4e
Add ability to send labels to bubble chart
AdityaKhatri Sep 11, 2023
d5a5655
Remove dummy data from ary dashboard main findings
puranban Sep 11, 2023
494fe4f
Add bubble chart in ary dashboard tab 2
puranban Sep 11, 2023
0259fa1
Add brush chart in tab 3
puranban Sep 11, 2023
5ff3161
Add box charts in what assessed
AdityaKhatri Sep 11, 2023
f2043e7
Add chart in tab 3
puranban Sep 11, 2023
4313f0b
Add charts in ary dashboard
puranban Sep 13, 2023
efd4dfa
Fix and clean up ary dashboard charts
puranban Sep 13, 2023
c19dfbe
Update calculation login in radar charts for quality assessments
AdityaKhatri Sep 13, 2023
feebb01
Clean up and add radar chart in ary dashboard
puranban Sep 13, 2023
e000f85
Add default start date in brush line in ary dashboard
puranban Sep 14, 2023
4cebbdc
Add loading in ary dashboard charts
puranban Sep 14, 2023
57165cd
Fix file move issues during rebase
AdityaKhatri Jan 24, 2024
b7f8253
Add missing field costInUsd and remove last 3 tabs
AdityaKhatri Jan 24, 2024
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ generated/
.env.development.local
.env.test.local
.env.production.local
.env

npm-debug.log*
yarn-debug.log*
Expand Down
3 changes: 3 additions & 0 deletions app/Base/configs/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ const apolloOptions: ApolloClientOptions<NormalizedCacheObject> = {
AssistedTaggingMutationType: {
keyFields: [],
},
AssessmentDashboardStatisticsType: {
keyFields: [],
},
},
}),
assumeImmutableResults: true,
Expand Down
53 changes: 33 additions & 20 deletions app/Base/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const assessments = wrap({
if (!project) {
return false;
}
return project.hasAssessmentTemplate;
return project.isAssessmentEnabled;
},
visibility: 'is-authenticated',
});
Expand All @@ -411,7 +411,7 @@ const leadGroups = wrap({
if (!project) {
return false;
}
return project.hasAssessmentTemplate;
return project.isAssessmentEnabled;
},
visibility: 'is-authenticated',
});
Expand Down Expand Up @@ -444,18 +444,6 @@ const aryDashboard = wrap({
componentProps: {
},
visibility: 'is-authenticated',
checkPermissions: (_, project, skipProjectPermissionCheck) => {
if (skipProjectPermissionCheck) {
return true;
}
if (!project) {
return false;
}
return (
project.isVisualizationEnabled
&& project.hasAssessmentTemplate
);
},
});

const exportRoute = wrap({
Expand Down Expand Up @@ -516,12 +504,36 @@ const newAssessmentExportCreateRoute = wrap({
},
});

const assessmentEditRoute = wrap({
const newAssessmentEditRoute = wrap({
parent: { path: projectRoute.path },
path: '/assessments/leads/:leadId(\\d+)/',
path: '/assessments/:assessmentId(\\d+)/',
title: 'Edit Assessment',
navbarVisibility: false,
component: lazy(() => import('#views/EditAssessment')),
component: lazy(() => import('#views/EditAry')),
componentProps: {
},
visibility: 'is-authenticated',
checkPermissions: (_, project, skipProjectPermissionCheck) => {
if (skipProjectPermissionCheck) {
return true;
}
if (!project) {
return false;
}
// NOTE: using permission for LEAD as we don't have one for assessment
return project.isAssessmentEnabled && (
project.allowedPermissions.includes('CREATE_LEAD')
|| project.allowedPermissions.includes('UPDATE_LEAD')
);
},
});

const createNewAssessmentEditRoute = wrap({
parent: { path: projectRoute.path },
path: '/assessments/new/',
title: 'Create Assessment',
navbarVisibility: false,
component: lazy(() => import('#views/EditAry')),
componentProps: {
},
visibility: 'is-authenticated',
Expand All @@ -533,7 +545,7 @@ const assessmentEditRoute = wrap({
return false;
}
// NOTE: using permission for LEAD as we don't have one for assessment
return project.hasAssessmentTemplate && (
return project.isAssessmentEnabled && (
project.allowedPermissions.includes('CREATE_LEAD')
|| project.allowedPermissions.includes('UPDATE_LEAD')
);
Expand All @@ -557,7 +569,7 @@ const groupAssessmentEditRoute = wrap({
return false;
}
// NOTE: using permission for LEAD as we don't have one for assessment
return project.hasAssessmentTemplate && (
return project.isAssessmentEnabled && (
project.allowedPermissions.includes('CREATE_LEAD')
|| project.allowedPermissions.includes('UPDATE_LEAD')
);
Expand Down Expand Up @@ -675,8 +687,9 @@ const routes = {
newReport: newReportRoute,
assessmentExportCreate: newAssessmentExportCreateRoute,
entryEdit: entryEditRoute,
assessmentEdit: assessmentEditRoute,
groupAssessmentEdit: groupAssessmentEditRoute,
newAssessmentEdit: newAssessmentEditRoute,
createNewAssessmentEdit: createNewAssessmentEditRoute,
entryEditRedirect,
documentViewerRedirect,
projectRedirect,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { PendingMessage } from '@the-deep/deep-ui';
import React, { useMemo, useCallback } from 'react';
import {
VictoryChart,
VictoryBrushContainer,
VictoryLine,
VictoryAxis,
VictoryArea,
} from 'victory';
import React, { useMemo, useCallback } from 'react';

const today = new Date().getTime();

Expand All @@ -17,6 +18,7 @@ interface Props {
onChange: (startDate: number | undefined, endDate: number | undefined) => void;
data: { total: number, date: number }[];
readOnly?: boolean;
loading?: boolean;
}

function BrushLineChart(props: Props) {
Expand All @@ -28,6 +30,7 @@ function BrushLineChart(props: Props) {
endDate,
onChange,
readOnly = false,
loading,
} = props;

const maxCount = useMemo(() => Math.max(...data.map((datum) => datum.total)), [data]);
Expand Down Expand Up @@ -62,6 +65,7 @@ function BrushLineChart(props: Props) {

return (
<div>
{loading && <PendingMessage />}
<svg style={{ height: 0 }}>
<defs>
<linearGradient
Expand Down
184 changes: 184 additions & 0 deletions app/components/EntityCreationLineChart/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
import React, { useMemo, useCallback, ReactNode } from 'react';
import {
_cs,
formatDateToString,
} from '@togglecorp/fujs';
import {
ContainerCard,
Message,
Kraken,
PendingMessage,
} from '@the-deep/deep-ui';
import {
AreaChart,
ResponsiveContainer,
XAxis,
YAxis,
Area,
Tooltip,
} from 'recharts';

import {
formatDate,
formatMonth,
formatYear,
getTimeseriesWithoutGaps,
} from '#utils/temporal';

import ResolutionSelectInput from './ResolutionSelectInput';
import ChartTypeSelectInput from './ChartTypeSelectInput';

import styles from './styles.css';

type Timeseries = {
date: string;
count: number;
}

interface Props {
className?: string;
heading: ReactNode;
timeseries: Timeseries[] | undefined;
startDate: number;
endDate: number;
loading?: boolean;
}

function EntityCreationLineChart(props: Props) {
const {
className,
heading,
timeseries,
startDate,
endDate,
loading,
} = props;

const startDateString = formatDateToString(new Date(startDate), 'yyyy-MM-dd');
const endDateString = formatDateToString(new Date(endDate), 'yyyy-MM-dd');

const [resolution, setResolution] = React.useState<'year' | 'month' | 'day'>('month');
const [chartType, setChartType] = React.useState<'step' | 'spark'>('spark');

const timeFormatter = useMemo(() => {
if (resolution === 'day') {
return formatDate;
}
return resolution === 'month' ? formatMonth : formatYear;
}, [resolution]);

const timeseriesWithoutGaps = useMemo(
() => getTimeseriesWithoutGaps(
timeseries,
resolution,
startDateString,
endDateString,
),
[
timeseries,
resolution,
startDateString,
endDateString,
],
);

const timeSpentLabelFormatter = useCallback((value: number): [number, string] => (
[value, `Total ${heading}`]
), [heading]);

return (
<ContainerCard
className={_cs(styles.entityCreationLineChart, className)}
heading={heading}
headingSize="extraSmall"
spacing="loose"
contentClassName={styles.content}
headerActions={(
<>
<ResolutionSelectInput
value={resolution}
onChange={setResolution}
/>
<ChartTypeSelectInput
value={chartType}
onChange={setChartType}
/>
</>
)}
borderBelowHeaderWidth="thin"
borderBelowHeader
>
{loading && <PendingMessage />}
{(timeseries?.length ?? 0) > 0 ? (
<ResponsiveContainer debounce={300} className={styles.responsiveContainer}>
<AreaChart
data={timeseriesWithoutGaps}
>
<defs>
<linearGradient
id="stat"
x1="0"
y1="0"
x2="0"
y2="1"
>
<stop
offset="5%"
stopColor="var(--dui-color-accent)"
stopOpacity={0.6}
/>
<stop
offset="95%"
stopColor="var(--dui-color-accent)"
stopOpacity={0}
/>
</linearGradient>
</defs>
<XAxis
dataKey="date"
type="number"
scale="time"
domain={['dataMin', 'dataMax']}
allowDuplicatedCategory={false}
tick={{ strokeWidth: 1 }}
tickFormatter={timeFormatter}
minTickGap={20}
interval="preserveStartEnd"
padding={{ left: 10, right: 30 }}
hide
/>
<YAxis
axisLine={false}
tickLine={false}
type="number"
dataKey="total"
padding={{ top: 0, bottom: 0 }}
hide
/>
<Tooltip
labelFormatter={timeFormatter}
formatter={timeSpentLabelFormatter}
/>
<Area
type={chartType === 'step' ? 'step' : 'linear'}
dataKey="total"
stroke="var(--dui-color-accent)"
fillOpacity={1}
fill="url(#stat)"
strokeWidth={2}
connectNulls
activeDot
/>
</AreaChart>
</ResponsiveContainer>
) : (
<Message
message="Data not found"
icon={<Kraken variant="whip" />}
/>
)}
</ContainerCard>
);
}

export default EntityCreationLineChart;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
border: var(--dui-width-separator-thin) solid var(--dui-color-separator);

.content {
display: flex;
flex-direction: column;
flex-shrink: 0;
justify-content: center;
padding: var(--dui-spacing-large);
height: 20rem;
overflow: unset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import {
} from '#components/entry/schema';
import { Framework } from '#components/entry/types';

import { createDefaultAttributes } from '../../utils';
import AssistPopup from './AssistPopup';
import {
createOrganigramAttr,
Expand All @@ -61,6 +60,9 @@ import {
createMultiSelectAttr,
createGeoAttr,
} from './utils';
import {
createDefaultAttributes,
} from '../utils';

import styles from './styles.css';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
} from '#utils/types';

import { GeoArea } from '#components/GeoMultiSelectInput';

import {
PartialAttributeType,
} from '#components/entry/schema';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import {
UpdateDraftEntryMutationVariables,
} from '#generated/types';
import AssistPopup from '../AssistItem/AssistPopup';
import { createDefaultAttributes } from '../../utils';
import { createDefaultAttributes } from '../utils';
import {
createOrganigramAttr,
createMatrix1dAttr,
Expand Down
Loading