-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
How to add email link? #2297
Comments
Hi @ceevee830—thanks for the report. The error message is due to
In the meantime, you could work around this by using something like: <a href="[[_mailtoUrl(_email)]]">[[_email]]</a> where |
Summary: This patch teaches `WebfilesValidator` that `mailto:` URLs don’t express webfiles dependency relationships, and so do not need to be accompanied by a `web_library` provider. See: <tensorflow/tensorboard#2297> Test Plan: Unit test added; it fails before this change and passes after it. wchargin-branch: whitelist-mailto
This patch teaches `WebfilesValidator` that `mailto:` URLs don’t express webfiles dependency relationships, and so do not need to be accompanied by a `web_library` provider. See: <tensorflow/tensorboard#2297> Test Plan: Unit test added; it fails before this change and passes after it.
Thanks! This is on my current sprint so I'll try it out soon. |
Summary: This pulls in bazelbuild/rules_closure#383 to fix #2297, and integrates the same fix into our own `Vulcanize.java` for consistency. This diff includes a jscompiler upgrade from `v20190325` to `v20190528`. Test Plan: The `//tensorboard` target still builds and appears to run fine, with cursory inspection. Changing the `href` attribute of the help button in `tf-tensorboard` to `mailto:[email protected]` now builds and works properly; prior to this commit, that failed to build, as described in #2297. wchargin-branch: rules-closure-mailto-fix
@ceevee830: Sounds good. You can cherry-pick #2308 to upgrade the |
Summary: This pulls in bazelbuild/rules_closure#383 to fix #2297, and integrates the same fix into our own `Vulcanize.java` for consistency. This diff includes a jscompiler upgrade from `v20190325` to `v20190528`. Test Plan: The `//tensorboard` target still builds and appears to run fine, with cursory inspection. Changing the `href` attribute of the help button in `tf-tensorboard` to `mailto:[email protected]` now builds and works properly; prior to this commit, that failed to build, as described in #2297. wchargin-branch: rules-closure-mailto-fix
This patch teaches `WebfilesValidator` that `mailto:` URLs don’t express webfiles dependency relationships, and so do not need to be accompanied by a `web_library` provider. See: <tensorflow/tensorboard#2297> Test Plan: Unit test added; it fails before this change and passes after it.
TB version 1.13
Goal: Would like to add an
a href
link in the TensorBoard GUI that when clicked, allows user to send us an email.I grepped through the entire code base and did not find any hooks or links or tests that supports any references to any email system.
I'm looking for something like this:
When I include a link to an email address in the TensorBoard HTML file, then compile, I get the following bazel compiler error message:
ERROR: file.html: Referenced mailto:[email protected] (/path/mailto:[email protected]) without depending on a web_library() rule providing it
The text was updated successfully, but these errors were encountered: