-
-
Notifications
You must be signed in to change notification settings - Fork 348
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(database): column stats #6560
feat(database): column stats #6560
Conversation
golok727
commented
Mar 25, 2024
•
edited
edited
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
5ea4604
to
2833016
Compare
@zzj3720 Hey some help🙏🏻, why does datasource.onCellUpdate is inconsistent with different property types? rich text and title is using ytext observe and others are using model.propsChanges in data source. due to this the callback given to onCellUpdate is called for all the columns when a cell is updated. Also is it not getting called for richtext cells. |
Listening for updates on columns is challenging; I need to think about it. |
@golok727 I think we can temporarily set aside the issue of listening for updates on the title column and fix it later. If the statistics functionality is completed, we can add a feature flag to merge it first and then optimize it. I might be doing some adjustments and refactoring to the directory structure soon, so if this task drags on too long, it might be difficult to merge. |
The core functionality is finished; I'll refine it by making the statCalcOp optional, integrating the feature flag as discussed, and ensuring the PR is ready for review by this evening. Thanks! |
0f0db47
to
d80a2e6
Compare
d80a2e6
to
6f96082
Compare
Waiting for @zzj3720 to review this. |
Merge activity
|
Co-authored-by: 3720 <zuozijian1994@gmail.com>
Co-authored-by: 3720 <zuozijian1994@gmail.com>
Co-authored-by: 3720 <zuozijian1994@gmail.com>
## Features - toeverything/blocksuite#6728 @fundon - toeverything/blocksuite#6714 @doouding - toeverything/blocksuite#6733 @pengx17 - toeverything/blocksuite#6560 @golok727 - toeverything/blocksuite#6727 @pengx17 - toeverything/blocksuite#6645 @regischen - toeverything/blocksuite#6724 @fundon - toeverything/blocksuite#6719 @zzj3720 - toeverything/blocksuite#6682 @donteatfriedrice ## Bugfix - toeverything/blocksuite#6734 @Flrande - toeverything/blocksuite#6732 @fourdim - toeverything/blocksuite#6726 @pengx17 - toeverything/blocksuite#6721 @Flrande - toeverything/blocksuite#6725 @fundon - toeverything/blocksuite#6716 @golok727 - toeverything/blocksuite#6723 @donteatfriedrice - toeverything/blocksuite#6722 @pengx17 - toeverything/blocksuite#6718 @donteatfriedrice - toeverything/blocksuite#6702 @Tzyito - toeverything/blocksuite#6711 @Tzyito - toeverything/blocksuite#6694 @fundon - toeverything/blocksuite#6717 @golok727 ## Refactor - toeverything/blocksuite#6672 @Saul-Mirone ## Misc - toeverything/blocksuite#6720 @raintoway