-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rewrite ticket control to use one state machine for all forms (#…
…353) * Rewrite to use only one state machine for all ticket control forms * Add temporary success message. * Specifies which inputs that should be validated when submitting a form from tricketControll * Update validation for travelGuarantee.
- Loading branch information
1 parent
e008754
commit 39628a5
Showing
23 changed files
with
540 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
export { | ||
ContactPageLayout, | ||
type ContactPageLayoutProps, | ||
TicketControlPageLayout, | ||
type TicketControlPageLayoutProps, | ||
} from './layouts'; | ||
export { ContactPageLayout, type ContactPageLayoutProps } from './layouts'; | ||
|
||
export { PostponePaymentForm } from './ticket-control'; | ||
export { RefundForm } from './travel-guarantee'; | ||
export { FeeComplaintForm } from './ticket-control/complaint'; | ||
export { type Line } from './server/journey-planner/validators'; | ||
export { shouldShowContactPage } from './utils'; | ||
export { FeedbackForm } from './ticket-control/feedback'; | ||
export { MeansOfTransportContent } from './means-of-transport'; | ||
export { default as TicketControlPageContent } from './ticket-control'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
src/page-modules/contact/layouts/ticket-control-page-layout.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
193 changes: 0 additions & 193 deletions
193
src/page-modules/contact/ticket-control/complaint/complaintFormMachine.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.