When a user creates their first FrilVault note, check whether the .vault/ directory is ignored by Git.
If .vault/ is not present in .gitignore, show a prompt asking the user whether it should be added automatically.
This helps prevent accidentally committing personal notes and annotations to a repository.
사용자가 처음으로 FrilVault 노트를 생성할 때 .vault/ 디렉터리가 Git에서 무시되고 있는지 확인합니다.
만약 .gitignore에 .vault/가 등록되어 있지 않다면, 자동으로 추가할지 사용자에게 안내합니다.
이를 통해 개인 메모나 주석 파일이 실수로 Git 저장소에 커밋되는 것을 방지할 수 있습니다.
Expected Behavior
- User creates a note for the first time.
- FrilVault checks for
.gitignore.
- If
.vault/ is not ignored:
- Show a prompt:
- Add to .gitignore
- Skip
- Never Ask Again
- If the user selects "Add to .gitignore":
- Append
.vault/ to the project's .gitignore.
Notes
- The prompt should only appear when a note is actually created (Just-in-time UX).
- Avoid showing warnings when opening a workspace.
- Respect the user's "Never Ask Again" preference.
기대 동작
- 사용자가 첫 번째 노트를 생성한다.
- FrilVault가
.gitignore를 확인한다.
.vault/가 등록되어 있지 않다면:
- 팝업 표시
- Add to .gitignore
- Skip
- Never Ask Again
- 사용자가 "Add to .gitignore"를 선택하면:
.gitignore에 .vault/를 자동 추가한다.
참고 사항
- 워크스페이스를 열 때가 아니라 실제 노트 생성 시점에 검사한다.
- 불필요한 시작 팝업을 피한다.
- "Never Ask Again" 선택 시 이후에는 다시 표시하지 않는다.
When a user creates their first FrilVault note, check whether the
.vault/directory is ignored by Git.If
.vault/is not present in.gitignore, show a prompt asking the user whether it should be added automatically.This helps prevent accidentally committing personal notes and annotations to a repository.
사용자가 처음으로 FrilVault 노트를 생성할 때
.vault/디렉터리가 Git에서 무시되고 있는지 확인합니다.만약
.gitignore에.vault/가 등록되어 있지 않다면, 자동으로 추가할지 사용자에게 안내합니다.이를 통해 개인 메모나 주석 파일이 실수로 Git 저장소에 커밋되는 것을 방지할 수 있습니다.
Expected Behavior
.gitignore..vault/is not ignored:.vault/to the project's.gitignore.Notes
기대 동작
.gitignore를 확인한다..vault/가 등록되어 있지 않다면:.gitignore에.vault/를 자동 추가한다.참고 사항