@@ -285,10 +285,10 @@ export class TimelineManager {
285285 }
286286
287287 private injectTimelineUI ( ) : void {
288- let bar = document . querySelector ( '.chatgpt -timeline-bar' ) as HTMLElement | null ;
288+ let bar = document . querySelector ( '.gemini -timeline-bar' ) as HTMLElement | null ;
289289 if ( ! bar ) {
290290 bar = document . createElement ( 'div' ) ;
291- bar . className = 'chatgpt -timeline-bar' ;
291+ bar . className = 'gemini -timeline-bar' ;
292292 document . body . appendChild ( bar ) ;
293293 }
294294 this . ui . timelineBar = bar ;
@@ -322,7 +322,7 @@ export class TimelineManager {
322322 if ( ! this . ui . tooltip ) {
323323 const tip = document . createElement ( 'div' ) ;
324324 tip . className = 'timeline-tooltip' ;
325- tip . id = 'chatgpt -timeline-tooltip' ;
325+ tip . id = 'gemini -timeline-tooltip' ;
326326 document . body . appendChild ( tip ) ;
327327 this . ui . tooltip = tip ;
328328 if ( ! this . measureEl ) {
@@ -765,7 +765,7 @@ export class TimelineManager {
765765
766766 this . onStorage = ( e : StorageEvent ) => {
767767 if ( ! e || e . storageArea !== localStorage ) return ;
768- const expectedKey = `chatgptTimelineStars :${ this . conversationId } ` ;
768+ const expectedKey = `geminiTimelineStars :${ this . conversationId } ` ;
769769 if ( e . key !== expectedKey ) return ;
770770 let nextArr : string [ ] = [ ] ;
771771 try {
@@ -1270,7 +1270,7 @@ export class TimelineManager {
12701270 dot . dataset . targetTurnId = marker . id ;
12711271 dot . setAttribute ( 'aria-label' , marker . summary ) ;
12721272 dot . setAttribute ( 'tabindex' , '0' ) ;
1273- dot . setAttribute ( 'aria-describedby' , 'chatgpt -timeline-tooltip' ) ;
1273+ dot . setAttribute ( 'aria-describedby' , 'gemini -timeline-tooltip' ) ;
12741274 dot . style . setProperty ( '--n' , String ( marker . n || 0 ) ) ;
12751275 if ( this . usePixelTop ) dot . style . top = `${ Math . round ( this . yPositions [ i ] ) } px` ;
12761276 dot . classList . toggle ( 'active' , marker . id === this . activeTurnId ) ;
@@ -1408,7 +1408,7 @@ export class TimelineManager {
14081408 const cid = this . conversationId ;
14091409 if ( ! cid ) return ;
14101410 try {
1411- localStorage . setItem ( `chatgptTimelineStars :${ cid } ` , JSON . stringify ( Array . from ( this . starred ) ) ) ;
1411+ localStorage . setItem ( `geminiTimelineStars :${ cid } ` , JSON . stringify ( Array . from ( this . starred ) ) ) ;
14121412 } catch { }
14131413 }
14141414
@@ -1417,7 +1417,7 @@ export class TimelineManager {
14171417 const cid = this . conversationId ;
14181418 if ( ! cid ) return ;
14191419 try {
1420- const raw = localStorage . getItem ( `chatgptTimelineStars :${ cid } ` ) ;
1420+ const raw = localStorage . getItem ( `geminiTimelineStars :${ cid } ` ) ;
14211421 if ( ! raw ) return ;
14221422 const arr = JSON . parse ( raw ) ;
14231423 if ( Array . isArray ( arr ) ) arr . forEach ( ( id : any ) => this . starred . add ( String ( id ) ) ) ;
0 commit comments