Skip to content

Commit

Permalink
User Interface: Moving 'About/Description' Section to the Top in ODD #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenzer authored Aug 2, 2024
1 parent 9e6d216 commit 5a4f3bd
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,9 @@ const Overview: React.FC = () => {
)}
<SectionContainer square elevation={0}>
<WithPermissionsProvider
allowedPermissions={[
Permission.DATA_ENTITY_CUSTOM_METADATA_CREATE,
Permission.DATA_ENTITY_CUSTOM_METADATA_UPDATE,
Permission.DATA_ENTITY_CUSTOM_METADATA_DELETE,
]}
allowedPermissions={[Permission.DATA_ENTITY_DESCRIPTION_UPDATE]}
resourcePermissions={resourcePermissions}
Component={OverviewMetadata}
render={() => <OverviewDescription termRefs={termRefs} />}
/>
</SectionContainer>
<SectionContainer square elevation={0}>
Expand All @@ -81,14 +77,18 @@ const Overview: React.FC = () => {
Component={OverviewAttachments}
/>
</SectionContainer>
<OverviewMetrics showOverview={isDataset} />
<SectionContainer square elevation={0}>
<WithPermissionsProvider
allowedPermissions={[Permission.DATA_ENTITY_DESCRIPTION_UPDATE]}
allowedPermissions={[
Permission.DATA_ENTITY_CUSTOM_METADATA_CREATE,
Permission.DATA_ENTITY_CUSTOM_METADATA_UPDATE,
Permission.DATA_ENTITY_CUSTOM_METADATA_DELETE,
]}
resourcePermissions={resourcePermissions}
render={() => <OverviewDescription termRefs={termRefs} />}
Component={OverviewMetadata}
/>
</SectionContainer>
<OverviewMetrics showOverview={isDataset} />
</Grid>
<Grid item xs={3}>
<SectionContainer square elevation={0}>
Expand Down Expand Up @@ -156,4 +156,4 @@ const Overview: React.FC = () => {
</>
);
};
export default Overview;
export default Overview;

0 comments on commit 5a4f3bd

Please sign in to comment.