Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-05-11 14:18:14 +09:00
parent 8f2af73ed4
commit aa772f7f97
7 changed files with 12 additions and 5 deletions

View File

@@ -37,14 +37,21 @@ npm install @pieroot/nfd2nfc
### macOS 애플리케이션
<!-- TODO: 새 트레이 UI 스크린샷 교체 -->
![애플리케이션 화면](./assets/start-app.png)
앱 실행 후 메뉴바 아이콘을 좌클릭하면 팝오버가 표시됩니다. 감시 중인 디렉토리 목록과 최근 활동, Undo 버튼을 한눈에 확인할 수 있습니다.
앱 실행 후 메뉴바 아이콘을 클릭하면 팝오버가 표시됩니다. 팝오버에서 디렉토리를 추가하거나 설정창을 열 수 있습니다.
![트레이 팝오버](./assets/manubar.png)
![디렉토리 선택](./assets/select-directory.png)
메뉴바 아이콘을 우클릭하면 감시 일시 정지, 설정창 열기, 종료 메뉴가 나옵니다.
감시할 디렉토리를 선택합니다. 추가된 디렉토리는 앱 재시작 시에도 유지됩니다.
![메뉴바 컨텍스트 메뉴](./assets/menubar-setting.png)
설정창의 **디렉토리** 탭에서 감시할 디렉토리를 추가하고, 디렉토리별로 감시 활성화 여부 / Auto·Manual 모드 / 하위 폴더 포함 / 추가 필터 범위를 개별 설정할 수 있습니다. 추가된 디렉토리는 앱 재시작 시에도 유지됩니다.
![디렉토리 설정](./assets/setting-directory.png)
**일반** 탭에서는 기본 변환 모드, macOS 알림 활성화, 알림 인터벌(초)을 설정합니다.
![일반 설정](./assets/setting-general.png)
### CLI

BIN
assets/manubar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
assets/menubar-setting.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
assets/setting-general.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB