Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@
## 2024-06-26 - [Abbreviation Comprehension in ERD Nodes]
**Learning:** Users without deep database administration backgrounds may not immediately recognize domain-specific abbreviations like "PK" or "FK" rendered as minimalist badges inside dense ERD nodes.
**Action:** Always provide `title` attributes on technical acronym badges (like Primary Key / Foreign Key) to ensure clarity and improve accessibility without cluttering the space-constrained node UI.

## 2024-07-04 - [EditEdgeModal μ‚­μ œ λ²„νŠΌ μ ‘κ·Όμ„± κ°œμ„ ]
**Learning:** λͺ¨λ‹¬ λŒ€ν™”μƒμž 내에 μœ„μΉ˜ν•œ 일반적인 "μ‚­μ œ"와 같은 μ•‘μ…˜ λ²„νŠΌμ€ μ‹œκ°μ μœΌλ‘œλŠ” λ§₯락(예: μ–΄λ–€ 관계λ₯Ό μ‚­μ œν•˜λŠ”μ§€)이 μ£Όμ–΄μ§€μ§€λ§Œ, 슀크린 리더 μ‚¬μš©μžμ—κ²ŒλŠ” λ‹¨μˆœν•œ "μ‚­μ œ" λ²„νŠΌμœΌλ‘œλ§Œ μ½ν˜€μ„œ μ–΄λ–€ ν•­λͺ©μ΄ μ‚­μ œλ˜λŠ”μ§€ λͺ¨ν˜Έν•¨μ„ μœ λ°œν•  수 μžˆμŠ΅λ‹ˆλ‹€.
**Action:** λŒ€ν™”μƒμžμ—μ„œ ν•­λͺ©μ„ μ‚­μ œν•˜λŠ” 일반적인 λ²„νŠΌμ—λŠ” `aria-label`을 μ‚¬μš©ν•˜μ—¬ 동적 λ§₯락(예: `${source}μ—μ„œ ${target}둜의 관계 μ‚­μ œ`)을 λͺ…ν™•νžˆ μ œκ³΅ν•¨μœΌλ‘œμ¨ 슀크린 리더 ν™˜κ²½μ˜ λͺ¨ν˜Έν•¨μ„ λ°©μ§€ν•΄μ•Ό ν•©λ‹ˆλ‹€.
9 changes: 6 additions & 3 deletions frontend/src/components/modals/EditEdgeModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import React from "react";
import type { Edge } from "@xyflow/react";
import { useDialogAccessibility } from './useDialogAccessibility';
import { useDialogAccessibility } from "./useDialogAccessibility";

interface EditEdgeModalProps {
editingEdge: Edge | null;
Expand Down Expand Up @@ -79,11 +79,14 @@ export function EditEdgeModal({
type="button"
onClick={onRelDelete}
style={{ color: "#b91c1c", borderColor: "#fca5a5" }}
aria-label={`${editingEdge.source}μ—μ„œ ${editingEdge.target}둜의 관계 μ‚­μ œ`}
>
μ‚­μ œ
</button>
<div className="row">
<button type="button" onClick={onRelCancel}>μ·¨μ†Œ</button>
<button type="button" onClick={onRelCancel}>
μ·¨μ†Œ
</button>
<button
type="button"
onClick={onRelSubmit}
Expand Down