Skip to content

refactor: 移除 notify.py #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

weinibuliu
Copy link
Member

当时就不应该这么封装的,这样做很不直观(俺犯蠢了

@MistEO MistEO requested a review from Copilot March 26, 2025 17:38
Copy link

@Copilot 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 pull request refactors error notifications by removing the custom notify.py module and directly using ui.notify to display error messages.

  • Removed the custom notification module notify.py
  • Replaced notify.send calls with ui.notify calls and added print statements for debugging
  • Updated error handling in multiple functions in master_control.py

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/MaaDebugger/webpage/index_page/master_control.py Replaced calls to notify.send with ui.notify and added print statements
src/MaaDebugger/webpage/index_page/notify.py Removed the notify.py module as part of the refactor

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

1 participant