SHA256
Добавлены родственные связи, расширен граф связей и улучшен локальный запуск
Что добавлено:\n- Новые типы CONNECTION для родственников: parent/child/sibling (50/51, 52/53, 54/55) в blockchain/db слоях.\n- Обновлены проверки ConnectionBody и DB-триггер connections_state для корректной записи/удаления новых связей.\n- В профиле добавлен блок "Близкие родственники" с модальным выбором типа связи и логина; добавление через AddBlock для parent/child/sibling.\n- Расширен API GetUserConnectionsGraph: out/in списки для родителей/детей/сиблингов, агрегированные списки родственников с полом, список allUsers с метками официальный/сияющий.\n- Полностью обновлен UI страницы "Связи": новое позиционирование родственников вокруг центра, отдельный цвет родственных связей, линия для взаимных связей и стрелка для односторонних, корректная геометрия линий при ресайзе.\n- Добавлена Gradle-задача startLocalWithBuild для запуска локального стека после build; сохранена отдельная startLocal без полного build.
This commit is contained in:
@@ -253,7 +253,8 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.profile-gender-select {
|
||||
.profile-gender-select,
|
||||
.profile-relation-select {
|
||||
min-height: 46px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(157, 185, 238, 0.35);
|
||||
@@ -264,7 +265,8 @@
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.profile-gender-select:focus {
|
||||
.profile-gender-select:focus,
|
||||
.profile-relation-select:focus {
|
||||
border-color: rgba(120, 211, 255, 0.9);
|
||||
box-shadow: 0 0 0 3px rgba(65, 174, 255, 0.2);
|
||||
}
|
||||
@@ -846,16 +848,74 @@ textarea.input {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.network-legend {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
font-size: 12px;
|
||||
color: #bfd2ff;
|
||||
}
|
||||
|
||||
.network-legend span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.legend-line,
|
||||
.legend-arrow {
|
||||
width: 18px;
|
||||
height: 2px;
|
||||
display: inline-block;
|
||||
border-radius: 2px;
|
||||
background: rgba(120, 179, 255, 0.95);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.legend-line.relative {
|
||||
background: rgba(255, 159, 94, 0.95);
|
||||
}
|
||||
|
||||
.legend-arrow::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -3px;
|
||||
border-top: 4px solid transparent;
|
||||
border-bottom: 4px solid transparent;
|
||||
border-left: 6px solid rgba(120, 179, 255, 0.95);
|
||||
}
|
||||
|
||||
.network-svg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.network-link {
|
||||
stroke-width: 2;
|
||||
}
|
||||
|
||||
.network-link.is-friend {
|
||||
stroke: rgba(120, 179, 255, 0.88);
|
||||
}
|
||||
|
||||
.network-link.is-relative {
|
||||
stroke: rgba(255, 159, 94, 0.9);
|
||||
}
|
||||
|
||||
.node {
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 74px;
|
||||
width: 90px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.node-dot {
|
||||
@@ -866,8 +926,18 @@ textarea.input {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-weight: 700;
|
||||
background: #2f4265;
|
||||
background: #2b3f66;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 8px 16px rgba(4, 8, 15, 0.35);
|
||||
}
|
||||
|
||||
.node.is-friend .node-dot {
|
||||
background: linear-gradient(165deg, #2f4f80, #2a3f62);
|
||||
}
|
||||
|
||||
.node.is-relative .node-dot {
|
||||
background: linear-gradient(165deg, #785038, #5f3e2c);
|
||||
border-color: rgba(255, 194, 143, 0.55);
|
||||
}
|
||||
|
||||
.node.center .node-dot {
|
||||
@@ -880,6 +950,13 @@ textarea.input {
|
||||
.node-label {
|
||||
font-size: 11px;
|
||||
color: #d6e2ff;
|
||||
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
.node:focus-visible .node-dot,
|
||||
.node:hover .node-dot {
|
||||
border-color: rgba(166, 218, 255, 0.92);
|
||||
box-shadow: 0 0 0 3px rgba(77, 160, 255, 0.2), 0 8px 16px rgba(4, 8, 15, 0.35);
|
||||
}
|
||||
|
||||
.node-menu {
|
||||
|
||||
Reference in New Issue
Block a user