diff --git a/ROADMAP.md b/ROADMAP.md index 40f7091734..f5a63302d6 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -132,6 +132,18 @@ ObjectUI is a universal Server-Driven UI (SDUI) engine built on React + Tailwind - [x] i18n for all 11 locales (en, zh, ja, de, fr, es, ar, ru, pt, ko) - [ ] Conditional formatting rules +### P1.9 Console — Content Area Layout & Responsiveness + +- [x] Add `min-w-0` / `overflow-hidden` to flex layout chain (SidebarInset → AppShell → ObjectView → PluginObjectView) to prevent content overflow +- [x] Fix Gantt task list width — responsive sizing (120px mobile, 200px tablet, 300px desktop) instead of hardcoded 300px +- [x] Fix Kanban board overflow containment (`min-w-0` on swimlane and flat containers) +- [x] Fix Calendar header responsive wrapping and date label sizing +- [x] Fix Map container overflow containment via `cn()` merge +- [x] Fix Timeline container `min-w-0` to prevent overflow +- [x] Fix ListView container `min-w-0 overflow-hidden` to prevent overflow +- [ ] Mobile/tablet end-to-end testing for all view types +- [ ] Dynamic width calculation for Gantt task list and Kanban columns based on container width + --- ## 🧩 P2 — Polish & Advanced Features diff --git a/apps/console/src/components/ObjectView.tsx b/apps/console/src/components/ObjectView.tsx index b4063e0d0b..e5e96fe2b6 100644 --- a/apps/console/src/components/ObjectView.tsx +++ b/apps/console/src/components/ObjectView.tsx @@ -388,7 +388,7 @@ export function ObjectView({ dataSource, objects, onEdit, onRowClick }: any) { }), [objectDef.name, onEdit, activeView?.showSearch, activeView?.showFilters]); return ( -
+
{/* 1. Header with breadcrumb + description */}
@@ -517,7 +517,7 @@ export function ObjectView({ dataSource, objects, onEdit, onRowClick }: any) { {/* 2. Content — Plugin ObjectView with ViewSwitcher + Filter + Sort */}
-
+
{navbar} -
+
{children}
diff --git a/packages/plugin-calendar/src/CalendarView.tsx b/packages/plugin-calendar/src/CalendarView.tsx index 3309c34acb..6b8b1edd21 100644 --- a/packages/plugin-calendar/src/CalendarView.tsx +++ b/packages/plugin-calendar/src/CalendarView.tsx @@ -237,9 +237,9 @@ function CalendarView({ } return ( -
+
{/* Header */} -
+