tensorboard icon indicating copy to clipboard operation
tensorboard copied to clipboard

Polymer 2.0

Open BinhangYuan opened this issue 9 years ago • 9 comments

Hi! I am learning how the code is constructed. I think the html is applying the tool of Polymer. It seems like Polymer 2.0 is available, is there any plan to move from the current implementation to polymer 2.0? Thanks!

BinhangYuan avatar Jul 21 '17 06:07 BinhangYuan

Correct: we use Polymer 1.x. We don't currently have any plans to switch to Polymer 2.0. (We may eventually be required to, but until then we'll be on 1.x.)

I'm closing this as it answers your direct question, but feel free to re-open if you have a followup.

wchargin avatar Jul 21 '17 17:07 wchargin

@wchargin Thanks for you reply!

BinhangYuan avatar Jul 24 '17 08:07 BinhangYuan

Hey! Does tensorboard support polymer 3.x? Because I'm developing a TesorBoard plugin. Thanks!

Khyta avatar Oct 10 '18 13:10 Khyta

@Khyta nope, not yet. We do intend to upgrade someday but we do not have a concrete plan around it.

stephanwlee avatar Oct 10 '18 14:10 stephanwlee

Resurrecting this issue for tracking purposes. We currently plan to migrate to Polymer 2 by end of Q2 2019; after that, we might migrate to Polymer 3.

wchargin avatar Mar 11 '19 21:03 wchargin

@wchargin - Is there a reason to move to Polymer 2 rather than directly go to Polymer 3? Just wondering what the justification for that was?

krish-penumarty avatar Jul 17 '19 13:07 krish-penumarty

@krish-penumarty it is for less code change.

Polymer 1 -> Polymer 2: introduces Shadow DOM v1 Polymer 2 -> Polymer 3: remove HTML import and Vulcanization.

In order to go from Polymer 1 to Polymer 3, we'd have to change our code to make it Shadow DOM v1 compliant and remove HTML imports at the same time which would make the diff overwhelming.

stephanwlee avatar Jul 17 '19 15:07 stephanwlee

@stephanwlee Thank you for sharing!

krish-penumarty avatar Jul 19 '19 15:07 krish-penumarty

Closing this issue as TensorBoard's Polymer code migration to Polymer 3 is complete, tracked in https://github.com/tensorflow/tensorboard/issues/3887.

psybuzz avatar Jan 23 '21 02:01 psybuzz