Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Add more SMS functionality #130

Merged
merged 19 commits into from
Jul 21, 2020
Merged

Add more SMS functionality #130

merged 19 commits into from
Jul 21, 2020

Conversation

sethvargo
Copy link
Member

/assign @mikehelmick

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Jul 21, 2020
<input type="tel" id="phone" name="phone" class="form-control" />
</div>
<small class="form-text text-muted">
This must be a phone number capable of receiving SMS text messages.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm..

Should we have a drop down for country code and have it default to the one configured by the PHA.

This seems like such an easy thing to miss.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, Twilio is "smart" in that by default it uses the country code associated with the account if one isn't provided. I'm thinking we leave this as-is for now and maybe iterate on it later? I originally went down a path of some client-side javascript stuff, but the twilio api error responses are pretty good.

pkg/controller/issueapi/issue.go Outdated Show resolved Hide resolved
pkg/controller/issueapi/issue.go Outdated Show resolved Hide resolved
pkg/controller/issueapi/issue.go Show resolved Hide resolved
pkg/controller/issueapi/issue.go Show resolved Hide resolved
pkg/controller/issueapi/issue.go Outdated Show resolved Hide resolved
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikehelmick, sethvargo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mikehelmick,sethvargo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 22ff03b into main Jul 21, 2020
@google-oss-robot google-oss-robot deleted the sethvargo/sms branch July 21, 2020 21:54
@google google locked and limited conversation to collaborators Oct 6, 2020
flagxor pushed a commit that referenced this pull request Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants