mirror of
https://github.com/langgenius/dify.git
synced 2026-04-19 18:27:27 +08:00
docs(web): update overlay migration guide to reflect completed toast and dropdown migrations
Toast and dropdown have been fully migrated — legacy directories deleted, zero remaining imports, ESLint restrictions removed. Remove the outdated "Toast migration strategy" section and split the Scope list into "still in progress" vs "completed". Made-with: Cursor
This commit is contained in:
@ -10,7 +10,6 @@ This document tracks the migration away from legacy overlay APIs.
|
||||
- `@/app/components/base/modal`
|
||||
- `@/app/components/base/select` (including `custom` / `pure`)
|
||||
- `@/app/components/base/dialog`
|
||||
- `@/app/components/base/toast` (including `context`)
|
||||
- Replacement primitives:
|
||||
- `@/app/components/base/ui/tooltip`
|
||||
- `@/app/components/base/ui/dropdown-menu`
|
||||
@ -41,12 +40,6 @@ This document tracks the migration away from legacy overlay APIs.
|
||||
- Remove remaining allowlist entries.
|
||||
- Remove legacy overlay implementations when import count reaches zero.
|
||||
|
||||
## Toast migration strategy
|
||||
|
||||
- `@/app/components/base/toast` has been replaced by `@/app/components/base/ui/toast`.
|
||||
- All new toast usage must go through `@/app/components/base/ui/toast`.
|
||||
- When a file with legacy toast usage is touched, prefer migrating that call site in the same change; full-repo toast cleanup is not required in one PR.
|
||||
|
||||
## Allowlist maintenance
|
||||
|
||||
- After each migration batch, run:
|
||||
|
||||
Reference in New Issue
Block a user