feat: Notion-style view tabs, chart views, and relation columns#2397
feat: Notion-style view tabs, chart views, and relation columns#2397ryanravn wants to merge 3 commits intonextcloud:mainfrom
Conversation
View Tabs: - Horizontal tab bar above table content for switching between views - "+" button to create new views directly from tab bar - Smart sidebar: parent table highlights when collapsed with active child view Chart Views: - New "chart" view type with bar, line, and pie/donut charts - Inline config bar for chart type, X-axis, Y-axis column selection - View type selector (Table/Chart) in view creation modal Relation Columns: - New "relation" column type for linking rows between tables - Proper join table (tables_row_relations) instead of JSON blobs - Relation types: one-to-one, one-to-many, many-to-many - Bidirectional: auto-creates reverse column on target table - Display column config to show meaningful values from linked rows - TableCellRelation renders linked rows as clickable chips - RelationService handles link CRUD with cascade cleanup Signed-off-by: Erlend Ryan <erlendryan@pm.me>
ea26f57 to
5968e48
Compare
- Don't drop tables_row_cells_relation — Row2Mapper queries all cell tables via UNION ALL. Create it if missing instead. - Add TableCellRelation component for rendering relation cells as clickable chips in the table grid - Register relation type in TableRow getTableCell switch - Mark relation as non-inline-editable (opens edit modal on click) Signed-off-by: Erlend Ryan <erlendryan@pm.me>
Signed-off-by: Erlend Ryan <erlendryan@pm.me>
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
enjeck
left a comment
There was a problem hiding this comment.
Please add screenshots showing what these look like
Summary
Changes
Backend
typecolumn, relation columns,tables_row_relationsjoin tableRelationServicefor managing row links with cascade cleanupRelationBusiness,RowRelationentity/mapper,RelationColumnQBColumnServiceViewService/ViewControllerFrontend
ViewTabBar.vue— Notion-style tab stripChartView.vue+ChartConfigBar.vue— chart renderingTableCellRelation.vue— chip-based relation cell displayRelationForm.vue— column config (table picker, relation type, display column) and row editor (search + link)Test plan