Skip to content

Commit

Permalink
B 21348 INT bulk assignment save (#14708)
Browse files Browse the repository at this point in the history
* most backend work done, frontend doesn't work

* most backend ok, frontend not ok

* fixed queryClient issue

* backend is now correctly assigning moves to multiple users

* endpoint accepts payload now

* broke the frontend

* mocks and backend tests

* fixed issues with save bulk assignment endpoint

* assign now works and reloads page to fetch fresh data

* now fetches data when modal is opened

* fixes form bleeding out of container

* trying to reload table after save bulk

* fix nil pointer with office user workload

* another attempt at refetch and redisplay on bulk assignment submit

* cleaned up some old attempts

* some cleanup

* add payment requests to bulk assign endpoint and some more code coverage

* add move history event for SaveBulkAssignmentData

* redux the things

* fix reducer test

* I hate this game

* order of parameters matter sometimes

* this fixes things that I broke when merging 22296 into this branch

* added backup date for closeout/payment request fetch for bulk assignment modal

* added backup date for closeout/payment request fetch for bulk assignment modal

* remove comment

* moved modal visibility toggle out of promise to fix flashing

* moved modal visibility toggle out of promise to fix flashing

* move some logic and fixed some design silliness

* add some checks and fixes

* add some checks and fixes

* fix test for integration

* change from 200 to 204 response and removed coalsce from pr date

* fixed some stuff

* Update BulkAssignmentModal.jsx

removed 21350 bits and bobs

* this got lost in the merge sauce

* add/fix tests and removed error message on over assignment

* readded error message and fixed onsubmit

* removed optional

* parameters passed in incorrect order

* updated headquater queue

* fix hq sc
  • Loading branch information
loganwc authored Feb 18, 2025
1 parent 44b085a commit 28b8aa5
Show file tree
Hide file tree
Showing 42 changed files with 2,192 additions and 99 deletions.
5 changes: 5 additions & 0 deletions pkg/gen/ghcapi/configure_mymove.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ func configureAPI(api *ghcoperations.MymoveAPI) http.Handler {
return middleware.NotImplemented("operation shipment.ReviewShipmentAddressUpdate has not yet been implemented")
})
}
if api.QueuesSaveBulkAssignmentDataHandler == nil {
api.QueuesSaveBulkAssignmentDataHandler = queues.SaveBulkAssignmentDataHandlerFunc(func(params queues.SaveBulkAssignmentDataParams) middleware.Responder {
return middleware.NotImplemented("operation queues.SaveBulkAssignmentData has not yet been implemented")
})
}
if api.EvaluationReportsSaveEvaluationReportHandler == nil {
api.EvaluationReportsSaveEvaluationReportHandler = evaluation_reports.SaveEvaluationReportHandlerFunc(func(params evaluation_reports.SaveEvaluationReportParams) middleware.Responder {
return middleware.NotImplemented("operation evaluation_reports.SaveEvaluationReport has not yet been implemented")
Expand Down
177 changes: 177 additions & 0 deletions pkg/gen/ghcapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/mymove_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/queues/save_bulk_assignment_data.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28b8aa5

Please sign in to comment.