Skip to content

Commit

Permalink
chore: update the feedback form and state machine (#346)
Browse files Browse the repository at this point in the history
* Update import/export path.

* Update feedback state machine and form.

* Add feeback to validator and contact.ts.

* chore: update the complaint form and state machine (#345)

* Update export and import logic

* Update translations.

* Update machine events.

* Update the complaint form state machine and form.

* Extend validation of common forms.

* Update after reordering some of the  structure in contact.ts

* Set error to undefined. Will be fixed when the feedback state machine and form will be updated in another PR.

* Update src/translations/pages/contact.ts

Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com>

* Update src/page-modules/contact/validation/commonFieldValidator.ts

Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com>

---------

Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com>

* Remove old file.

* Remove unused file

* Remove unused file

* remove unused file

---------

Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com>
  • Loading branch information
jonasbrunvoll and mortennordseth authored Sep 20, 2024
1 parent 2b0b6bf commit 9f3b47b
Show file tree
Hide file tree
Showing 6 changed files with 367 additions and 565 deletions.
1 change: 1 addition & 0 deletions src/page-modules/contact/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ 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';
312 changes: 0 additions & 312 deletions src/page-modules/contact/ticket-control/feedback/feedbackForm.tsx

This file was deleted.

Loading

0 comments on commit 9f3b47b

Please sign in to comment.