Skip to content

print the clickable mailto link - #66

Closed
benmathes wants to merge 1 commit into
rootvc:mainfrom
benmathes:patch-1
Closed

benmathes wants to merge 1 commit into
rootvc:mainfrom
benmathes:patch-1

Conversation

@benmathes

Copy link
Copy Markdown

print the clickable mailto link if a user's browser prevents JS from changing location.href (likely common amongst ~hackery user segments)

CAVEAT: I have not tested this code. 😬. This was 15 mins between meetings @ my dayjob.

print the clickable mailto link if a user's browser prevents JS from changing location.href (likely common amongst ~hackery user segments)
@ledwards

Copy link
Copy Markdown
Contributor

The concern was legitimate: browsers do block location.href = "mailto:…" and the old code gave no indication anything had happened.

Closing because the function it patches is gone. pine is now a two-liner calling term.openURL(mailto:…), and openURL prints Opening <url> before it navigates — so the user does get feedback, which is what this PR was after. The apply flow that carried the "hacker in residence" / "analyst" roles was also replaced entirely by an interactive prompt that submits through a Netlify function.

One thing didn't carry over: the URL is printed via stylePrint, so it isn't clickable the way displayURL would render it. If a blocked mailto is still worth a fallback, that's the small change to make.

@ledwards ledwards closed this Aug 13, 2026
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.

2 participants