Conversation
There was a problem hiding this comment.
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.
Agent-Logs-Url: https://github.com/ayangweb/BongoCat/sessions/8d451289-3ed8-459d-a441-6ceb320081a6 Co-authored-by: ayangweb <75017711+ayangweb@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.