Skip to content

Conversation

@Bori-github
Copy link
Collaborator

📌 요약

  • Window menu 적용 및 Settings window 생성

📝 작업 내용

  • 기본 Window menu 추가
  • Settings 메뉴 클릭 시 새로운 window를 생성하여 /settings 페이지로 라우팅 처리되도록 적용
    • 개발 모드 시 개발자 도구 자동으로 열리도록 적용
    • 임시 UI 적용
    • 탭 선택 시 window title 선택한 탭 title로 변경되도록 적용
      • window title 변경을 위한 권한 설정 추가

🔍 스크린샷

window.menu.mov

💡 참고 사항

  • 없음

@Bori-github Bori-github self-assigned this Nov 12, 2025
@Bori-github Bori-github added the enhancement New feature or request label Nov 12, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a window menu system with native menu items and adds a dedicated Settings window accessible through the menu. Key changes include:

  • Added native window menu with About, File, Edit, and View submenus
  • Created a Settings window that opens when Settings menu item is clicked
  • Implemented routing using react-router-dom to support multiple pages
  • Added dynamic window title updates based on selected settings tab

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pnpm-lock.yaml Updated dependencies, added react-router-dom and related packages
apps/executeJS/package.json Added react-router-dom dependency
apps/executeJS/vite.config.ts Added build configuration for SPA routing support
apps/executeJS/src/app/router.tsx New router component defining routes for playground and settings
apps/executeJS/src/app/index.tsx Updated to use Router instead of directly rendering PlaygroundPage
apps/executeJS/src/pages/settings/settings-page.tsx New settings page with tabbed interface
apps/executeJS/src/pages/settings/index.ts Export file for settings page
apps/executeJS/src-tauri/src/lib.rs Added menu creation, event handling, and settings window logic
apps/executeJS/src-tauri/tauri.conf.json Added capabilities configuration
apps/executeJS/src-tauri/capabilities/main.json New capability file for window title permission

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Bori-github Bori-github merged commit bb72838 into main Nov 14, 2025
4 checks passed
ohah pushed a commit that referenced this pull request Dec 12, 2025
* feat: 타우리 window menu 기본 설정

* chore: react-router-dom 패키지 추가

* feat: window menu settings 클릭 시 새 window 창 생성 및 settings 페이지로 라우팅 처리

* feat: 설정 창을 위한 설정 페이지 생성 및 탭 선택 시 탭 제목 변경 기능 적용

* fix: window.set_title not allowed 권한 에러 수정을 위한 설정 추가

- capabilities 파일 생성: src-tauri/capabilities/main.json 파일 생성
- 권한 추가: core:window:allow-set-title 권한 추가
- 설정 연결: tauri.conf.json에서 capabilities 파일 참조

* fix: format rust

* chore: 탭 클릭 시 getCurrentWindow 재호출 하지 않도록 처리

* chore: 불필요한 주석 제거

* chore: 잘못된 에러처리 수정

* fix: format rust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants