Commit Graph

3 Commits

Author SHA1 Message Date
yyh
92123553b8
Revert "refactor(web): migrate content-dialog to base/ui/dialog primitives"
This reverts commit 1049cbaa19.
2026-04-14 15:30:24 +08:00
yyh
1049cbaa19
refactor(web): migrate content-dialog to base/ui/dialog primitives
Remove the single-caller legacy `base/content-dialog` wrapper and
migrate `AppInfoDetailPanel` to composable `DialogBackdrop`/`DialogPopup`
exports from `base/ui/dialog`, preserving left-side drawer semantics
and slide animation.

- Add `DialogBackdrop` and `DialogPopup` to `base/ui/dialog` so callers
  can compose non-centered overlays without bypassing the abstraction
- Refactor `DialogContent` to reuse the new primitives internally
- Replace `@remixicon/react` imports with `i-ri-*` icon classes
- Fix `cloneElement` in `app-operations` to merge className via `cn()`
  instead of replacing it (broke CSS-class icons)
- Replace invalid `overflow-wrap-anywhere` with `wrap-anywhere`
- Delete `base/content-dialog/` (component, stories, tests)
- Prune orphaned eslint-suppressions

Made-with: Cursor
2026-04-14 14:31:27 +08:00
Coding On Star
335b500aea
test: add unit tests for base components (#32818)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-02 11:40:43 +08:00