File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ export class CommentEditor extends LitElement {
7777 extensions : [
7878 StarterKit . configure ( {
7979 heading : false ,
80+ link : {
81+ openOnClick : false ,
82+ } ,
8083 } ) ,
8184 Placeholder . configure ( {
8285 placeholder : msg ( 'Write a comment' ) ,
@@ -104,7 +107,7 @@ export class CommentEditor extends LitElement {
104107 protected override render ( ) {
105108 return html ` ${ this . renderSkeleton ( ) }
106109 <div
107- class= "border rounded-md border-solid border-gray-200 focus-within:border-blue-500 transition-all"
110+ class= "border rounded-md border-solid border-[var(--component-form-input-border-color)] focus-within:border-[var(--component-form-input-border-color-focus)] transition-all"
108111 ?hidden= ${ this . loading }
109112 >
110113 <div
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ export class CommentWidget extends LitElement {
152152 try {
153153 await this . fetchGlobalInfo ( ) ;
154154 await this . fetchConfigMapData ( ) ;
155+ await this . fetchCurrentUser ( ) ;
155156 } catch ( error ) {
156157 if ( error instanceof Error ) {
157158 this . toastManager ?. show ( error . message , 'error' ) ;
@@ -160,7 +161,6 @@ export class CommentWidget extends LitElement {
160161 } finally {
161162 this . isInitialized = true ;
162163 }
163- await this . fetchCurrentUser ( ) ;
164164 this . initAvatarProvider ( ) ;
165165 this . initAvatarPolicy ( ) ;
166166 }
Original file line number Diff line number Diff line change 11import './icons/icon-loading' ;
2- import './icons/icon-emoji' ;
32// eslint-disable-next-line @typescript-eslint/ban-ts-comment
43//@ts -ignore
54import en from '@emoji-mart/data/i18n/en.json' ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments