Skip to content

Comments

fix: simplify dashboard save conversion prompt#48

Merged
ikjeong merged 1 commit intomainfrom
fix/dashboard
Dec 10, 2025
Merged

fix: simplify dashboard save conversion prompt#48
ikjeong merged 1 commit intomainfrom
fix/dashboard

Conversation

@ikjeong
Copy link
Contributor

@ikjeong ikjeong commented Dec 10, 2025

Summary

  • 대시보드 저장 시 매번 "code-policy.json 없음" 오류가 표시되는 버그 수정

Changes

  • policy-editor.js: code-policy.json 존재 체크 로직 제거 (HTTP fetch가 항상 404 반환하던 버그)
  • policy-editor.js: 저장 후 항상 변환 여부 확인 프롬프트 표시하도록 변경
  • policy-editor.js: 불필요한 레거시 코드 정리 (createStableJSON, originalRules, originalRBAC)

- Remove broken code-policy.json existence check via HTTP fetch
- Always prompt user for conversion after save
- Remove unused createStableJSON function and change detection logic
@ikjeong ikjeong self-assigned this Dec 10, 2025
@ikjeong ikjeong changed the title fix: simplify dashboard save conversion prompt - Remove broken code-policy.json existence check via HTTP fetch - Always prompt user for conversion after save - Remove unused createStableJSON function and change detection logic fix: simplify dashboard save conversion prompt Dec 10, 2025
@ikjeong ikjeong merged commit 8e1e138 into main Dec 10, 2025
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.

1 participant