@@ -83,7 +83,7 @@ const EventActionCell = ({
8383 onClick = { onClickEventDetails }
8484 className = { "action-cell-button" }
8585 editAccessRole = { "ROLE_UI_EVENTS_DETAILS_VIEW" }
86- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.DETAILS"} // Disabled due to performance concerns
86+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.DETAILS" }
8787 >
8888 < LuFileText />
8989 </ ButtonLikeAnchor >
@@ -94,7 +94,7 @@ const EventActionCell = ({
9494 onClick = { onClickSeriesDetails }
9595 className = { "action-cell-button more-series" }
9696 editAccessRole = { "ROLE_UI_SERIES_DETAILS_VIEW" }
97- // tooltipText={"EVENTS.SERIES.TABLE.TOOLTIP.DETAILS"} // Disabled due to performance concerns
97+ tooltipText = { "EVENTS.SERIES.TABLE.TOOLTIP.DETAILS" }
9898 >
9999 < LuFileSymlink />
100100 </ ButtonLikeAnchor >
@@ -103,7 +103,7 @@ const EventActionCell = ({
103103 { /* Delete an event */ }
104104 < ActionCellDelete
105105 editAccessRole = { "ROLE_UI_EVENTS_DELETE" }
106- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.DELETE"} // Disabled due to performance concerns
106+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.DELETE" }
107107 resourceId = { row . id }
108108 resourceName = { row . title }
109109 resourceType = { "EVENT" }
@@ -112,29 +112,23 @@ const EventActionCell = ({
112112
113113 { /* If the event has an preview then the editor can be opened and status if it needs to be cut is shown */ }
114114 { ! ! row . has_preview && hasAccess ( "ROLE_UI_EVENTS_EDITOR_VIEW" , user ) && (
115- // <Tooltip // Disabled due to performance concerns
116- // title={
117- // row.needs_cutting
118- // ? t("EVENTS.EVENTS.TABLE.TOOLTIP.EDITOR_NEEDS_CUTTING")
119- // : t("EVENTS.EVENTS.TABLE.TOOLTIP.EDITOR")
120- // }
121- // >
122- < a
123- href = { `/editor-ui/index.html?id=${ row . id } ` }
124- className = "action-cell-button cut"
125- target = "_blank" rel = "noreferrer"
126- >
127- < LuScissors />
128- { row . needs_cutting && < span id = "badge" className = "badge" /> }
129- </ a >
130- // </Tooltip>
115+ < a
116+ href = { `/editor-ui/index.html?id=${ row . id } ` }
117+ className = "action-cell-button cut"
118+ target = "_blank" rel = "noreferrer"
119+ data-tooltip-id = "my-tooltip"
120+ data-tooltip-content = { row . needs_cutting ? t ( "EVENTS.EVENTS.TABLE.TOOLTIP.EDITOR_NEEDS_CUTTING" ) : t ( "EVENTS.EVENTS.TABLE.TOOLTIP.EDITOR" ) }
121+ >
122+ < LuScissors />
123+ { row . needs_cutting && < span id = "badge" className = "badge" /> }
124+ </ a >
131125 ) }
132126
133127 { /* If the event has comments and no open comments then the comment tab of event details can be opened directly */ }
134128 { row . has_comments && ! row . has_open_comments && (
135129 < ButtonLikeAnchor
136130 onClick = { ( ) => onClickComments ( ) }
137- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.COMMENTS"} // Disabled due to performance concerns
131+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.COMMENTS" }
138132 className = { "action-cell-button comments" }
139133 >
140134 < LuMessageCircle className = "blue" />
@@ -145,7 +139,7 @@ const EventActionCell = ({
145139 { row . has_comments && row . has_open_comments && (
146140 < ButtonLikeAnchor
147141 onClick = { ( ) => onClickComments ( ) }
148- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.COMMENTS"} // Disabled due to performance concerns
142+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.COMMENTS" }
149143 className = { "action-cell-button comments-open" }
150144 >
151145 < LuMessageCircle className = "blue" />
@@ -158,7 +152,7 @@ const EventActionCell = ({
158152 < ButtonLikeAnchor
159153 onClick = { ( ) => onClickWorkflow ( ) }
160154 editAccessRole = { "ROLE_UI_EVENTS_DETAILS_WORKFLOWS_EDIT" }
161- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.PAUSED_WORKFLOW"} // Disabled due to performance concerns
155+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.PAUSED_WORKFLOW" }
162156 className = { "action-cell-button" }
163157 >
164158 < LuTriangleAlert className = "darkgrey" />
@@ -169,7 +163,7 @@ const EventActionCell = ({
169163 < ButtonLikeAnchor
170164 onClick = { ( ) => onClickAssets ( ) }
171165 editAccessRole = { "ROLE_UI_EVENTS_DETAILS_ASSETS_VIEW" }
172- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.ASSETS"} // Disabled due to performance concerns
166+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.ASSETS" }
173167 className = { "action-cell-button" }
174168 >
175169 < LuFolderOpen className = "darkgrey" />
@@ -179,7 +173,7 @@ const EventActionCell = ({
179173 < ButtonLikeAnchor
180174 onClick = { ( ) => showEmbeddingCodeModal ( ) }
181175 editAccessRole = { "ROLE_UI_EVENTS_EMBEDDING_CODE_VIEW" }
182- // tooltipText={"EVENTS.EVENTS.TABLE.TOOLTIP.EMBEDDING_CODE"} // Disabled due to performance concerns
176+ tooltipText = { "EVENTS.EVENTS.TABLE.TOOLTIP.EMBEDDING_CODE" }
183177 className = { "action-cell-button" }
184178 >
185179 < LuLink className = "darkgrey" />
0 commit comments