Add table of SMS/Voice support dynamically loaded from IDP#707
Add table of SMS/Voice support dynamically loaded from IDP#707zachmargolis merged 60 commits intomainfrom
Conversation
|
@nickttng suggested we check out the stacked width for mobile, and some visual indicators so I pushed a small change, at least using borderless for now
|
|
I think it's a good idea and could fit somewhere in the help content. I'd be curious about accessibility particularly for screen readers. Do we need a visual indicator for both "yes" and "no"? it looks crowded. |
The visual indicator was just one idea. Another was having a more sentence-like structure "supports voice and SMS". And we can also choose to hide some content (such as the visual indicators) from screen readers if we are concerned about accessibility. |
aduth
left a comment
There was a problem hiding this comment.
Personally I think it'd be marginally better to render this server-side to improve scrapability/indexing and no-JS user support. Maybe with a daily CircleCI job to make sure we're sync'd up. I do think the current implementation here would be much simpler to maintain though, and avoid any delay / overhead in the sync process.
Yeah I agree it would be great to have that, but AFAICT, Federalist does't have a notion of scheduled builds? So maybe we'd need to give CircleCI write access to GH so it could push to a |
In my mind I pictured something more like what we have with daily sitemap checks or Pinpoint configuration alerts we send to Slack, which still requires effort on part of the developer to push up the pull request to sync the changes. |
|
the backend is deploy to DEV and I updated the preview branch to pull from there, so the preview works now: https://federalist-17bd62cc-77b7-4687-9c62-39b462ce6fd5.app.cloud.gov/preview/18f/identity-site/margolis-country-support/help/manage-your-account/international-phone-support/ |
Couple thoughts:
|
Co-authored-by: Andrew Duthie <aduth@users.noreply.github.com>
Add additional information to country support table
|
The prod API endpoint has been deployed, this is ready to go! |
| isoCode, | ||
| { | ||
| name, | ||
| country_code: countryCode, |
There was a problem hiding this comment.
One thing we may consider in the future is to have the API respond with locale-translated country names? For example, Germany is "Allemagne" in French, but currently we show all country names in English.
There was a problem hiding this comment.
Yes definitely! The IDP itself only has English names right now, but that is a great idea. In the meantime we do that the ISO country codes too
There was a problem hiding this comment.
Yeah, I bet we're probably showing English names in some of our translated alert texts. Thinking ones like this in particular:
I'll plan to confirm and create a ticket as necessary.
content/_en/help/manage-your-account/international-phone-support.md
Outdated
Show resolved
Hide resolved
_sass/_colors.scss
Outdated
| // identity-style-guide backports | ||
| $error: #e21c3d; | ||
| $success: #18852e; |
There was a problem hiding this comment.
Sorry, I had a typo in my original comment. error is the correct token. I think it should be available in the older version?
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>



This is an idea for a help page with content loaded from the IDP, see IDP PR 18F/identity-idp#5523
If we wanted to launch this:
Here's how it looks right now:
