+
Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Updates to Polymer2 branch #181

Merged
merged 2 commits into from
Apr 26, 2019
Merged

Updates to Polymer2 branch #181

merged 2 commits into from
Apr 26, 2019

Conversation

stephanwlee
Copy link
Contributor

@stephanwlee stephanwlee commented Apr 26, 2019

TensorBoard will not expose the plottable_js_css. Instead, Facets should use this syntax.

The second commit contains removal of web-animations.html which pulls in a polyfill for web-animation which seems to be very incompatible with the app. Note that importing neon-animation does not, by default, pull in the web-animations.html.

@stephanwlee stephanwlee changed the title Use more proper syntax for including css Updates to Polymer2 branch Apr 26, 2019
@@ -23,7 +23,7 @@

<dom-module id='facets-overview-chart'>
<template>
<link rel="stylesheet" href="../../../tf-imports/plottable.css">
<style include="plottable-style"></style>
Copy link
Contributor

Choose a reason for hiding this comment

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

where is plottable-style defined? through "@org_tensorflow_tensorboard//tensorboard/components/tf_imports:plottable"?

Copy link
Contributor Author

@stephanwlee stephanwlee Apr 26, 2019

Choose a reason for hiding this comment

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

style#include is a Polymer thing where you can specify name of the dom-module:
https://github.com/stephanwlee/tensorboard/blob/8837c95c5249ed7a643fd6bf5d47ba90125e6742/tensorboard/components/tf_imports/plottable.html#L29-L33

1: https://polymer-library.polymer-project.org/1.0/docs/devguide/styling
2: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

In this case, yes, it is referring to a dom-module defined inside the tf-imports/plottable.html

@jameswex jameswex merged commit d75d060 into PAIR-code:p2 Apr 26, 2019
@jameswex
Copy link
Contributor

With the web-animations.html removal, the paper-dropdown elemens don't seem to work (can't select anything in a drop-down, can't dismiss the drop-down). Did you see this in tensorboard as well?

@stephanwlee stephanwlee deleted the p2 branch April 26, 2019 16:13
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.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载