Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Popup timeline #2

Open
tobybatch opened this issue Aug 8, 2019 · 0 comments
Open

Popup timeline #2

tobybatch opened this issue Aug 8, 2019 · 0 comments
Assignees

Comments

@tobybatch
Copy link
Member

Popup opens.

  • Check if we can reach Kimai
    • If we can't display unavailable message
    • If we can, can we log in
      • If we can't show the 'you need to log in message'
  • Get the path from the URL
  • Parse the URL
    • Are we on a github issue page
    • Determine the project uuid and issue uuid
  • Fetch the settings from kimai
  • Populate the projects select field with all projects
  • Ask kimai for a project the matches the project uuid
    • If we have a matching project set the project select to that project
  • Update the activities select to match the project select
  • Ask Kimai for all time sheets matching the issue uuid
    • If we have any list these. DATE DESC WHO HOWLONG

On submit

  • Check/set the project uuid in kimai
  • Create a timesheet matching tagged with the issue uuid
  • Reload the popup
@ob6160 ob6160 self-assigned this Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants