Skip to content

Use the AI Assistant from the phone app #3078

Done

Description

@Mavrick-F

Part of #1902.

The problem

On a phone, the AI Assistant can't be used without leaving the phone layout. The phone app opens in its touch interface: the map, with a bar of buttons along the bottom (Layers, Add Data, Capture, More), each opening a panel that slides up from the bottom. The Assistant isn't one of them. To reach it you switch to the desktop interface, which is too small to use on a phone.

That matters more on a phone than anywhere else. The touch interface has buttons for a few dozen of RustGIS's commands, mostly for collecting data. The Assistant can run any command, so on a phone it can stand in for the buttons that aren't there: "add the parks in this view and colour them by size" is one sentence.

Until recently it couldn't have worked on Android anyway: paste and the keyboard's suggestions didn't reach text fields, and an API key was forgotten every time the app closed. Both are fixed now (#3001, #3002).

Proposal

I've built this on a branch to try it out, and the screenshots are from it. The conversation in them is scripted, not a real model's.

An Assistant panel in the touch interface, opening from the bottom like Layers or Capture:

  • The conversation, with a text box at the bottom. Typing uses Android's own text field, so paste, suggestions and dictation work.
  • Three heights: full, for reading; half, to see the map and the conversation together; and a thin strip while the Assistant is working, showing what it's doing and a Stop button, so you can watch the map change.
  • When the Assistant wants to read or write a file or use the network, it asks first, as on the desktop. Those questions show as cards with buttons big enough for a finger.
Half height Full height, asking first Working, panel lowered
The Assistant panel at half height The Assistant panel at full height, asking before it exports the map The strip above the bar while the Assistant works

It stays out of the way for anyone who doesn't use it. Until an AI provider is set up, the only sign of the Assistant is a "Set Up the Assistant" row in More. Anyone who turns the Assistant off in Extensions doesn't see that either. It never opens by itself.

A button on the bottom bar, once it's set up. Phone guidelines allow three to five buttons on a bar like this, and there are four now. I'd keep four: Add Data, Capture, Assistant and More, and move Layers to a button in the map's top-right corner, where the zoom buttons used to be (pinching zooms on a phone). Five buttons, adding Assistant and keeping Layers on the bar, would fit too.

Today Four buttons, Layers on the map Five buttons
Today's bar: Layers, Add Data, Capture, More Four buttons: Add Data, Capture, Assistant, More, with Layers on the map Five buttons: Layers, Add Data, Capture, Assistant, More

Not part of this

  • The phone's own text field on iOS. The panel works there, but typing still goes through RustGIS's own text box, as it does today.
  • An undo button under each of the Assistant's replies, which needs other work first (feat(ui): add clickable undo history #2406).

Question

Is a fifth button on the bar, or Layers moving to the map, all right? I'd go with Layers on the map.

cc @opengeos/rustgis-maintainers

Activity

  1. self-assigned this
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions