mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
## New Features
* **Block Meta Markdown Adapter**:Inject the Block's metadata into
Markdown.
* **UI**:Apply interaction
* **Widget**
* Block-Level Widget: Displays the diffs of individual blocks within the
main content and supports accepting/rejecting individual diffs.
* Page-Level Widget: Displays global options (Accept all/Reject all).
* **Block Diff Service**:Bridge widget and diff data
* Widget subscribes to DiffMap(RenderDiff) data, refreshing the view
when the data changes.
* Widget performs operations such as Accept/Reject via methods provided
by Service.
* **Doc Edit Tool Card**:
* Display apply preview of semantic doc edit
* Support apply & accept/reject to the main content
* **Apply Playground**:A devtool for testing apply new content to
current
> CLOSE AI-274 AI-275 AI-276 AI-278
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Introduced block-level markdown diffing with accept/reject controls
for insertions, deletions, and updates.
* Added block diff widgets for individual blocks and pages, featuring
navigation and bulk accept/reject actions.
* Provided a block diff playground for testing and previewing markdown
changes (development mode only).
* Added a new document editing AI tool component with interactive diff
viewing and change application.
* Supported rendering of the document editing tool within AI chat
content streams.
* **Improvements**
* Enhanced widget rendering in list, paragraph, data view, and database
blocks for improved extensibility.
* Improved widget flavour matching with hierarchical wildcard support
for more flexible UI integration.
* **Chores**
* Updated the "@toeverything/theme" dependency to version ^1.1.16 across
multiple packages.
* Added new workspace dependencies for core frontend packages to improve
module linkage.
* Extended global styles with visual highlights for deleted blocks in AI
block diff feature.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"name": "@affine/admin",
|
|
"version": "0.22.4",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@affine/component": "workspace:*",
|
|
"@affine/core": "workspace:*",
|
|
"@affine/error": "workspace:*",
|
|
"@affine/graphql": "workspace:*",
|
|
"@affine/routes": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.12",
|
|
"@radix-ui/react-accordion": "^1.2.2",
|
|
"@radix-ui/react-alert-dialog": "^1.1.3",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.1",
|
|
"@radix-ui/react-avatar": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.3",
|
|
"@radix-ui/react-collapsible": "^1.1.2",
|
|
"@radix-ui/react-context-menu": "^2.2.3",
|
|
"@radix-ui/react-dialog": "^1.1.3",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.3",
|
|
"@radix-ui/react-hover-card": "^1.1.3",
|
|
"@radix-ui/react-label": "^2.1.1",
|
|
"@radix-ui/react-menubar": "^1.1.3",
|
|
"@radix-ui/react-navigation-menu": "^1.2.2",
|
|
"@radix-ui/react-popover": "^1.1.3",
|
|
"@radix-ui/react-progress": "^1.1.1",
|
|
"@radix-ui/react-radio-group": "^1.2.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.2",
|
|
"@radix-ui/react-select": "^2.1.3",
|
|
"@radix-ui/react-separator": "^1.1.1",
|
|
"@radix-ui/react-slider": "^1.2.2",
|
|
"@radix-ui/react-slot": "^1.1.1",
|
|
"@radix-ui/react-switch": "^1.1.2",
|
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
"@radix-ui/react-toast": "^1.2.3",
|
|
"@radix-ui/react-toggle": "^1.1.1",
|
|
"@radix-ui/react-toggle-group": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^1.1.5",
|
|
"@sentry/react": "^9.2.0",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@toeverything/theme": "^1.1.16",
|
|
"cmdk": "^1.0.4",
|
|
"embla-carousel-react": "^8.5.1",
|
|
"input-otp": "^1.4.1",
|
|
"lodash-es": "^4.17.21",
|
|
"lucide-react": "^0.508.0",
|
|
"next-themes": "^0.4.4",
|
|
"react": "^19.0.0",
|
|
"react-day-picker": "^9.4.3",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.54.1",
|
|
"react-resizable-panels": "^3.0.0",
|
|
"react-router-dom": "^7.5.1",
|
|
"sonner": "^2.0.0",
|
|
"swr": "^2.2.5",
|
|
"vaul": "^1.1.1",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash-es": "^4.17.12",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"shadcn-ui": "^0.9.4",
|
|
"tailwind-merge": "^3.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tailwindcss-animate": "^1.0.7"
|
|
},
|
|
"scripts": {
|
|
"build": "affine bundle",
|
|
"dev": "affine bundle --dev",
|
|
"update-shadcn": "shadcn-ui add -p src/components/ui"
|
|
},
|
|
"exports": {
|
|
"./*": "./src/*.ts",
|
|
"./components/ui/*": "./src/components/ui/*.tsx"
|
|
}
|
|
}
|