Skip to content
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

feat: add discard modal for ai panel #6765

Conversation

donteatfriedrice
Copy link
Member

@donteatfriedrice donteatfriedrice commented Apr 15, 2024

Usage:

When need to close the ai panel directly, call panel.hide().

When need to confirm with the user and do some callback processing before closing the panel, set discardCallback to the panel and call panel.discard()

Copy link

vercel bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 2:31am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 2:31am

Copy link

graphite-app bot commented Apr 16, 2024

Merge activity

  • Apr 15, 10:22 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Apr 15, 10:22 PM EDT: donteatfriedrice added this pull request to the Graphite merge queue.
  • Apr 15, 10:28 PM EDT: The Graphite merge queue wasn't able to merge this pull request due to internal failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants