Skip to content

feat: 인사이트맵 엣지 라벨(related_to) 난잡함 개선 - #52

Merged
wonzz merged 3 commits into
mainfrom
feature/insight-map-edge-label-declutter
Jul 4, 2026
Merged

wonzz merged 3 commits into
mainfrom
feature/insight-map-edge-label-declutter

Conversation

@gpffh20

@gpffh20 gpffh20 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

변경 내용

  • 인사이트맵 그래프에서 모든 엣지에 항상 표시되던 관계 라벨(related_to 등) 텍스트를 기본적으로 숨김
  • 노드를 클릭해 하이라이트된 엣지에서만 관계 라벨을 표시
  • 클릭하지 않아도 엣지에 마우스를 올리면 네이티브 <title> 툴팁으로 관계를 확인 가능

검증 결과

  • tsc --noEmit 통과
  • npm run build 통과, 빌드 산출물(dist/) 갱신

영향 범위

  • /insight-map 페이지 그래프 렌더링(시각적)만 영향, API/로직 변경 없음

리뷰 포인트

  • 기본 화면이 덜 난잡해졌는지, 노드 선택 시 관계 라벨이 여전히 잘 보이는지 확인

gpffh20 added 3 commits July 4, 2026 23:27
Hide relation labels (related_to etc.) on all edges by default; show them only on selected node's highlighted edges, and expose via native tooltip on hover otherwise.
Search input and 데이터 범위 legend box were still using the old dark-theme background (#1e1e2e); switch them to #f4faf6 to match the rest of the light theme, with text/border contrast adjusted accordingly.
Backend's soap-case-indexes source-link endpoint returns a path (/patients/.../soap-notes/...) that has no matching FE route, so it fell through the wildcard redirect. The insight-map node payload already carries session_id, so navigate straight to /sessions/:id (the same route ReportsPage's '보기' button uses) instead of window.open()-ing the unroutable backend URL.
@gpffh20 gpffh20 self-assigned this Jul 4, 2026
@wonzz
wonzz self-requested a review July 4, 2026 15:15
@wonzz
wonzz merged commit 705eaa4 into main Jul 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants