Skip to content

fix: Widget and detail page graphical improvements#32

Open
rubenvdlinde wants to merge 6 commits intobetafrom
fix/widget-detail-graphical-improvements
Open

fix: Widget and detail page graphical improvements#32
rubenvdlinde wants to merge 6 commits intobetafrom
fix/widget-detail-graphical-improvements

Conversation

@rubenvdlinde
Copy link
Contributor

Summary

  • Add borderless/flush props to CnWidgetWrapper — removes double borders on KPI cards, enables full-width widget content
  • Add flush prop to CnDetailCard — edge-to-edge tables on detail pages
  • Make CnStatsBlock responsive — fits narrow grid cells with text truncation
  • CnDetailPage external sidebar via objectSidebarState inject — renders as proper NcAppSidebar
  • Fix rollup build for apexcharts dependency

Test plan

  • Check KPI cards on pipelinq/procest dashboards — no double borders, no scrollbars
  • Check My Work widget — content goes edge-to-edge
  • Check client detail page — tables are full-width, sidebar is proper NcAppSidebar
  • Check Contactmomenten and Complaints are separate cards (not nested)

Closes #31

- Fix filters object serialized as [object Object] in query string
  by using JSON.stringify for all object values in buildQueryString
- Flatten filters into individual query params in refetchSearchCollection
  so backend receives field-level filters instead of a single filters param
- Remove source-to-_source mapping (deprecated, backend auto-detects)
…components

feat: Spec enrichment and new components
Add Vue 2 component library enforcement rules to the rules section of
openspec/config.yaml for artifact creation guidance.
- Add borderless/flush props to CnWidgetWrapper for transparent KPI cards
- Add flush prop to CnDetailCard for edge-to-edge tables
- Make CnStatsBlock responsive (width: 100%, text truncation, smaller icons)
- Auto-set borderless on dashboard widgets when showTitle=false
- Add objectSidebarState inject to CnDetailPage for proper NcAppSidebar
- Add subtitle prop to CnObjectSidebar
- Fix apexcharts rollup build (resolve .min without .js extension)

Closes #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Widget and detail page graphical improvements

1 participant