File tree 1 file changed +9
-0
lines changed
tensorboard/webapp/metrics/store
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
27
27
} from '../data_source' ;
28
28
import {
29
29
CardId ,
30
+ CardIdWithMetadata ,
30
31
CardMetadata ,
31
32
CardUniqueInfo ,
32
33
HistogramMode ,
@@ -166,6 +167,12 @@ export type CardStepIndexMap = Record<
166
167
CardStepIndexMetaData | null
167
168
> ;
168
169
170
+ export type CardInteractions = {
171
+ tagFilters : string [ ] ;
172
+ pins : CardIdWithMetadata [ ] ;
173
+ clicks : CardIdWithMetadata [ ] ;
174
+ } ;
175
+
169
176
export type CardToPinnedCard = Map < NonPinnedCardId , PinnedCardId > ;
170
177
171
178
export type PinnedCardToCard = Map < PinnedCardId , NonPinnedCardId > ;
@@ -254,6 +261,8 @@ export interface MetricsNonNamespacedState {
254
261
* Map from ElementId to CardId. Only contains all visible cards.
255
262
*/
256
263
visibleCardMap : Map < ElementId , CardId > ;
264
+ previousCardInteractions : CardInteractions ;
265
+ newCardInteractions : CardInteractions ;
257
266
}
258
267
259
268
export type MetricsState = NamespaceContextedState <
You can’t perform that action at this time.
0 commit comments