Skip to content

Commit e0957ba

Browse files
caisqchihuahua
authored andcommitted
[Debugger Plugin] Remove "Refresh" Button from Value Cards (#1017)
Instead, bind the refresh() method to on-change events of the Slicing and Time Indices input boxes.
1 parent e547f78 commit e0957ba

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tensorboard/plugins/debugger/tf_debugger_dashboard/tf-tensor-value-view.html

+4-6
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,23 @@
6767
class="inline value-card-input"
6868
label="Slicing"
6969
id="slicing"
70-
value="{{slicing}}">
70+
value="{{slicing}}"
71+
on-change="refresh">
7172
</paper-input>
7273
</div>
7374
<div>
7475
<paper-input
7576
class="inline value-card-input"
7677
label="Time Indices"
7778
id="time-indices"
78-
value="{{timeIndices}}">
79+
value="{{timeIndices}}"
80+
on-change="refresh">
7981
</paper-input>
8082
<paper-button raised
8183
id='time-indices-toggle-button'
8284
class='tensor-value-buttons'
8385
on-click='_timeIndicesToggleButtonCallback'
8486
>Full History</paper-button>
85-
<paper-button raised
86-
class="tensor-value-buttons"
87-
on-click="refresh"
88-
>Refresh</paper-button>
8987
</div>
9088
</td>
9189
<td class="tensor-value-view-td">

0 commit comments

Comments
 (0)