mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-14 07:43:25 +01:00
[PR #113] [MERGED] Make settings menu a regular window #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/113
Author: @gschier
Created: 9/25/2024
Status: ✅ Merged
Merged: 9/25/2024
Merged by: @gschier
Base:
master← Head:regular-settings-window📝 Commits (2)
7fad761Make settings menu a regular windowc6ee43aBetter child window support📊 Changes
13 files changed (+200 additions, -110 deletions)
View changed files
📝
src-tauri/.gitignore(+1 -1)📝
src-tauri/capabilities/capabilities.json(+2 -2)📝
src-tauri/gen/schemas/capabilities.json(+1 -1)📝
src-tauri/src/lib.rs(+139 -69)📝
src-tauri/src/tauri_plugin_mac_window.rs(+6 -2)📝
src-web/components/CommandPalette.tsx(+5 -14)📝
src-web/components/GlobalHooks.tsx(+1 -2)📝
src-web/components/SettingsDropdown.tsx(+4 -16)➕
src-web/font-size.ts(+15 -0)➕
src-web/hooks/useOpenSettings.ts(+22 -0)📝
src-web/hooks/useOpenWorkspace.ts(+1 -1)📝
src-web/index.html(+1 -0)📝
src-web/lib/tauri.ts(+2 -2)📄 Description
macOS has some weirdness around child windows (they're really only meant for menus and things) so this PR changes the Yaak Settings window to a regular window.
Fixes #87
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.