webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

Improve time tracking overview

Open knollengewaechs opened this issue 1 year ago • 2 comments

URL of deployed dev instance (used for testing):

  • https://timetrackingexpandtable.webknossos.xyz/

Steps to test:

  • Make sure to have some tracked times in explorative annotations and tasks
  • log in as admin-user and go to "Time tracking overview" through navbar
  • query time tracking entries
  • expand details for users
  • test download buttons
  • test as non-priviledged user (should only see yourself)
  • test without login (view shouldn't be accessible)

TODOs:

  • [x] see issue
  • [x] think about csv export structure
  • [x] fix types
  • [x] adjust tests to new param: getTimeTrackingForUserSpans, getTimeTrackingForUser
  • [x] fix that non-admin user cannot see themselves because "page doesnt exist"
  • [x] fix that expendable button is in wrong position after adjusting filters
  • [x] make sure new project line looks good with segmentation stats

Issues:

  • fixes #7708

(Please delete unneeded items, merge only when none are left open)

  • [x] Updated changelog
  • [x] Removed dev-only changes like prints and application.conf edits
  • [x] Considered common edge cases

knollengewaechs avatar Apr 03 '24 14:04 knollengewaechs

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...

I had added them in the frontend in the first place, but changed them to unix timestamp now :)

knollengewaechs avatar Apr 23 '24 17:04 knollengewaechs

no worries, thanks for looking into it! I will merge it on monday then :)

knollengewaechs avatar Apr 25 '24 15:04 knollengewaechs