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

Allow for "link to service request" in URL #959

Closed
mattyweb opened this issue Feb 17, 2021 · 10 comments
Closed

Allow for "link to service request" in URL #959

mattyweb opened this issue Feb 17, 2021 · 10 comments
Labels

Comments

@mattyweb
Copy link
Collaborator

Description

Basically, it would be great to have a permanent link to a service request. Some URL that had the sr number in the query string for instance. This would let people bookmark service requests, email them, etc. We could also link to them from reports!

Action Items

Build something in the client that would parse the SR number out of the query string and show it on the map. Would just center to the request with the popup displayed. Would likely need to work for any SR (even ones that were closed, etc.)

@mattyweb mattyweb added the Role: Frontend React front end work label Feb 17, 2021
@mattyweb mattyweb added Needs More Info Request for more info...Issue not clear UI/UX labels Feb 22, 2021
@danarchen
Copy link

Suggestion: add sr link to popup?

@mattyweb mattyweb pinned this issue Mar 5, 2021
@danarchen
Copy link

@adamkendis has feasibility been evaluated?

@adamkendis adamkendis removed the UI/UX label Mar 12, 2021
@adamkendis
Copy link
Member

@danarchen No design work is needed for this ticket. I've removed the UI/UX label.

@adamkendis adamkendis removed the Needs More Info Request for more info...Issue not clear label Mar 12, 2021
@mattyweb
Copy link
Collaborator Author

@adamkendis, Was thinking about this a bit. It might be good to create the shareable links like this:
https://dev.311-data.org/srnumber/1-1865751831

This would then pull up/redirect to the map with that request in the popup.

My thinking is:

  1. That sharing by SR number makes sense since these are in the 311 system and are known to users
  2. That we might want to show something other than the map in the future for these. Like we might create a request detail page with additional information that wouldn't fit in a popup.
  3. We should expect these links to be shared in emails, Twitter, FB, etc. At some point we might want to use/create a URL shortener, but I think we're fine with this format for v2.

Any thoughts?

@adamkendis
Copy link
Member

@mattyweb

That sharing by SR number makes sense since these are in the 311 system and are known to users
That we might want to show something other than the map in the future for these. Like we might create a request detail page with additional information that wouldn't fit in a popup.

  • Makes sense and sounds good to me.

We should expect these links to be shared in emails, Twitter, FB, etc. At some point we might want to use/create a URL shortener, but I think we're fine with this format for v2.

  • I agree this format should be fine.

I'll build this as laid out in your initial comment - going to 311-data.org/srnumber/1-1234567 will load the dot for that service request on the map and open the popup.

@adamkendis adamkendis removed their assignment Mar 26, 2021
@captain-nimo captain-nimo added Size: 2pt Can be done in 7-12 hours Size: 5pt Can be done in 19-30 hours Size: 8pt Can be done in 31-48 hours and removed Size: 2pt Can be done in 7-12 hours Size: 5pt Can be done in 19-30 hours labels Mar 26, 2021
@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in X days.

@EchoProject
Copy link
Contributor

@adamkendis if this work hasn't been started yet, is there any objection to moving this issue into v3 scope?

@EchoProject EchoProject removed the Stale label Oct 19, 2021
@EchoProject
Copy link
Contributor

EchoProject commented Oct 22, 2021

Task item:

  • Find bookmark service request on actual myla311city.org.
  • Search for service request #, test if you copy-paste the link into a new browser, does it take you to that service request.

Notes:
-If we can link the service request from the map, we will do that as part of v1.
-Provide args in URL string so people can bookmark our map and it will render the map and zoom to the request as part of v2.

@EchoProject
Copy link
Contributor

After testing, the service request link does not render the desired service request page.
The URL gets redirected to the search page.
After examining html via Google Dev Tools, it looks like we can not link to the LA City site with LA City information.

UX: What is the use case for this feature?

  • User may want to see if a specific service request has been closed; however, they can not bookmark the service request from the LA City site.
  • Can we provide a service request link on the 311-Data app?
  • Can the user then easily look up the official report on the LA City site?

Review with Engineering

Resource
https://myla311.lacity.org/portal/faces/home?_adf.ctrl-state=aeyjivsk0_5&_afrLoop=7899276625669728#!

@EchoProject
Copy link
Contributor

Closing this issue after team discussion for lack of feasibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done (without merge)
Development

No branches or pull requests

6 participants