Skip to content

Instantly share code, notes, and snippets.

View timhooker's full-sized avatar

Tim Hooker timhooker

  • Winston Salem, NC
View GitHub Profile
@timhooker
timhooker / gist:395f2799094f655dd158
Last active August 29, 2015 14:15
isPalindrome
function isPalindrome(str) {
var forward = str;
var reverse = str.split('').reverse().join('');
var result;
forward !== reverse ? result = false : result = true;
return result;
}

Keybase proof

I hereby claim:

  • I am timhooker on github.
  • I am timmyhooker (https://keybase.io/timmyhooker) on keybase.
  • I have a public key ASD3IrtqKCvutn1aXLYPXNk5_P85BU3TrjrhYcgYsNb_WAo

To claim this, I am signing this object:

Permissions
One crucial change in this PR is the permissions work. We are querying app grants which should allow us to determine whether a user can create a chat. Currently groups has more work to do and so you may find that a person with permissions can create a group from a group but not from chat. Once the data has been synced, these data points should agree.
Select a group screen
Many thanks to @jayoshih for some great work on this screen. If we have a group id and in the future if we have a service type, this screen will take that via the route and then forward you on to the conversation create route with those selected params.
Navigation changes
For some of these routes to look correct, we want to show a cancel button. Unfortunately, the styles weren't correct and this was causing the cancel text to be truncated in a bad way.
A few other changes