@@ -14,6 +14,7 @@ div.mt-3
1414 h5 Top file activity
1515 aw-summary( :fields ="$store.state.activity.editor.top_files" ,
1616 :namefunc ="top_editor_files_namefunc" ,
17+ :hoverfunc ="top_editor_files_hoverfunc" ,
1718 :colorfunc ="top_editor_files_colorfunc" , with_limit )
1819
1920 div.col-md-4
@@ -26,6 +27,7 @@ div.mt-3
2627 h5 Top project activity
2728 aw-summary( :fields ="$store.state.activity.editor.top_projects" ,
2829 :namefunc ="top_editor_projects_namefunc" ,
30+ :hoverfunc ="top_editor_projects_hoverfunc" ,
2931 :colorfunc ="top_editor_projects_colorfunc" , with_limit )
3032 br
3133</template >
@@ -49,6 +51,9 @@ export default {
4951 f = f[f .length - 1 ];
5052 return f;
5153 },
54+ top_editor_files_hoverfunc : e => {
55+ return ' file: ' + e .data .file + ' \n ' + ' project: ' + e .data .project ;
56+ },
5257 top_editor_files_colorfunc : e => e .data .language ,
5358
5459 top_editor_languages_namefunc : e => e .data .language ,
@@ -60,6 +65,7 @@ export default {
6065 f = f[f .length - 1 ];
6166 return f;
6267 },
68+ top_editor_projects_hoverfunc : e => e .data .project ,
6369 top_editor_projects_colorfunc : e => e .data .project ,
6470 };
6571 },
0 commit comments