Skip to content

refactor: 移除导入导出功能(准备重写)#177

Merged
MistEO merged 2 commits intomainfrom
feat/remove_export
Apr 13, 2026
Merged

refactor: 移除导入导出功能(准备重写)#177
MistEO merged 2 commits intomainfrom
feat/remove_export

Conversation

@MistEO
Copy link
Copy Markdown
Owner

@MistEO MistEO commented Apr 13, 2026

Summary by Sourcery

从 UI 以及其支持逻辑中移除现有的任务列表导入/导出功能,为未来的重写做准备。

Enhancements:

  • 通过移除与任务导入/导出预览和确认相关的状态、辅助函数和对话框,简化 TaskList 组件。

Chores:

  • 移除所有受支持语言环境中与任务列表导入/导出相关的未使用 i18n 文本和菜单标签,并调整通用确认提示文案。
Original summary in English

Summary by Sourcery

Remove the existing task list import/export functionality from the UI and supporting logic in preparation for a future rewrite.

Enhancements:

  • Simplify the TaskList component by dropping state, helpers, and dialogs related to task import/export preview and confirmation.

Chores:

  • Remove unused i18n strings and menu labels related to task list import/export across all supported locales and adjust generic confirmation hint text.

Copilot AI review requested due to automatic review settings April 13, 2026 14:54
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

嗨,我已经审查了你的改动,看起来很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进后续的评审。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
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 removes the task import/export UI and related plumbing in preparation for a future rewrite.

Changes:

  • Removed task import/export flows from TaskList (context menu entries, dialogs, selection/preview logic, and Tauri/web download handling).
  • Deleted the now-unused TaskTransferPreview component.
  • Removed import/export-related i18n strings across all supported locales and updated the delete-confirm hint copy accordingly.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/i18n/locales/zh-TW.ts Removes import/export-related task list strings; updates delete-confirm hint text.
src/i18n/locales/zh-CN.ts Removes import/export-related task list strings; updates delete-confirm hint text.
src/i18n/locales/ko-KR.ts Removes import/export-related task list strings; updates delete-confirm hint text.
src/i18n/locales/ja-JP.ts Removes import/export-related task list strings; updates delete-confirm hint text.
src/i18n/locales/en-US.ts Removes import/export-related task list strings; updates delete-confirm hint text.
src/components/TaskTransferPreview.tsx Deletes the task transfer preview component (no longer referenced).
src/components/TaskList.tsx Removes import/export actions, dialogs, and related state/helpers from the task list.

@MistEO MistEO merged commit e40a3bf into main Apr 13, 2026
19 checks passed
@MistEO MistEO deleted the feat/remove_export branch April 13, 2026 14:59
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.

2 participants