-
Notifications
You must be signed in to change notification settings - Fork 0
π¨ Palette: λΉνμ±νλ λ²νΌ μ€νμΌ μΆκ° #934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| π¨ Palette: λΉνμ±νλ λ²νΌ μ€νμΌ μΆκ° | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,7 @@ | |
| input{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:8px;min-width:280px} | ||
| button{font:inherit;font-weight:600;padding:8px 14px;border:0;border-radius:8px;background:var(--primary);color:var(--on-primary);cursor:pointer} | ||
| button.ghost{background:var(--surface);color:var(--primary);border:1px solid var(--border)} | ||
| button:disabled, button[aria-busy="true"]{opacity:0.6;cursor:not-allowed;pointer-events:none} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π― Functional Correctness | π‘ Minor | β‘ Quick win π§© Analysis chainπ Script executed: #!/bin/bash
set -euo pipefail
rg -n -C 6 'aria-busy|disabled|setAttribute\("aria-busy"' scanner/dashboard/console.htmlRepository: ContextualWisdomLab/appguardrail Length of output: 3438 π Script executed: #!/bin/bash
set -euo pipefail
sed -n '100,185p' scanner/dashboard/console.html
python3 - <<'PY'
from pathlib import Path
import re
text = Path("scanner/dashboard/console.html").read_text()
for m in re.finditer(r'aria-busy', text):
line = text.count("\n", 0, m.start()) + 1
start = max(0, text.rfind("\n", 0, m.start()) + 1)
end = text.find("\n", m.start())
print(f"line {line}: {text[start:end]}")
PYRepository: ContextualWisdomLab/appguardrail Length of output: 6445
π€ Prompt for AI Agents |
||
| .card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;margin-bottom:16px} | ||
| .stats{display:flex;gap:12px;flex-wrap:wrap} | ||
| .stat{flex:1;min-width:130px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Maintainability & Code Quality | π‘ Minor | β‘ Quick win
aria-busyμνλ₯Ό λ³κ²½ λ‘κ·Έμ ν¬ν¨νμΈμ.μ΄ λ³κ²½μ
disabledλ²νΌλΏ μλλΌbutton[aria-busy="true"]μλ μ μ©λ©λλ€. νμ¬ μ λͺ©μ λ³κ²½ λ²μλ₯Όdisabledλ‘λ§ μ€λͺ ν©λλ€. μ λͺ©μπ¨ Palette: λΉνμ±ν λ° aria-busy λ²νΌ μ€νμΌ μΆκ°μ²λΌ μμ νμΈμ.π€ Prompt for AI Agents