-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
refactor: move doc-title and ai-chat-block components #10316
refactor: move doc-title and ai-chat-block components #10316
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
4e4bfca
to
713ca1c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## canary #10316 +/- ##
==========================================
+ Coverage 54.25% 54.28% +0.02%
==========================================
Files 2338 2335 -3
Lines 108101 108072 -29
Branches 17862 17859 -3
==========================================
+ Hits 58650 58662 +12
+ Misses 48128 48080 -48
- Partials 1323 1330 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
440d22a
to
e07ee73
Compare
e07ee73
to
868540b
Compare
868540b
to
8604c4f
Compare
Merge activity
|
### TL;DR Moved doc title and AI chat block components to more appropriate locations while removing unused backlink functionality. ### What changed? - Relocated doc title component from presets to affine-components - Moved AI chat block from presets/blocks to blocks directory - Removed unused backlink-related code and components - Updated imports across files to reference new component locations - Consolidated AI-related exports through a single entry point ### How to test? 1. Verify doc title still renders correctly in documents 2. Confirm AI chat functionality works as expected 3. Check that no backlink-related features are accessible 4. Ensure all AI features continue to work through the new import paths ### Why make this change? This reorganization improves code organization by: - Placing components closer to their related functionality - Removing dead/unused code around backlinks - Simplifying the import structure for AI-related features - Making the codebase more maintainable by consolidating related components
8604c4f
to
1516903
Compare
TL;DR
Moved doc title and AI chat block components to more appropriate locations while removing unused backlink functionality.
What changed?
How to test?
Why make this change?
This reorganization improves code organization by: