File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
browser-extension/src/datamodel Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface CommentEnhancer<Spot extends CommentSpot = CommentSpot> {
2020 */
2121 tryToEnhance ( textarea : HTMLTextAreaElement ) : [ OverType , Spot ] | null
2222
23- generateIcon ( spot : Spot ) : string
24- generateDisplayTitle ( spot : Spot ) : string
23+ tableIcon ( spot : Spot ) : string
24+ tableTitle ( spot : Spot ) : string
2525 buildUrl ( spot : Spot ) : string
2626}
Original file line number Diff line number Diff line change @@ -79,15 +79,15 @@ export class GitHubEnhancer implements CommentEnhancer<GitHubSpot> {
7979 return [ overtype , spot ]
8080 }
8181
82- generateDisplayTitle ( spot : GitHubSpot ) : string {
82+ tableTitle ( spot : GitHubSpot ) : string {
8383 const { slug, number } = spot
8484 if ( number ) {
8585 return `Comment on ${ slug } #${ number } `
8686 }
8787 return `New ${ window . location . pathname . includes ( '/issues/' ) ? 'issue' : 'PR' } in ${ slug } `
8888 }
8989
90- generateIcon ( spot : GitHubSpot ) : string {
90+ tableIcon ( spot : GitHubSpot ) : string {
9191 switch ( spot . type ) {
9292 case 'GH_ISSUE_NEW' :
9393 case 'GH_ISSUE_ADD_COMMENT' :
You can’t perform that action at this time.
0 commit comments