Skip to content

Commit

Permalink
update TB/closure version and move to new TB polymer wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswex committed Jun 28, 2019
1 parent af7b4c5 commit f19d52f
Show file tree
Hide file tree
Showing 25 changed files with 16,937 additions and 2,981 deletions.
18 changes: 9 additions & 9 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ versions.check(minimum_bazel_version = "0.22.0")

http_archive(
name = "io_bazel_rules_closure",
sha256 = "0e6de40666f2ebb2b30dc0339745a274d9999334a249b05a3b1f46462e489adf",
# The changes that we need for Bazel 0.23 compatibility are not in
# any release, so we pin to HEAD as of 2019-02-22.
strip_prefix = "rules_closure-87d24b1df8b62405de8dd059cb604fd9d4b1e395",
sha256 = "b6936ecc0b5a1ef616b9d7e76694d414aa5605265c11322257a610fb256b1bf7",
# The changes that we need for Bazel 0.26 compatibility are not in
# any release, so we pin to HEAD as of 2019-06-04.
strip_prefix = "rules_closure-7434c41542ca9e1b05166d897b90073d1b8b2cf8",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/87d24b1df8b62405de8dd059cb604fd9d4b1e395.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/87d24b1df8b62405de8dd059cb604fd9d4b1e395.tar.gz", # 2019-02-22
"http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/7434c41542ca9e1b05166d897b90073d1b8b2cf8.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/7434c41542ca9e1b05166d897b90073d1b8b2cf8.tar.gz", # 2019-06-04
],
)

Expand All @@ -49,10 +49,10 @@ closure_repositories(
)
http_archive(
name = "org_tensorflow_tensorboard",
sha256 = "cbfcd07a3361e8ad727717e5ffba77dc97f5c3a3606177db2b12e3c239de7ce2",
strip_prefix = "tensorboard-8837c95c5249ed7a643fd6bf5d47ba90125e6742",
sha256 = "09ced8f421fb9d4e73b3b0f8f44c91ee653251e7c2e2b953a4774a507c348a86",
strip_prefix = "tensorboard-b7dd0e369dfe51f6f08dbaf3e85fe0942dbaf64f",
urls = [
"https://github.com/stephanwlee/tensorboard/archive/8837c95c5249ed7a643fd6bf5d47ba90125e6742.tar.gz", # 2019-01-13
"https://github.com/stephanwlee/tensorboard/archive/b7dd0e369dfe51f6f08dbaf3e85fe0942dbaf64f.tar.gz", # 2019-06-28
],
)

Expand Down
19,838 changes: 16,911 additions & 2,927 deletions facets-dist/facets-jupyter.html

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions facets/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ tf_web_library(
deps = [
"//facets_dive/components/facets_dive",
"//facets_overview/components/facets_overview",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets/visualizations.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<script src="../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="../../polymer.html">
<link rel="import" href="../facets-overview/components/facets-overview/facets-overview.html">
<link rel="import" href="../facets-dive/components/facets-dive/facets-dive.html">
3 changes: 1 addition & 2 deletions facets_dive/demo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ tf_web_library(
deps = [
"//facets_dive/components/facets_dive",
"//facets_dive/lib/test:externs",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_dive/demo/quickdraw.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
<html>
<head>
<meta charset="utf-8">
<script src="../../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../../webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="../../../../polymer.html">
<link rel="import" href=".././components/facets-dive/facets-dive.html">
<link rel="import" href="../../../../tf-imports/d3.html">
<style>
Expand Down
2 changes: 1 addition & 1 deletion facets_dive/demo/quickdraw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {FacetsDive} from '../components/facets-dive/facets-dive';
const ss = document.querySelector('facets-dive') as FacetsDive;

const loadDataset = (url: string) => {
(d3.json(`${url}.json`) as any).then((data: Array<{}>) => {
((d3 as any).json(`${url}.json`) as any).then((data: Array<{}>) => {
ss.data = data;
ss.atlasUrl = `${url}.png`;
});
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/many/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/many/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="many-test.html">
<style>
Expand Down
1 change: 0 additions & 1 deletion facets_overview/functional_tests/many/many-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/simple/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/simple/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="simple-test.html">
<style>
Expand Down
1 change: 0 additions & 1 deletion facets_overview/functional_tests/simple/simple-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/single/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/single/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="single-test.html">
<style>
Expand Down
1 change: 0 additions & 1 deletion facets_overview/functional_tests/single/single-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/single_feature/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/single_feature/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="single-feature-test.html">
<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/stress/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/stress/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Stress Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="stress-test.html">
<style>
Expand Down
1 change: 0 additions & 1 deletion facets_overview/functional_tests/stress/stress-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down
4 changes: 1 addition & 3 deletions facets_overview/functional_tests/weighted/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ tf_web_library(
"//facets_overview/functional_tests/test_helpers",
"//facets_overview/proto:feature_statistics_closure_proto",
"@org_polymer_iron_demo_helpers",
"@org_polymer_web_animations_js",
"@org_tensorflow_tensorboard//tensorboard/components:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:d3",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:polymer",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:webcomponentsjs",
],
)

Expand Down
3 changes: 1 addition & 2 deletions facets_overview/functional_tests/weighted/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<head>
<meta charset="utf-8">
<title>Overview Test</title>
<script src="../../../web-animations-js/web-animations-next-lite.min.js"></script>
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../polymer.html">
<link rel="import" href="../../../iron-demo-helpers/demo-snippet.html">
<link rel="import" href="weighted-test.html">
<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../polymer/polymer.html">
<link rel="import" href="../../common/common_bundle.html">
<link rel="import" href="../test_helpers/test_helpers_bundle.html">
<link rel="import" href="../../components/facets-overview/facets-overview.html">
Expand Down

0 comments on commit f19d52f

Please sign in to comment.