@@ -903,9 +903,7 @@ export function AnalyticsView({ problems, onNavigate }) {
903903 punchCard : stats . hourMatrix ,
904904 } ,
905905 monthlyDifficulty : stats . monthsDiff ,
906- platforms : Object . fromEntries (
907- Object . entries ( stats . platforms ) . map ( ( [ k , v ] ) => [ k , v . total ] ) ,
908- ) ,
906+ platforms : Object . fromEntries ( Object . entries ( stats . platforms ) . map ( ( [ k , v ] ) => [ k , v . total ] ) ) ,
909907 languages : stats . langs ,
910908 topTopics : Object . entries ( stats . topics )
911909 . sort ( ( a , b ) => b [ 1 ] . total - a [ 1 ] . total )
@@ -1362,7 +1360,12 @@ export function AnalyticsView({ problems, onNavigate }) {
13621360 plugins : {
13631361 legend : {
13641362 position : "bottom" ,
1365- labels : { color : "#94a3b8" , usePointStyle : true , boxWidth : 8 , font : { size : 10 } } ,
1363+ labels : {
1364+ color : "#94a3b8" ,
1365+ usePointStyle : true ,
1366+ boxWidth : 8 ,
1367+ font : { size : 10 } ,
1368+ } ,
13661369 } ,
13671370 } ,
13681371 } }
@@ -1389,7 +1392,8 @@ export function AnalyticsView({ problems, onNavigate }) {
13891392 </ div >
13901393 ` ;
13911394 const m = Math . floor ( secs / 60 ) ;
1392- const val = m >= 60 ? `${ Math . floor ( m / 60 ) } h ${ m % 60 } m` : `${ m } m ${ secs % 60 } s` ;
1395+ const val =
1396+ m >= 60 ? `${ Math . floor ( m / 60 ) } h ${ m % 60 } m` : `${ m } m ${ secs % 60 } s` ;
13931397 return html `
13941398 < div key =${ diff } class ="flex items-center justify-between">
13951399 < span class ="text-sm font-medium " style =${ { color } } > ${ diff } </ span >
@@ -1481,9 +1485,9 @@ export function AnalyticsView({ problems, onNavigate }) {
14811485 AI-Ready Insights Export
14821486 </ h3 >
14831487 < p class ="mt-1 text-xs text-slate-500 leading-snug ">
1484- Everything above as one JSON object — totals, streaks, punch card, monthly
1485- difficulty mix, topics, solve times. Paste it into any AI chat and ask what to
1486- practice next. No problem titles or code included.
1488+ Everything above as one JSON object — totals, streaks, punch card, monthly difficulty
1489+ mix, topics, solve times. Paste it into any AI chat and ask what to practice next. No
1490+ problem titles or code included.
14871491 </ p >
14881492 </ div >
14891493 < button
0 commit comments