Skip to content

fix(Working Time): precision of Percent values in dashboard#18

Merged
barredterra merged 1 commit intoversion-15from
wt-dashboard-precision
Oct 21, 2025
Merged

fix(Working Time): precision of Percent values in dashboard#18
barredterra merged 1 commit intoversion-15from
wt-dashboard-precision

Conversation

@barredterra
Copy link
Copy Markdown
Member

@barredterra barredterra commented Oct 21, 2025

This pull request makes a small adjustment to the formatting of percentage and duration values in the working_time_dashboard.html file. The change ensures that both percentage changes and value displays use zero decimal places for consistency and improved readability.

  • Updated formatting for percentage change badges to use zero decimal places by setting precision: "0" in the call to frappe.format.
  • Updated formatting for the main value display to use zero decimal places for both percent and duration fields by setting precision: "0" in the call to frappe.format.

@barredterra barredterra merged commit b9a1412 into version-15 Oct 21, 2025
1 check passed
@barredterra barredterra deleted the wt-dashboard-precision branch October 21, 2025 13:03
@barredterra
Copy link
Copy Markdown
Member Author

@Mergifyio backport version-14

@mergify
Copy link
Copy Markdown

mergify bot commented Oct 21, 2025

backport version-14

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Oct 21, 2025
barredterra added a commit that referenced this pull request Oct 21, 2025
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
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.

1 participant