UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: корректировка аналитики главной
This commit is contained in:
parent
d7260bdfce
commit
ae262487ac
|
|
@ -106,7 +106,6 @@ const CreatedVsResolved = observer(function CreatedVsResolved() {
|
||||||
areas={areas}
|
areas={areas}
|
||||||
xAxis={{
|
xAxis={{
|
||||||
key: "name",
|
key: "name",
|
||||||
label: t("date"),
|
|
||||||
}}
|
}}
|
||||||
yAxis={{
|
yAxis={{
|
||||||
key: "count",
|
key: "count",
|
||||||
|
|
|
||||||
|
|
@ -210,15 +210,15 @@ const PriorityChart = observer(function PriorityChart(props: Props) {
|
||||||
bars={bars}
|
bars={bars}
|
||||||
barSize={chart_model === EChartModels.STACKED ? 72 : 86}
|
barSize={chart_model === EChartModels.STACKED ? 72 : 86}
|
||||||
margin={{
|
margin={{
|
||||||
top: 12,
|
top: isPeekView ? 32 : 12,
|
||||||
right: 16,
|
right: 16,
|
||||||
bottom: 34,
|
bottom: isPeekView ? 28 : 34,
|
||||||
left: 8,
|
left: 8,
|
||||||
}}
|
}}
|
||||||
xAxis={{
|
xAxis={{
|
||||||
key: "name",
|
key: "name",
|
||||||
label: xAxisLabel,
|
label: xAxisLabel,
|
||||||
dy: 30,
|
dy: isPeekView ? 24 : 30,
|
||||||
}}
|
}}
|
||||||
yAxis={{
|
yAxis={{
|
||||||
key: "count",
|
key: "count",
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ function HomeActivityMiniCard(props: HomeProjectInsightsProps) {
|
||||||
<div className="text-15 mt-2 font-semibold text-primary">Активность</div>
|
<div className="text-15 mt-2 font-semibold text-primary">Активность</div>
|
||||||
<div className="mt-1 text-12 text-secondary">Касания за последние 7 дней.</div>
|
<div className="mt-1 text-12 text-secondary">Касания за последние 7 дней.</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="nodedc-home-focus-chip">{recentTouchpoints}</div>
|
<div className="nodedc-home-focus-chip nodedc-home-corner-badge">{recentTouchpoints}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="nodedc-home-activity-mini-chart">
|
<div className="nodedc-home-activity-mini-chart">
|
||||||
|
|
@ -525,7 +525,7 @@ export const HomeAnalyticsRail = observer(function HomeAnalyticsRail(props: Home
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2 text-16 font-semibold text-primary">Аналитика проекта</div>
|
<div className="mt-2 text-16 font-semibold text-primary">Аналитика проекта</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="nodedc-home-focus-chip">{completionRate}%</div>
|
<div className="nodedc-home-focus-chip nodedc-home-corner-badge">{completionRate}%</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="nodedc-home-analytics-stat-grid mt-4">
|
<div className="nodedc-home-analytics-stat-grid mt-4">
|
||||||
|
|
|
||||||
|
|
@ -2974,7 +2974,7 @@
|
||||||
|
|
||||||
.nodedc-home-main-column {
|
.nodedc-home-main-column {
|
||||||
--nodedc-home-gantt-height: 35.75rem;
|
--nodedc-home-gantt-height: 35.75rem;
|
||||||
--nodedc-home-individual-chart-height: 11.25rem;
|
--nodedc-home-individual-chart-height: 14.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
|
@ -3163,10 +3163,16 @@
|
||||||
background: rgba(0, 0, 0, 0.18) !important;
|
background: rgba(0, 0, 0, 0.18) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nodedc-home-individual-analytics .nodedc-analytics-chart-viewport {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
padding: 0.9rem 0.45rem 0.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.nodedc-home-individual-analytics .nodedc-analytics-chart-inner {
|
.nodedc-home-individual-analytics .nodedc-analytics-chart-inner {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
min-width: 22rem;
|
min-width: 22rem;
|
||||||
height: calc(var(--nodedc-home-individual-chart-height) - 0.75rem) !important;
|
height: calc(var(--nodedc-home-individual-chart-height) - 1.1rem) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nodedc-home-individual-analytics .nodedc-analytics-table-surface table {
|
.nodedc-home-individual-analytics .nodedc-analytics-table-surface table {
|
||||||
|
|
@ -3198,15 +3204,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.nodedc-home-analytics-intro {
|
.nodedc-home-analytics-intro {
|
||||||
|
position: relative;
|
||||||
min-height: 10rem;
|
min-height: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nodedc-home-activity-mini {
|
.nodedc-home-activity-mini {
|
||||||
|
position: relative;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
min-height: 15rem;
|
min-height: 15rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nodedc-home-analytics-intro > .flex:first-child,
|
||||||
|
.nodedc-home-activity-mini > .flex:first-child {
|
||||||
|
padding-right: 2.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.nodedc-home-activity-mini-chart {
|
.nodedc-home-activity-mini-chart {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 10.5rem;
|
height: 10.5rem;
|
||||||
|
|
@ -4643,6 +4656,18 @@
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nodedc-home-corner-badge {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.125rem;
|
||||||
|
right: 0.125rem;
|
||||||
|
width: 2.5rem;
|
||||||
|
min-width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
min-height: 2.5rem;
|
||||||
|
padding: 0 !important;
|
||||||
|
border-radius: 999px;
|
||||||
|
}
|
||||||
|
|
||||||
.nodedc-home-focus-track {
|
.nodedc-home-focus-track {
|
||||||
height: 0.62rem;
|
height: 0.62rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue