hunk.code_window:     enableLegacyCloud: false,
       changelogUrl: 'https://affine.pro/blog/whats-new-affine-0630',
       enablePreloading: true,
       enableNewSettingModal: false,
       enableNewSettingUnstableApi: false,
       enableSQLiteProvider: false,
       enableNotificationCenter: false,
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:     enableNewSettingModal: true,
  
hunk.file_path: apps/web/preset.config.mjs
hunk.type: replace
file: import { filterByFilterList } from '@affine/component/page-list';
  import type { Collection } from '@affine/env/filter';
  import type { PageMeta } from '@blocksuite/store';
  
  export const filterPage = (collection: Collection, page: PageMeta) => {
    if (collection.excludeList?.includes(page.id)) {
      return false;
    }
    if (collection.allowList?.includes(page.id)) {
      return true;
    }
    return filterByFilterList(collection.filterList, {
      'Is Favourited': !!page.favorite,
      Created: page.createDate,
      Updated: page.updatedDate ?? page.createDate,
    });
  };
  