dify/web/app/components/app-sidebar
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
..
__tests__ refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
app-info refactor(web): migrate content-dialog to base/ui/dialog primitives 2026-04-14 14:31:27 +08:00
dataset-info test: add unit tests for AppPublisher, Sidebar, Chat, FileUploader, Form Demo, Notion Page Selector, Prompt Editor, and Header Navigation components (#34802) 2026-04-09 07:30:51 +00:00
nav-link refactor: route next/navigation through compat re-export (#33636) 2026-03-18 12:57:03 +08:00
app-sidebar-dropdown.tsx refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
basic.tsx chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
dataset-sidebar-dropdown.tsx refactor: update to tailwind v4 (#34415) 2026-04-02 07:06:11 +00:00
index.tsx chore: knip fix (#34481) 2026-04-02 15:03:42 +00:00
toggle-button.tsx refactor(web): restructure app-sidebar with component decomposition and folder organization (#32887) 2026-03-03 13:32:52 +08:00