Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Added open in mail client functionality to email link within repo.com…#520

Merged
DanielJDufour merged 1 commit intoGSA:masterfrom
kerrynordstrom:make-email-clickable
Apr 2, 2018
Merged

Added open in mail client functionality to email link within repo.com…#520
DanielJDufour merged 1 commit intoGSA:masterfrom
kerrynordstrom:make-email-clickable

Conversation

@kerrynordstrom
Copy link
Copy Markdown
Contributor

Mail client opens with default subject of "Contribution Inquiry" and uses the "_top" href tag attribute which opens the document in the full body of the browser window

Summary

This PR adds the ability for a user to click the email address of the project owner which opens a new window with the subject line "Contribution Inquiry".

This PR fixes/implements the following bugs/features

  • Feature 1
    Improves page interaction by allowing clickable email link and opening of user's native email client

Adding this feature makes it easier for a user to contact a project owner to request more information about the library/API/project. The link opens in the user's default email client and eliminates the potential for the user to miscopy or mistype the project owner's email address.

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

npm start runs the webpack build and the following screenshots are taken from my localhost:2700 deployment:

screen shot 2018-03-26 at 1 53 51 pm

screen shot 2018-03-26 at 1 54 14 pm

Fixes #491

…ponent

Mail client opens with default subject of  and uses the  href tag attribute which opens the document in the full body of the browser window
@froi
Copy link
Copy Markdown
Contributor

froi commented Mar 26, 2018

Hi @kerrynordstrom. Thanks for the PR! 😄

The error in the tests is not code related. I think there is a misconfiguration in CircleCI that is causing it. We will take a look and let you know what going on.

@DanielJDufour
Copy link
Copy Markdown
Contributor

@kerrynordstrom , looks good. I'm merging now!

Copy link
Copy Markdown
Contributor

@DanielJDufour DanielJDufour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I manually tested locally and site works.

@DanielJDufour DanielJDufour merged commit 6fae128 into GSA:master Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emails on Project Details not clickable

3 participants