-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve time tracking overview #7733
Conversation
…ation link in list
frontend/javascripts/admin/statistic/time_tracking_detail_view.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backend code looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice stuff 👍
during testing I noticed that the user-specific CSV contains timestamps, such as "Fri, 19 Apr 2024 15:42:55 GMT". wouldn't unix timestamps make more sense as they are easier to parse? not sure whether they are coming from back-end or front-end...
frontend/javascripts/oxalis/model/accessors/annotation_accessor.ts
Outdated
Show resolved
Hide resolved
frontend/javascripts/admin/statistic/time_tracking_detail_view.tsx
Outdated
Show resolved
Hide resolved
I had added them in the frontend in the first place, but changed them to unix timestamp now :) |
@@ -193,7 +193,6 @@ | |||
"react-dom": "^16.9.0", | |||
"react-dropzone": "^11.3.1", | |||
"react-flow-renderer": "^10.3.16", | |||
"react-google-charts": "^2.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i simply ran yarn remove react-google-charts
, I hope its good the way it is now :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great :) Let's ship it. I fiddled with two small things out of curiosity (and then simply committed them, because this was the easiest). Sorry for intruding!
no worries, thanks for looking into it! I will merge it on monday then :) |
* [WIP] [ci skip] add expandable rows to see time tracking details * prepare api for expanded table * unwrap list of annotations with times * add annotationCount to time tracking overview * add projectName to summedByAnnotation response * WIP [ci skip] render expandable table with tasks and annotations * style expandable table * add no. tasks and more stats to overview * WIP [ci skip] add annotation stats * style table * add button to download timespans * adjust api types to new responses, omit detail view and include annotation link in list * remove code duplication * fix sorting in table * add additional fields to timespans * adapt frontend api client to new timespans route * snapshots * add download for user time spans * extract csv helper and put task fields into timetracking csv export * try to fix type in test * enable overview for non-privileged users * fix-frontend * adjust router.tsx to new view, fix fixedExpandableTable and disable teams field for non-admins * lint * improve condition and add changelog * address review * WIP: improve styling of table including annotation stats * remove react-google-charts dependency * change name of navbar menu entry * remove unnecessary casts * avoid margin bottom in annotation table --------- Co-authored-by: Florian M <[email protected]> Co-authored-by: Philipp Otto <[email protected]> Co-authored-by: Florian M <[email protected]>
URL of deployed dev instance (used for testing):
Steps to test:
TODOs:
Issues:
(Please delete unneeded items, merge only when none are left open)