• DiscoveryPage
  • DiscoveryPage QML Type

    The initial page used to discover available OnRabble chat servers. More...

    Detailed Description

    DiscoveryPage presents the user with a text input to enter a discovery URL and a button to begin the lookup process. It manages user feedback for success or failure and emits a signal when a valid DiscoveryPayload is retrieved.

    On successful discovery, the page emits discoveryCompleted with the retrieved payload, allowing the application to initiate the authentication process (usually by pushing AuthBrowserPage onto a stack).

    The page also includes a footer area showing previously used servers via RecentServersSelection.

    Usage Example

    DiscoveryPage {
        id: discoveryPage
        onDiscoveryCompleted: (payload) => {
            stackView.push(authPageComponent, { payload: payload });
        }
    }

    Properties

    • urlInput (alias) — Exposes the internal TextInput for external interaction (e.g., clearing after authentication).

    Signals

    • discoveryCompleted(DiscoveryPayload payload) — Emitted when a valid server configuration has been retrieved.

    See also DiscoveryManager, AuthBrowserPage, and ClientManager.