Skip to content

deploy: dashboard labels and show_labels setting to production#24

Merged
nicomiguelino merged 4 commits into
mainfrom
development
Jun 30, 2026
Merged

deploy: dashboard labels and show_labels setting to production#24
nicomiguelino merged 4 commits into
mainfrom
development

Conversation

@nicomiguelino

@nicomiguelino nicomiguelino commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add inline value labels on bar, pie, donut, and line charts via chartjs-plugin-datalabels
  • Add Metric component type support with container-relative responsive font sizing
  • Add breakpoint value labels drawn directly on gauge arc segments
  • Add gauge and metric components to screenshot test fixture

Related Pull Requests

nicomiguelino and others added 3 commits May 19, 2026 11:37
- Re-import getCredentials from @screenly/edge-apps
- Remove local getCredentials override added for demo
- Remove debug console.log
- Remove dashboard_id fallback, use content_id only
@nicomiguelino nicomiguelino self-assigned this Jun 26, 2026
@nicomiguelino nicomiguelino marked this pull request as ready for review June 26, 2026 15:54
* feat: add show_labels setting to toggle chart and gauge labels

- Add `show_labels` boolean setting to screenly.yml and screenly_qc.yml
- Thread `showLabels` flag through main.ts, renderDashboard, renderReport,
  renderComponent, renderChart, and renderGauge
- Extract src/render/report.ts with all report-specific rendering logic
  to keep index.ts within the max-lines lint limit
- Add dashboard-labels screenshot tests at 1920x1080 and 1080x1920
- Refactor takeScreenshot to inline networkidle wait and extract
  mockCredentials, setupDashboardRoutes, and setupReportRoutes helpers

* fix: address Copilot review comments

- Add ReportResult to top-level import in index.ts
- Replace inline import type with ReportResult in renderReport signature
- Add explicit DashboardMetadataComponent type annotation to meta in renderReportTableCard
- Add report-labels screenshot tests at 1920x1080 and 1080x1920
@nicomiguelino nicomiguelino changed the title feat: add data labels, metric component, and gauge breakpoint labels deploy: dashboard labels and show_labels setting to production Jun 29, 2026
@nicomiguelino nicomiguelino merged commit 95de52e into main Jun 30, 2026
4 checks passed
@nicomiguelino nicomiguelino deleted the development branch June 30, 2026 20:16
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.

2 participants