test: Ensure tests work after latest changes
All checks were successful
Queue Release Build / prepare (push) Successful in 17s
Deploy Web Apps / deploy (push) Successful in 7m20s
Queue Release Build / build-windows (push) Successful in 25m4s
Queue Release Build / build-linux (push) Successful in 33m59s
Queue Release Build / finalize (push) Successful in 41s

This commit is contained in:
2026-05-19 00:52:28 +02:00
parent 54e8b9a5e4
commit 232a9ea8ea
9 changed files with 114 additions and 26 deletions

View File

@@ -27,7 +27,8 @@ import {
lucideGlobe,
lucidePlus,
lucideSettings,
lucideChevronDown
lucideChevronDown,
lucideLogIn
} from '@ng-icons/lucide';
import { RoomsActions } from '../../../../store/rooms/rooms.actions';
@@ -94,7 +95,8 @@ interface JoinPluginConsentDialog {
lucideGlobe,
lucidePlus,
lucideSettings,
lucideChevronDown
lucideChevronDown,
lucideLogIn
})
],
templateUrl: './server-search.component.html'
@@ -246,6 +248,11 @@ export class ServerSearchComponent implements OnInit {
this.settingsModal.open('network');
}
/** Navigate to the login screen, preserving the search route as the return URL. */
goLogin(): void {
this.router.navigate(['/login'], { queryParams: { returnUrl: '/search' } });
}
/**
* Navigate back from the Search page to the chat-room view (server rail + current server).
* Prefers the current room; falls back to the first saved room. No-op when the user has not