Conversation
…nent to display when no po search results are found
app/javascript/packages/address-search/components/post-office-no-results.tsx
Outdated
Show resolved
Hide resolved
app/javascript/packages/address-search/components/post-office-no-results.tsx
Outdated
Show resolved
Hide resolved
app/javascript/packages/address-search/components/post-office-no-results.tsx
Outdated
Show resolved
Hide resolved
…30-PoNoResultsComponent
…30-PoNoResultsComponent
There was a problem hiding this comment.
If we want to merge this ahead of your other PR, then let's hardcode the PO search to use this component & make the other PR about making the component configurable. Make sure to re-verify that the screenshots are accurate after making the change.
@NavaTim Resolved with commit 1196fde - Screenshots include time- I tested just before I pushed up this commit. |
…30-PoNoResultsComponent
|
@NavaTim Thanks for your review/approval. I just pulled in main and ran through one more manual test. When Can you confirm this banner is the expected behavior when |
Yes, I merged #9154 into |
| className="grid-col-2" | ||
| style={{ marginTop: '30px' }} |
There was a problem hiding this comment.
- Can we use design system utility class instead of the inline style?
- From what I can see in the design, it looks like this should be 40px gap, not 30px ? (Asking also because 30px is not a multiple of the 8px design system base size)
| className="grid-col-2" | |
| style={{ marginTop: '30px' }} | |
| className="grid-col-2 margin-top-5" |
There was a problem hiding this comment.
Resolved with commit 18469c9 - I also adjusted the grid-gap to once after reading this. Tim was right- grid-gap should have been 8 (1) not 16 (2).
There was a problem hiding this comment.
Not sure why we're using a subpixel value for height? The change from 65 to 64.6
There was a problem hiding this comment.
@gina-yamada Subpixel values have historically been prone to rendering differences and bugs, so I recommend sticking with whole pixel values. I encountered this issue in Firefox previously when dynamically loading slices of a large image for a side-scrolling parallax feature.
There was a problem hiding this comment.
I will adjust the value in my next PR back to 65. I modified it to the value in FIGMA



🎫 Ticket
LG-10330 Make PO Search's no results view configurable -- This PR is just to make PO Search No Results View (the default view) and use it in InPersonLocations.
🛠 Summary of changes
NoInPersonLocationsDisplaycomponent that contains the new svg image and design (The stuff below the Search button only), see FIGMA Mocks2.0.0to2.1.0(I believe next step is to publish this new version so that I can use this component via import from 18f rather than file path)📜 Testing Plan
in_person_full_address_entry_enabledis set to true and set to false)👀 Screenshots
Before

After

Screenshots to show alt text applied translations