tenants icon indicating copy to clipboard operation
tenants copied to clipboard

Research integrating the Advocate Code system

Open romeboards opened this issue 7 years ago • 10 comments

The advocate code system allows a tenant user to be associated with an advocate user. When the tenant signs up, they'll be asked to enter the provided Advocate Code (see here for an example).

We want to append the advocate code to the provided link in the SMS content, i.e. https://www.justfix.nyc?q=samplecode

However, we can't know the length of the advocate code, which is a problem given our 160 character length of the SMS. So we'll probably want some sort of hash system or key-value mapping that would allow https:/www.justfix.nyc?q=1 where 1 => samplecode

Finally, when a user navigates to this link with the Advocate Code in the query string, we'll want to prepopulate the form with the code OR directly navigate the user to the post-code-entered state.

romeboards avatar Mar 29 '17 22:03 romeboards