Skip to content

Add detailed reports API endpoint#446

Merged
kaospr merged 1 commit intomainfrom
add-api-detailed-reports
Mar 5, 2026
Merged

Add detailed reports API endpoint#446
kaospr merged 1 commit intomainfrom
add-api-detailed-reports

Conversation

@mmichelli
Copy link
Contributor

Summary

  • Add GET /api/v1/reports/detailed endpoint returning individual time entries grouped by date, with client/project/task/user/rate/billed_amount per entry and billable vs total hour totals
  • Extract shared filtered_scope method from the existing index action to avoid duplication
  • Docker compose now optionally reads .env (required: false) and adds HTTP_HOST + RAILS_FORCE_SSL configurability for local development without breaking existing deployments

Test plan

  • Unit tests pass (4 tests, 21 assertions)
  • Manual curl test against running Docker server returns correct JSON
  • Run full integration test suite with CLI tool

🤖 Generated with Claude Code

Add GET /api/v1/reports/detailed returning individual time entries
grouped by date with client/project/task/user/rate/billed_amount per
entry plus billable vs total hour totals. Extract shared filtered_scope
from index action. Docker compose now optionally reads .env (with
required: false) and adds HTTP_HOST + RAILS_FORCE_SSL configurability
for local development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mmichelli mmichelli requested a review from kaospr March 5, 2026 10:15
Copy link
Collaborator

@kaospr kaospr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for contribution, Mario!!! ❤️
I apologize the delayed review 🥲

@kaospr kaospr merged commit 7c73bad into main Mar 5, 2026
4 of 5 checks passed
@kaospr kaospr deleted the add-api-detailed-reports branch March 5, 2026 10:27
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