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

Link to each shelter #48

Open
jnolasco opened this issue Sep 13, 2017 · 0 comments
Open

Link to each shelter #48

jnolasco opened this issue Sep 13, 2017 · 0 comments

Comments

@jnolasco
Copy link
Collaborator

Now that we have shelterids, it would be extraordinarily helpful to be able to direct link to a shelter:

i.e. https://www.irmashelters.org/shelters/{id}/{shelter-name}

  1. You'd only match the id, the shelter name is just in the url for readability.
    If the {shelter-name} is missing or misspelled or whatever, correct the address bar.

  2. The url in the address bar should change whenever you click to a new shelter.

  3. When loading irmashelters.org, the app should change the address bar to the "default collection" which is shelters. We can start thinking about other collections or layers like needs or volunteers.

  4. An important part of this is that all URLs will have to be routed to index.
    I don't know if thsi solve the problem, but I'd start here: https://www.google.com/search?q=reactjs+route+all+urls+to+index

Let me know if you tackle this otherwise I can take a stab at it tonight.

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