File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,17 +25,12 @@ jobs:
2525 defaults :
2626 run :
2727 working-directory : surfsense_obsidian
28- strategy :
29- fail-fast : false
30- matrix :
31- node-version : [20.x, 22.x]
32-
3328 steps :
3429 - uses : actions/checkout@v6
3530
3631 - uses : actions/setup-node@v6
3732 with :
38- node-version : ${{ matrix.node-version }}
33+ node-version : 22.x
3934 cache : npm
4035 cache-dependency-path : surfsense_obsidian/package-lock.json
4136
Original file line number Diff line number Diff line change 3636
3737 - uses : actions/setup-node@v6
3838 with :
39- node-version : 20 .x
39+ node-version : 22 .x
4040 cache : npm
4141 cache-dependency-path : surfsense_obsidian/package-lock.json
4242
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export class SurfSenseSettingTab extends PluginSettingTab {
115115 if ( this . plugin . settings . searchSpaceId !== null ) {
116116 try {
117117 await this . plugin . engine . ensureConnected ( ) ;
118- await this . plugin . engine . flushQueue ( ) ;
118+ await this . plugin . engine . maybeReconcile ( true ) ;
119119 new Notice ( "Surfsense: vault connected." ) ;
120120 this . display ( ) ;
121121 } catch ( err ) {
@@ -267,6 +267,7 @@ export class SurfSenseSettingTab extends PluginSettingTab {
267267
268268 private renderConnectionHeading ( containerEl : HTMLElement ) : void {
269269 const heading = new Setting ( containerEl ) . setName ( "Connection" ) . setHeading ( ) ;
270+ heading . nameEl . addClass ( "surfsense-connection-heading" ) ;
270271 const indicator = heading . nameEl . createSpan ( {
271272 cls : "surfsense-connection-indicator" ,
272273 } ) ;
Original file line number Diff line number Diff line change 4040
4141.surfsense-connection-indicator {
4242 display : inline-flex;
43- margin-left : 8px ;
44- vertical-align : middle;
4543 width : 14px ;
4644 height : 14px ;
4745}
4846
47+ .surfsense-connection-heading {
48+ display : inline-flex;
49+ align-items : center;
50+ gap : 8px ;
51+ }
52+
4953.surfsense-connection-indicator svg {
5054 width : 14px ;
5155 height : 14px ;
You can’t perform that action at this time.
0 commit comments