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

report link: copy information to clipboard onclick, initial setup #275

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrtmrt233
Copy link
Contributor

@mrtmrt233 mrtmrt233 commented May 3, 2020

resolves #63

What I did

The report link now copies the address and tree id to system clipboard on user click, before opening the city website

works on chrome desktop and iOS, but I haven't test it extensively

not yet set up for vacant sites

Should we also:
-display a pop-up telling user information is copied, they can paste directly into the city work form (need some design mock up for this)
-set a delay on opening the new window (around 3s?)

@emillipede
Copy link
Collaborator

thank you for finding a way to offer this option @mrtmrt233! while we can't directly connect to the city serve, the copied information will help users report tree problems.

I'm not sure how to best organize the interaction for users. I'll get in touch with the design volunteer to ask for input. I think itmight be easiest for a user to understand the process if they click a separate button to copy the information, but that seems like a clunky way to go about it. maybe a hover or a pop up would work better.

thank you again!

@mrtmrt233
Copy link
Contributor Author

Now working for vacant site and trees.

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

Successfully merging this pull request may close these issues.

link to Santa Monica Works webform to report tree problems
2 participants