Skip to content

Commit

Permalink
ref(contactus): stylings for contact us page editor (#1458)
Browse files Browse the repository at this point in the history
* Enhance AddSectionButton to allow adjusting button text

* Add various sections of contact us page

* Adjust Editable to allow new droppable zones

* Update validators to match Figma messages

* Introduce feature-flagged contact us page

* Remove unneeded comment

* Switch to use editable contexts instead and use modal

* Fix validation condition

* Fix name for FeatureFlaggedContactUs

* Remove some unnecessary casts

* Fix RouteSelector unit test
  • Loading branch information
dcshzj authored Aug 30, 2023
1 parent 8c2f345 commit 4f03e6f
Show file tree
Hide file tree
Showing 12 changed files with 1,946 additions and 179 deletions.
5 changes: 2 additions & 3 deletions src/__tests__/RouteSelector.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ jest.mock("layouts/ResourceCategory", () => {
}
})

jest.mock("layouts/EditContactUs", () => {
jest.mock("layouts/FeatureFlaggedContactUs", () => {
return {
__esModule: true,
default: () => {
FeatureFlaggedContactUs: () => {
return <div>{EDIT_CONTACT_US_LAYOUT_TEXT}</div>
},
}
Expand Down
Loading

0 comments on commit 4f03e6f

Please sign in to comment.