Skip to content

Commit 190929d

Browse files
committed
chore: replaced UI facing attribute and entity mentions on insights page with column and tables instead.
1 parent e490b20 commit 190929d

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

Website/components/insightsview/overview/InsightsOverviewView.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
5454

5555
return [
5656
{
57-
category: 'Entities',
57+
category: 'Tables',
5858
standard: standardEntities.length,
5959
custom: customEntities.length,
6060
},
6161
{
62-
category: 'Attributes',
62+
category: 'Columns',
6363
standard: standardAttributes.length,
6464
custom: customAttributes.length,
6565
},
@@ -251,21 +251,21 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
251251
<Grid size={{ xs: 12, md: 5 }}>
252252
<Paper elevation={0} className="p-4 flex rounded-2xl">
253253
<Stack className="w-full" direction="column" spacing={2} alignItems="center" justifyContent="center">
254-
{/* Ungrouped Entities */}
255-
<Tooltip title={"Entities: " + ungroupedEntities.map(entity => entity.SchemaName).join(", ")}>
254+
{/* Ungrouped Tables */}
255+
<Tooltip title={"Tables: " + ungroupedEntities.map(entity => entity.SchemaName).join(", ")}>
256256
<Box className="text-center px-4 py-1 rounded-lg flex items-center w-full" gap={2} sx={{ backgroundColor: 'background.default' }}>
257257
<Box className="h-8 w-8" sx={{ color: 'error.main' }}>{WarningIcon}</Box>
258258
<Typography variant="h4" className="font-semibold p-0 m-0" sx={{ color: 'text.primary' }}>{ungroupedEntities.length}</Typography>
259-
<Typography variant="body2" className="p-0 m-0" sx={{ color: 'text.secondary' }}>Entities ungrouped</Typography>
259+
<Typography variant="body2" className="p-0 m-0" sx={{ color: 'text.secondary' }}>Tables ungrouped</Typography>
260260
</Box>
261261
</Tooltip>
262262

263-
{/* No Icon Entities */}
264-
<Tooltip title={"Entities: " + missingIconEntities.map(entity => entity.SchemaName).join(", ")}>
263+
{/* No Icon Tables */}
264+
<Tooltip title={"Tables: " + missingIconEntities.map(entity => entity.SchemaName).join(", ")}>
265265
<Box className="text-center px-4 py-1 rounded-lg flex items-center w-full" gap={2} sx={{ backgroundColor: 'background.default' }}>
266266
<Box className="h-8 w-8" sx={{ color: 'error.main' }}>{WarningIcon}</Box>
267267
<Typography variant="h4" className="font-semibold p-0 m-0" sx={{ color: 'text.primary' }}>{missingIconEntities.length}</Typography>
268-
<Typography variant="body2" className="p-0 m-0" sx={{ color: 'text.secondary' }}>Entities without icons</Typography>
268+
<Typography variant="body2" className="p-0 m-0" sx={{ color: 'text.secondary' }}>Tables without icons</Typography>
269269
</Box>
270270
</Tooltip>
271271

@@ -302,7 +302,7 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
302302
<Grid size={{ xs: 12, md: 4 }}>
303303
<InfoCard
304304
color="warning.main"
305-
title="Attribute Process Dependencies"
305+
title="Column Process Dependencies"
306306
value={totalAttributeUsageCount}
307307
iconSrc={ProcessesIcon}
308308
/>
@@ -314,7 +314,7 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
314314
<Typography variant="h6" sx={{ color: 'text.primary' }}>
315315
Data Model Distribution: Standard vs Custom
316316
</Typography>
317-
<Tooltip title="Shows the distribution of standard (out-of-the-box) versus custom entities, attributes, and relationships in your Dataverse environment. This helps identify customization levels across your data model." arrow placement="left">
317+
<Tooltip title="Shows the distribution of standard (out-of-the-box) versus custom tables, columns, and relationships in your Dataverse environment. This helps identify customization levels across your data model." arrow placement="left">
318318
<IconButton size="small" sx={{ color: 'text.secondary' }}>
319319
<Box sx={{ width: 20, height: 20 }}>{InfoIcon}</Box>
320320
</IconButton>
@@ -618,9 +618,9 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
618618
<Paper elevation={2} className="p-6 rounded-2xl">
619619
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', mb: 2 }}>
620620
<Typography variant="h6" sx={{ color: 'text.primary' }}>
621-
Entity Features Distribution
621+
Table Features Distribution
622622
</Typography>
623-
<Tooltip title="Shows the distribution of key entity features enabled in your data model, including audit tracking, activity entities, and notes functionality. This provides insight into which capabilities are being utilized." arrow placement="left">
623+
<Tooltip title="Shows the distribution of key table features enabled in your data model, including audit tracking, activity tables, and notes functionality. This provides insight into which capabilities are being utilized." arrow placement="left">
624624
<IconButton size="small" sx={{ color: 'text.secondary' }}>
625625
<Box sx={{ width: 20, height: 20 }}>{InfoIcon}</Box>
626626
</IconButton>
@@ -674,9 +674,9 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
674674
<Paper elevation={2} className="p-6 rounded-2xl">
675675
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', mb: 2 }}>
676676
<Typography variant="h6" sx={{ color: 'text.primary' }}>
677-
Attribute Types Distribution
677+
Column Types Distribution
678678
</Typography>
679-
<Tooltip title="Breaks down all attributes by their data type (e.g., String, Integer, Lookup, DateTime). This helps understand the composition of your data model and identify commonly used field types." arrow placement="left">
679+
<Tooltip title="Breaks down all columns by their data type (e.g., String, Integer, Lookup, DateTime). This helps understand the composition of your data model and identify commonly used field types." arrow placement="left">
680680
<IconButton size="small" sx={{ color: 'text.secondary' }}>
681681
<Box sx={{ width: 20, height: 20 }}>{InfoIcon}</Box>
682682
</IconButton>
@@ -730,9 +730,9 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
730730
<Paper elevation={2} className="p-6 rounded-2xl">
731731
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', mb: 2 }}>
732732
<Typography variant="h6" sx={{ color: 'text.primary' }}>
733-
Attribute Process Dependencies by Type
733+
Column Process Dependencies by Type
734734
</Typography>
735-
<Tooltip title="Shows which types of components (plugins, flows, web resources, etc.) are using attributes from your data model. This identifies where attributes are referenced in business logic and automation." arrow placement="left">
735+
<Tooltip title="Shows which types of components (plugins, flows, web resources, etc.) are using columns from your data model. This identifies where columns are referenced in business logic and automation." arrow placement="left">
736736
<IconButton size="small" sx={{ color: 'text.secondary' }}>
737737
<Box sx={{ width: 20, height: 20 }}>{InfoIcon}</Box>
738738
</IconButton>
@@ -786,9 +786,9 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
786786
<Paper elevation={2} className="p-6 rounded-2xl">
787787
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', mb: 2 }}>
788788
<Typography variant="h6" sx={{ color: 'text.primary' }}>
789-
Attribute Process Dependencies by Detection Source
789+
Column Process Dependencies by Detection Source
790790
</Typography>
791-
<Tooltip title="Compares attribute usages found by the analyzer (scanning component source code) versus those detected through dependency analysis. This shows the effectiveness of different detection methods." arrow placement="left">
791+
<Tooltip title="Compares column usages found by the analyzer (scanning component source code) versus those detected through dependency analysis. This shows the effectiveness of different detection methods." arrow placement="left">
792792
<IconButton size="small" sx={{ color: 'text.secondary' }}>
793793
<Box sx={{ width: 20, height: 20 }}>{InfoIcon}</Box>
794794
</IconButton>

Website/components/insightsview/solutions/InsightsSolutionView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ const InsightsSolutionView = ({ }: InsightsSolutionViewProps) => {
323323
<Typography variant="body2" sx={{ color: 'text.secondary' }}>
324324
{component.Name} ({
325325
component.ComponentType === SolutionComponentTypeEnum.Entity
326-
? 'Entity'
326+
? 'Table'
327327
: component.ComponentType === SolutionComponentTypeEnum.Attribute
328-
? 'Attribute'
328+
? 'Column'
329329
: component.ComponentType === SolutionComponentTypeEnum.Relationship
330330
? 'Relationship'
331331
: 'Unknown'

0 commit comments

Comments
 (0)