icefoganalytics / travel-authorization

0 stars 0 forks source link

Part 1: Departmental Administration: Create a Travel Auth for Another Employee Within My Department #170

Closed klondikemarlen closed 8 months ago

klondikemarlen commented 8 months ago

Relates to:

Context

Give department admins the ability to create travel authorizations for another employee in there department.

Requirements

Implementation

Opted to go with adding the button to /manage-travel-requests page because I don't want to deal with code mess in the /travel-request component tree. Support basic travel authorization creation for user's other than the current user, for admins.

Screenshots

Travel Authorization Creation modal image

Testing Instructions

  1. Run the test suite via dev test (or dev test_api)
  2. Boot the app via dev up
  3. Log in to the app at http://localhost:8080
  4. Go to the "Manager View" via the top drop down menu (http://localhost:8080/manage-travel-requests)
  5. Click on the "Create Travel Request" button to open the dialog.
  6. Add an email to unlock the create button.
  7. Click the "create" button to create the travel authorization and be redirected to the, in progress, travel authorization details edit page.

    NOTE: the travel authorization edit page has not been implemented

dpdavids commented 5 days ago

The modal pops-up but there is no mechanism to get to the newly added form to fill it out.

We should consider where this button is put. The manager view is likely not the appropriate place for it. Maybe the Travel Request Grid.