Skip to content

fix(choreops): use configured points label in notifications#157

Merged
ccpk1 merged 2 commits into
mainfrom
ccpk1/issue132
Jun 1, 2026
Merged

fix(choreops): use configured points label in notifications#157
ccpk1 merged 2 commits into
mainfrom
ccpk1/issue132

Conversation

@ccpk1
Copy link
Copy Markdown
Owner

@ccpk1 ccpk1 commented Jun 1, 2026

This pull request introduces enhanced support for customizable points labeling in notifications, ensuring that all user-facing messages dynamically use the configured label for points (e.g., "stars", "credits", etc.) instead of the hardcoded "points". It also includes a minor fix to chore missed event signaling and a small scheduling improvement.

Customizable Points Label in Notifications:

  • Added a _get_points_label method and a _build_notification_placeholders helper in NotificationManager to inject the configured points label into all notification messages. All notification formatting now uses these placeholders to ensure the correct label is shown. [1] [2] [3] [4]
  • Updated en_notifications.json so all relevant notification messages use {points_label} instead of hardcoded "points", making messages dynamically reflect the configured label. [1] [2] [3] [4]

ccpk1 added 2 commits June 1, 2026 14:16
What changed:
- Found that custom_from_complete could reschedule a chore back into the past after a missed-and-locked reset.
- Included chore_name in the CHORE_MISSED payload so missed notifications no longer fall back to Unknown Chore.

Why:
- Prevent repeated expired/missed notifications

Fixes #132
What changed:
- Add shared notification placeholder defaults for the configured points label.
- Update the English notification templates to use {points_label} instead of hardcoded "points".

Why:
- Keeps notification wording aligned with the system’s configured points label.
- Avoids hardcoded currency text in user-facing notifications.
@ccpk1 ccpk1 self-assigned this Jun 1, 2026
@ccpk1 ccpk1 merged commit d8b4b31 into main Jun 1, 2026
6 checks passed
@ccpk1 ccpk1 added bug Something is not working area: integration Integration logic and state labels Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: integration Integration logic and state bug Something is not working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant