Skip to content

feat: 移除「猫咪设置 > 窗口设置 > 窗口位置」配置项#902

Merged
ayangweb merged 2 commits intomasterfrom
remove-window-pos
Apr 13, 2026
Merged

feat: 移除「猫咪设置 > 窗口设置 > 窗口位置」配置项#902
ayangweb merged 2 commits intomasterfrom
remove-window-pos

Conversation

@ayangweb
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

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

该 PR 旨在移除「猫咪设置 > 窗口设置 > 窗口位置」这一配置项,并同步清理与之相关的前端逻辑与文案,从而改为不再提供“按四角定位”的能力。

Changes:

  • CatStore.window 中移除 position 字段及其默认值。
  • 移除偏好设置页中的“窗口位置”配置组件。
  • 删除窗口自动定位的 composable,并移除主窗口对其的调用;同时清理各语言包中与四角选项相关的文案。

Reviewed changes

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

Show a summary per file
File Description
src/stores/cat.ts 移除 window.position 配置定义与默认值。
src/pages/preference/components/cat/index.vue 从偏好设置 UI 中移除窗口位置配置入口。
src/pages/preference/components/cat/components/position/index.vue 删除窗口位置选择组件。
src/pages/main/index.vue 移除窗口位置自动调整逻辑与挂载显示控制。
src/composables/useWindowPosition.ts 删除基于四角规则的窗口定位实现。
src/locales/en-US.json 移除四角选项文案(但仍残留 position 的 label/hint)。
src/locales/zh-CN.json 同上。
src/locales/zh-TW.json 同上。
src/locales/pt-BR.json 同上。
src/locales/vi-VN.json 同上。

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

Comment thread src/stores/cat.ts
Comment thread src/locales/en-US.json
Comment thread src/locales/zh-CN.json
Comment thread src/locales/zh-TW.json Outdated
Comment thread src/locales/pt-BR.json Outdated
Comment thread src/locales/vi-VN.json Outdated
@ayangweb ayangweb merged commit 844b1b1 into master Apr 13, 2026
@ayangweb ayangweb deleted the remove-window-pos branch April 13, 2026 13:41
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.

3 participants