File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1094,12 +1094,12 @@ function detectScene(panel: ComicPanel): ComicScene {
10941094 }
10951095
10961096 const haystack = `${ panel . action || '' } ${ panel . dialogue || '' } ${ panel . robotThought || '' } ${ panel . visualFocus || '' } ` . toLowerCase ( ) ;
1097- if ( / \b w h i t e b o a r d | d i a g r a m | a r r o w | a r c h i t e c t u r e | s c h e m a | c h a r t \b / . test ( haystack ) ) return 'whiteboard' ;
1098- if ( / \b i n c i d e n t | o u t a g e | p a g e r | s t a t u s | s e v | w a r r o o m | r o l l b a c k | p o s t m o r t e m \b / . test ( haystack ) ) return 'incident_room' ;
1099- if ( / \b m e e t i n g | s t a n d u p | r o a d m a p | k p i | s l i d e | s t a k e h o l d e r | e x e c u t i v e \b / . test ( haystack ) ) return 'meeting' ;
1100- if ( / \b d n s | t c p | p a c k e t | c a c h e | c d n | a p i | q u e u e | s e r v i c e | n e t w o r k \b / . test ( haystack ) ) return 'network' ;
1097+ if ( / \b (?: w h i t e b o a r d | d i a g r a m | a r r o w | a r c h i t e c t u r e | s c h e m a | c h a r t ) \b / . test ( haystack ) ) return 'whiteboard' ;
1098+ if ( / \b (?: i n c i d e n t | o u t a g e | p a g e r | s t a t u s | s e v | w a r r o o m | r o l l b a c k | p o s t m o r t e m ) \b / . test ( haystack ) ) return 'incident_room' ;
1099+ if ( / \b (?: m e e t i n g | s t a n d u p | r o a d m a p | k p i | s l i d e | s t a k e h o l d e r | e x e c u t i v e ) \b / . test ( haystack ) ) return 'meeting' ;
1100+ if ( / \b (?: d n s | t c p | p a c k e t | c a c h e | c d n | a p i | q u e u e | s e r v i c e | n e t w o r k ) \b / . test ( haystack ) ) return 'network' ;
11011101 if ( / \b ( t y p e | t y p i n g | t e r m i n a l | d e p l o y | b u i l d | c o m p i l e | k e y b o a r d | c u r s o r | s h e l l | s c r e e n | m o n i t o r | r e p l y | d e b u g | l o g s ? | s s h | k u b e c t l | m e r g e | c o m m i t | b r a n c h | p r o d | p r o d u c t i o n | p r o m p t | c o d e ) \b / . test ( haystack ) ) return 'terminal' ;
1102- if ( / \b d e s k | l a p t o p | c o f f e e | k e y b o a r d | c h a i r \b / . test ( haystack ) ) return 'desk' ;
1102+ if ( / \b (?: d e s k | l a p t o p | c o f f e e | k e y b o a r d | c h a i r ) \b / . test ( haystack ) ) return 'desk' ;
11031103 return 'plain' ;
11041104}
11051105
You can’t perform that action at this time.
0 commit comments