Skip to content
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

MAIN - B -19815- Office date validation/ alert - HHG, NTS, NTSR #13561

Merged
merged 21 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c97e069
customer: date validation on date selection
MInthavongsay Aug 8, 2024
0ffdee8
Merge branch 'B-19813-Time-Validation' into B-19815-Office-Date-Valid…
MInthavongsay Aug 8, 2024
6cda2b0
renamed test file
MInthavongsay Aug 8, 2024
271329f
Merge branch 'B-19813-Time-Validation' into B-19815-Office-Date-Valid…
MInthavongsay Aug 8, 2024
37c25a6
office - date weekend/holiday validation
MInthavongsay Aug 12, 2024
ba51dd3
change alert from info to warning and fix typo per PR comments
MInthavongsay Aug 12, 2024
e55f145
Merge branch 'B-19813-Time-Validation' into B-19815-Office-Date-Valid…
MInthavongsay Aug 12, 2024
63175dd
add unit tests and renamed go test file to mirror 19813
MInthavongsay Aug 12, 2024
c6d67bc
add comments and accessibility attribute to alerts
MInthavongsay Aug 12, 2024
db9d827
remove duplicate extension due to rename
MInthavongsay Aug 12, 2024
6ee189a
add accessibility attribute to alerts
MInthavongsay Aug 12, 2024
a3cb8a7
Add new DateIsWeekendHoliday handler unit test
MInthavongsay Aug 13, 2024
6213b6f
moved calander.js to util dir
MInthavongsay Aug 14, 2024
5c42423
Merge branch 'B-19813-Time-Validation' into B-19815-Office-Date-Valid…
MInthavongsay Aug 14, 2024
f304fb6
merged B-19815 and update view to use new location of calendar.js
MInthavongsay Aug 14, 2024
a404616
MAIN merge
MInthavongsay Aug 14, 2024
f9daf25
MAIN merge
MInthavongsay Aug 15, 2024
52b7ace
Merge branch 'main' into B-19815-Office-Date-Validation
r-mettler Aug 26, 2024
4c23398
Merge branch 'main' into B-19815-Office-Date-Validation
r-mettler Aug 28, 2024
075875c
Test change to avoid dependencies
antgmann Aug 21, 2024
06ac0c5
Merge branch 'B-19815-Office-Date-Validation' of github.com:transcom/…
r-mettler Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/gen/ghcapi/configure_mymove.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (

"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations"
"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations/application_parameters"
"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations/calendar"
"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations/customer"
"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations/customer_support_remarks"
"github.com/transcom/mymove/pkg/gen/ghcapi/ghcoperations/evaluation_reports"
Expand Down Expand Up @@ -339,6 +340,11 @@ func configureAPI(api *ghcoperations.MymoveAPI) http.Handler {
return middleware.NotImplemented("operation transportation_office.GetTransportationOfficesOpen has not yet been implemented")
})
}
if api.CalendarIsDateWeekendHolidayHandler == nil {
api.CalendarIsDateWeekendHolidayHandler = calendar.IsDateWeekendHolidayHandlerFunc(func(params calendar.IsDateWeekendHolidayParams) middleware.Responder {
return middleware.NotImplemented("operation calendar.IsDateWeekendHoliday has not yet been implemented")
})
}
if api.MtoServiceItemListMTOServiceItemsHandler == nil {
api.MtoServiceItemListMTOServiceItemsHandler = mto_service_item.ListMTOServiceItemsHandlerFunc(func(params mto_service_item.ListMTOServiceItemsParams) middleware.Responder {
return middleware.NotImplemented("operation mto_service_item.ListMTOServiceItems has not yet been implemented")
Expand Down
182 changes: 182 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.

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

Loading
Loading