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

Apply provides feedback #81

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BSierakowski
Copy link

Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the term.stylePrint with a new mailto: regex in addition to the http regex. My next approach was to write a new term.displayMailto function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.

47 vulnerabilities (1 low, 17 moderate, 24 high, 2 critical) fixed.

3 moderate vulnerabilities remain.
Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the `term.stylePrint` with a new mailto: regex in addition to the http regex. My next approach was to write a new `term.displayMailto` function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.
Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the `term.stylePrint` with a new mailto: regex in addition to the http regex. My next approach was to write a new `term.displayMailto` function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.
Breaking our CLI, will address in future commit.
@BSierakowski
Copy link
Author

Our netlify-cli dependency is very outdated, introducing 47 vulnerabilities (1 low, 21 moderate, 23 high, 2 critical.)

I'd love to update this and push but our CI is expecting certain versions and breaks when updating that dependency.

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.

1 participant