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

fix(page): component not re-render when linked doc mode changes #7367

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

akumatus
Copy link
Member

@akumatus akumatus commented Jun 19, 2024

Add docModeService.onModeChange to observe doc mode change and trigger card component re-render.

After Fixed:

2024-06-19.10.15.49.mov

Copy link

vercel bot commented Jun 19, 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 Jun 19, 2024 2:58am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Jun 19, 2024 2:58am

Copy link

graphite-app bot commented Jun 19, 2024

Your org has enabled the Graphite merge queue for merging into master

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @akumatus and the rest of your teammates on Graphite Graphite

Copy link

graphite-app bot commented Jun 19, 2024

Merge activity

  • Jun 18, 10:55 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jun 18, 10:55 PM EDT: Saul-Mirone added this pull request to the Graphite merge queue.
  • Jun 18, 11:06 PM EDT: Saul-Mirone merged this pull request with the Graphite merge queue.

Add `docModeService.onModeChange` to observe doc mode change and trigger card component re-render.

After Fixed:

https://github.com/toeverything/blocksuite/assets/12724894/92948b65-4f22-47bf-a963-0fadce034fdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants