Skip to content

Fix dashboard point displays to honor decimal precision settings#17

Merged
ccpk1 merged 1 commit intomainfrom
issue84-dashboard-points-precision
Mar 31, 2026
Merged

Fix dashboard point displays to honor decimal precision settings#17
ccpk1 merged 1 commit intomainfrom
issue84-dashboard-points-precision

Conversation

@ccpk1
Copy link
Copy Markdown
Owner

@ccpk1 ccpk1 commented Mar 31, 2026

Summary

Fix dashboard point displays so they honor the decimal precision preference across the remaining user, admin, and classic templates.

Standards reference

Change type

  • Template update/fix
  • New dashboard template
  • Registry metadata update
  • Translation sync
  • Documentation only

Template submission checklist

If this PR adds a new dashboard template, confirm all required assets are included:

  • Added a new versioned template file in templates/
  • Added/updated matching dashboard_registry.json entry
  • Added/updated matching preference documentation in preferences/
  • Verified source.path and preferences.doc_asset_path values are correct

Required development standards

  • Uses dynamic, integration-instance-aware lookup patterns for helper/sensor references
  • Does not manually construct or hardcode entity IDs
  • Follows replacement field patterns without custom token formats
  • Uses ui.get() translation lookups for all user-facing strings, and format fallback as err-<key> for easy troubleshooting. i.e. ui.get('done', 'err-done')
  • Reused existing translation keys where possible; added missing keys to translations/en_dashboard.json when required.
  • Handles missing required entities gracefully with fallback messaging and skip-render guard behavior

Compatibility notes

  • No compatibility impact
  • Compatibility impact documented below

Compatibility details:

This change extends existing point-display behavior without adding new translation keys or changing dashboard registry contracts.

Validation

  • YAML/JSON structure reviewed
  • Paths and IDs reviewed for consistency
  • Release notes included for user-visible changes
  • Dashboard asset sync and parity check passed in the integration repo

Release notes

Users can now choose decimal-aware point formatting consistently across the remaining dashboard templates, including admin bonus and penalty totals.

Closes ccpk1/ChoreOps#84

@ccpk1 ccpk1 added bug Something isn't working area: dashboard Dashboard UI and template behavior labels Mar 31, 2026
@ccpk1 ccpk1 merged commit fc3d7ba into main Mar 31, 2026
2 checks passed
@ccpk1 ccpk1 deleted the issue84-dashboard-points-precision branch March 31, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dashboard Dashboard UI and template behavior bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ISSUE] Decimal points no longer supported

1 participant