Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Field Offices #22

Closed
subdigital opened this issue Feb 4, 2017 · 2 comments
Closed

Support Field Offices #22

subdigital opened this issue Feb 4, 2017 · 2 comments
Assignees
Milestone

Comments

@subdigital
Copy link
Collaborator

The API was just updated to include field offices for contacts. It currently looks like this:

                {
                    "area": "Senate",
                    "field_offices": [
                        {
                            "city": "Central Texas",
                            "phone": "512-916-5834"
                        },
                        {
                            "city": "East Texas",
                            "phone": "903-593-5130"
                        },
                        {
                            "city": "North Texas",
                            "phone": "214-599-8749"
                        },
                        {
                            "city": "South Texas",
                            "phone": "956-686-7339"
                        },
                        {
                            "city": "South/Central Texas",
                            "phone": "210-340-2885"
                        },
                        {
                            "city": "Southeast Texas",
                            "phone": "713-718-3057"
                        }
                    ],
                    "id": "TX-TedCruz",
                    "name": "Ted Cruz",
                    "party": "Republican",
                    "phone": "202-224-5922",
                    "photoURL": "http://www.cruz.senate.gov/files/images/OfficialPortrait.jpg",
                    "reason": "This is one of your two senators",
                    "state": "TX"
                }

We need a similar mechanism for choosing which number to call on the CallScriptViewController

@subdigital subdigital modified the milestones: 1.0, 1.1 Feb 4, 2017
@subdigital subdigital self-assigned this Feb 5, 2017
@subdigital
Copy link
Collaborator Author

Need some suggestions on the button here. Any ideas @mccarron ?

simulator screen shot feb 4 2017 6 46 16 pm
simulator screen shot feb 4 2017 6 46 18 pm

@subdigital subdigital modified the milestones: 1.0, 1.1 Feb 5, 2017
@subdigital
Copy link
Collaborator Author

Moving to #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant