Host floating chats on the shell window system
Phase 2.3 and 2.4 of docs/plans/floating-windows.md. A floating chat is a window of the chat kind over the app's WindowManager, built from the app-lifetime ChatRuntime, so it shows over every destination and at start without the Chat destination being built. Float and Dock move the same keyed view between the tiling and the window host. The pipelines app keeps one runtime and one ChatWindows; saved chatFloat records (v1 and v2) are brought over once. ChatFloatHost, ChatFloatWindow, the float frames and binding, the controller's float list and FloatingFocusRoot are gone; the workspace only asks whether a chat is out in a window. Every MenuAnchor targets the root overlay (guarded by a test), and menus and tooltips name the Alt chords.
This commit is contained in:
@@ -6,10 +6,8 @@ import 'browser_peer_stub.dart'
|
||||
/// Registers [server] with the same-origin relay. [needsPassword] is the
|
||||
/// relay's own verdict, distinct from an unreachable machine.
|
||||
Future<({bool connected, bool needsPassword, String? error})>
|
||||
registerBrowserPeer(
|
||||
SavedServer server, {
|
||||
String? password,
|
||||
}) => impl.register(server, password: password);
|
||||
registerBrowserPeer(SavedServer server, {String? password}) =>
|
||||
impl.register(server, password: password);
|
||||
Future<void> removeBrowserPeer(String id) => impl.remove(id);
|
||||
Uri browserPeerEndpoint(String id, Uri endpoint, {Uri? page}) {
|
||||
final origin = page ?? Uri.base;
|
||||
|
||||
@@ -297,4 +297,3 @@ class ServerSession {
|
||||
static ServerProbeResult interpret(Uri login, LoginProbe probe) =>
|
||||
interpretLoginProbe(login, probe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user