setlife-network / trinary

A budgeting tool for tracking workflows and cashflows while collaborating with others on projects
MIT License
6 stars 2 forks source link

Add sync with toggl date range #117

Open sofiaromorales opened 3 years ago

sofiaromorales commented 3 years ago

Read about reports and time entries pagination

sofiaromorales commented 3 years ago

Rn the fetched time entries only corresponds to the current month

mecoccaro commented 2 years ago

@sofiaromorales The current logic handles an start date (since) and an end date (until), then toggl uses a pagination I think it was 50 entries per page. imagen

So I think this issue could be closed.

otech47 commented 2 years ago

@sofiaromorales The current logic handles an start date (since) and an end date (until), then toggl uses a pagination I think it was 50 entries per page. imagen

So I think this issue could be closed.

@mecoccaro I think the idea is that we allow a date range to be specified in the GraphQL API so we can expand on the functionality the frontend can do... which is not the case currently (https://github.com/setlife-network/trinary/blob/d84315600eb191e4cdadfcab971ab5cc76ddc611/api/schema/types/ProjectType.js#L138))

You are looking at the call to the API handler but that is not the same as it being usable for the purposes of syncing time entries with different date ranges