Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/workflows/python-tools-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ on:
- "tool/pr_screenshot_publish_test.py"
- "tool/play_promote.py"
- "tool/play_promote_test.py"
- "tool/onboarding_voice_samples.py"
- "tool/onboarding_voice_samples_test.py"
# The generator checks its sentence against the Dart one, and its
# on-device revision and voice against the app's.
- "lib/features/onboarding/ui/widgets/onboarding_voices_step.dart"
- "lib/features/tts/model/tts_model_option.dart"
- "lib/features/tts/model/tts_voice.dart"
- ".github/workflows/python-tools-ci.yml"
pull_request:
branches: [main]
Expand All @@ -52,13 +45,6 @@ on:
- "tool/pr_screenshot_publish_test.py"
- "tool/play_promote.py"
- "tool/play_promote_test.py"
- "tool/onboarding_voice_samples.py"
- "tool/onboarding_voice_samples_test.py"
# The generator checks its sentence against the Dart one, and its
# on-device revision and voice against the app's.
- "lib/features/onboarding/ui/widgets/onboarding_voices_step.dart"
- "lib/features/tts/model/tts_model_option.dart"
- "lib/features/tts/model/tts_voice.dart"
- ".github/workflows/python-tools-ci.yml"

concurrency:
Expand Down Expand Up @@ -178,27 +164,3 @@ jobs:
run: |
python -m coverage run --include=play_promote.py -m unittest play_promote_test.py
python -m coverage report --show-missing --fail-under=100

onboarding-voice-samples:
name: Onboarding Voice Samples (test + coverage)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.13"

- name: Install coverage
run: pip install coverage

# Runs without the model, the network or any key: every path is
# exercised against fakes, and the report fails below 100%.
- name: Test with coverage
run: |
python -m coverage run --include=tool/onboarding_voice_samples.py -m unittest tool.onboarding_voice_samples_test
python -m coverage report --show-missing --fail-under=100
Binary file removed assets/onboarding/voice_samples/on_device.wav
Binary file not shown.
16 changes: 16 additions & 0 deletions changelog.d/2026-11-14-onboarding-focused-first-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Changed
- **Setting Lotti up for the first time is shorter: five steps, each asking
for one thing.** The welcome now leads straight to the one key, then to
pasting it, picking your areas and your first task. The two optional steps
that stood before the key are gone from the first run: you choose how Lotti
looks in Settings › Companion and how she sounds in Settings › Speech,
whenever you like. The "You're all set" screen, which only asked to be
tapped away, is gone too: once your key works, the areas open at once and
Lotti tells you there that you are connected, aloud where your provider
gives her a voice.

### Fixed
- **Two of the three voice samples in the first-run setup could not play.**
Only the on-device sample shipped with the app, so the Mistral Voxtral and
ElevenLabs buttons ended in an error. The samples step is no longer part
of setup; you pick and try her voices in Settings › Speech.
2 changes: 1 addition & 1 deletion docs-site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ When only a new or changed case needs publishing, pass its IDs to the manifest
builder so the existing catalog remains untouched. For example:

```bash
npm run manifest -- --locales en,de --cases onboarding/api-key,onboarding/success
npm run manifest -- --locales en,de --cases onboarding/api-key,onboarding/categories
```

Use `--skip-manifest` only to prepare an incomplete locale catalog before a
Expand Down
6 changes: 0 additions & 6 deletions docs-site/docs/getting-started/onboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ endpoint and reports reachable models. A successful connection saves the
provider and seeds the models and inference profile used by the remaining
steps.

<ManualScreenshot
caseId="onboarding/success"
alt="Lotti onboarding confirmation that the AI provider is connected and ready"
caption="The connection confirmation is intentionally calm; the larger payoff is reserved for the first real task."
/>

Captured task text is sent for structuring to the provider assigned to the
selected category. Choose a provider whose deployment and data-handling model
fits the material you plan to capture. A reachable local Ollama endpoint keeps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ zpřístupní tlačítko **Připojit**. U Ollamy ověří nastavený místní ko
zobrazí dostupné modely. Úspěšné připojení uloží poskytovatele a připraví modely
i profil inference pro zbývající kroky.

<ManualScreenshot
caseId="onboarding/success"
alt="Potvrzení úvodního průvodce, že poskytovatel AI je připojený a připravený"
caption="Potvrzení připojení je záměrně klidné. Důležitější okamžik přijde s prvním skutečným úkolem."
/>

Text zachyceného úkolu se kvůli strukturování posílá poskytovateli přiřazenému k
vybrané kategorii. Vyber poskytovatele, jehož způsob nasazení a nakládání s daty
odpovídá materiálu, který chceš zachycovat. Dostupný místní koncový bod Ollama
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ lokale endpoint og rapporterer de modeller, der kan nås. En vellykket
forbindelse gemmer udbyderen og opretter de modeller og den inferensprofil,
som de resterende trin bruger.

<ManualScreenshot
caseId="onboarding/success"
alt="Lottis onboarding-bekræftelse på, at AI-udbyderen er forbundet og klar"
caption="Forbindelsesbekræftelsen er bevidst rolig; den større belønning er gemt til den første rigtige opgave."
/>

Indfanget opgavetekst sendes til strukturering hos den udbyder, der er
tildelt den valgte kategori. Vælg en udbyder, hvis drifts- og
datahåndteringsmodel passer til det materiale, du planlægger at indfange. Et
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ Verbindung, bevor **Verbinden** aktiv wird. Ollama prüft den lokalen Endpunkt
und meldet erreichbare Modelle. Bei Erfolg speichert Lotti Anbieter, Modelle
und das für weitere Schritte benötigte Inferenzprofil.

<ManualScreenshot
caseId="onboarding/success"
alt="Bestätigung im Onboarding, dass der KI-Anbieter verbunden und bereit ist"
caption="Die Verbindungsbestätigung bleibt bewusst ruhig. Der eigentliche Gewinn kommt mit der ersten echten Aufgabe."
/>

Erfasster Aufgabentext wird zur Strukturierung an den Anbieter der gewählten
Kategorie gesendet. Wähle einen Anbieter, dessen Hosting und Datenverarbeitung
zu dem Material passen, das du erfassen willst. Ein erreichbares lokales
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ La página de proveedores identifica las opciones alojadas y locales disponibles

Para un proveedor alojado, pega su clave de API. Lotti verifica la conexión antes de activar **Conectar**. Ollama verifica el endpoint local configurado e informa de los modelos disponibles. Una conexión correcta guarda el proveedor y prepara los modelos y el perfil de inferencia que usan los pasos restantes.

<ManualScreenshot
caseId="onboarding/success"
alt="Confirmación del onboarding de Lotti de que el proveedor de IA está conectado y listo"
caption="La confirmación de conexión es deliberadamente tranquila; la recompensa importante queda reservada para tu primera tarea real."
/>

El texto de las tareas capturadas se envía al proveedor asignado a la categoría seleccionada para estructurarlo. Elige un proveedor cuyo despliegue y tratamiento de datos encajen con el material que vas a capturar. Si Ollama se ejecuta en un endpoint local accesible, la solicitud de estructuración permanece en la máquina que lo ejecuta.

## Elige en qué áreas trabajar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ et indique les modèles joignables. Une connexion réussie conserve le
fournisseur et prépare les modèles ainsi que le profil d’inférence utilisés
dans les étapes suivantes.

<ManualScreenshot
caseId="onboarding/success"
alt="Confirmation de l’intégration Lotti que le fournisseur d’IA est connecté et prêt"
caption="La confirmation de connexion est volontairement sobre ; la récompense plus importante est réservée à la première vraie tâche."
/>

Le texte capturé pour une tâche est envoyé au fournisseur affecté à la catégorie
sélectionnée afin d’être structuré. Choisis un fournisseur dont le déploiement
et le traitement des données correspondent au contenu que tu prévois de
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ locale configurato e riporta i modelli raggiungibili. Una connessione riuscita
salva il provider e inizializza i modelli e il profilo di inferenza usati dai
passaggi restanti.

<ManualScreenshot
caseId="onboarding/success"
alt="Conferma dell'onboarding di Lotti che il provider AI è collegato e pronto"
caption="La conferma della connessione è volutamente sobria; la soddisfazione più grande è riservata alla prima attività reale."
/>

Il testo dell'attività catturata viene inviato per la strutturazione al
provider assegnato alla categoria selezionata. Scegli un provider il cui
modello di distribuzione e di gestione dei dati si adatta al materiale che
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ geconfigureerde lokale eindpunt en rapporteert bereikbare modellen. Een geslaagd
verbinding slaat de provider op en legt de modellen en het inferentieprofiel aan die
door de overige stappen worden gebruikt.

<ManualScreenshot
caseId="onboarding/success"
alt="Lotti-onboardingbevestiging dat de AI-provider is verbonden en klaar"
caption="De verbindingsbevestiging is opzettelijk kalm; de grotere beloning is gereserveerd voor de eerste echte taak."
/>

De vastgelegde taaktekst wordt ter structurering verzonden naar de provider die aan de
geselecteerde categorie is toegewezen. Kies een provider waarvan het implementatie- en
gegevensverwerkingsmodel past bij het materiaal dat je wilt vastleggen. Een bereikbaar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ configurado e informa os modelos acessíveis. Uma conexão bem-sucedida salva o
provedor e semeia os modelos e o perfil de inferência usados pelas etapas
seguintes.

<ManualScreenshot
caseId="onboarding/success"
alt="Confirmação de integração da Lotti de que o provedor de IA está conectado e pronto"
caption="A confirmação da conexão é intencionalmente calma; o maior retorno é reservado para a primeira tarefa real."
/>

O texto de tarefa capturado é enviado para estruturação ao provedor atribuído
à categoria selecionada. Escolha um provedor cujo modelo de implantação e de
tratamento de dados combine com o material que você planeja capturar. Um
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ Pagina furnizorilor prezintă opțiunile găzduite și locale disponibile:

Pentru un furnizor găzduit, lipiți cheia API a furnizorului. Lotti verifică conexiunea înainte de a activa **Conectare**. Ollama verifică punctul final local configurat și raportează modelele accesibile. O conexiune reușită păstrează furnizorul și inițializează modelele și profilul de inferență folosite în pașii următori.

<ManualScreenshot
caseId="onboarding/success"
alt="Confirmarea configurării inițiale Lotti că furnizorul AI este conectat și pregătit"
caption="Confirmarea conexiunii este intenționat discretă; câștigul mai important este păstrat pentru prima sarcină reală."
/>

Textul capturat al sarcinii este trimis pentru structurare la furnizorul atribuit categoriei selectate. Alegeți un furnizor al cărui mod de implementare și de prelucrare a datelor se potrivește materialului pe care intenționați să îl capturați. Un punct final Ollama local accesibil menține această solicitare de structurare pe dispozitivul pe care rulează.

## Alegeți domeniile de lucru
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ konfigurerade lokala slutpunkten och rapporterar nåbara modeller. En lyckad
anslutning sparar leverantören och lägger grunden för de modeller och den
inferensprofil som de återstående stegen använder.

<ManualScreenshot
caseId="onboarding/success"
alt="Lottis bekräftelse i onboardingen på att AI-leverantören är ansluten och redo"
caption="Anslutningsbekräftelsen är medvetet lugn; den större belöningen sparas till den första verkliga uppgiften."
/>

Fångad uppgiftstext skickas för strukturering till den leverantör som är
tilldelad den valda kategorin. Välj en leverantör vars driftform och
datahantering passar materialet du planerar att fånga. En nåbar lokal
Expand Down
1 change: 0 additions & 1 deletion docs-site/metadata/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@
"onboarding/welcome",
"onboarding/providers",
"onboarding/api-key",
"onboarding/success",
"onboarding/categories",
"onboarding/first-task",
"onboarding/task-created"
Expand Down
11 changes: 0 additions & 11 deletions docs-site/metadata/screenshot-cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -1060,17 +1060,6 @@
"desktop-dark": "onboarding_api_key_desktop_dark.png"
}
},
{
"id": "onboarding/success",
"title": "Onboarding provider connected",
"sourceTest": "test/features/onboarding/ui/onboarding_manual_screenshots_test.dart",
"variants": {
"mobile-light": "onboarding_success_mobile_light.png",
"mobile-dark": "onboarding_success_mobile_dark.png",
"desktop-light": "onboarding_success_desktop_light.png",
"desktop-dark": "onboarding_success_desktop_dark.png"
}
},
{
"id": "onboarding/categories",
"title": "Onboarding work areas",
Expand Down
48 changes: 4 additions & 44 deletions integration_test/tutorial/onboarding_first_run_tutorial_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// 2. choose an AI brain → Melious,
/// 3. the API key is typed into the obscured field (read from
/// `MELIOUS_API_KEY`, never revealed, never spoken) and verified live,
/// 4. the success beat and the first life area,
/// 4. the first life area, where she says the key worked,
/// 5. the first task is dictated through the virtual microphone,
/// 6. Lotti structures it, and the created card opens the real task page.
@Tags(['tutorial-video'])
Expand Down Expand Up @@ -136,37 +136,6 @@ void main() {

await driver.step('choose_brain', () async {
await tapLabel(l10n.onboardingWelcomeOneKeyButton);
await driver.pumpUntilFound(panel('make-her-yours'));
});

await driver.step('make_her_yours', () async {
await driver.holdUntil(
driver.timeline.elapsed + const Duration(milliseconds: 1500),
);
final keep = find.descendant(
of: panel('make-her-yours'),
matching: find.text(l10n.onboardingMakeHerYoursContinue),
);
await tester.ensureVisible(keep);
await tester.pump();
await tapLabel(
l10n.onboardingMakeHerYoursContinue,
within: panel('make-her-yours'),
);
await driver.pumpUntilFound(panel('voices'));
});

await driver.step('voices', () async {
await driver.holdUntil(
driver.timeline.elapsed + const Duration(milliseconds: 1500),
);
final next = find.descendant(
of: panel('voices'),
matching: find.text(l10n.onboardingVoicesContinue),
);
await tester.ensureVisible(next);
await tester.pump();
await tapLabel(l10n.onboardingVoicesContinue, within: panel('voices'));
await driver.pumpUntilFound(panel('connect'));
});

Expand Down Expand Up @@ -227,24 +196,15 @@ void main() {
);
// Connecting saves the provider and runs the FTUE model seeding
// against Melious — a network round-trip, recorded as a wait.
// The areas open the moment it has: there is no success screen
// in between.
await driver.pumpUntil(
() => panel('success').evaluate().isNotEmpty,
() => panel('category').evaluate().isNotEmpty,
description: 'the provider connected and its models seeded',
timeout: const Duration(minutes: 2),
);
});

await driver.step('connected', () async {
await driver.holdUntil(
driver.timeline.elapsed + const Duration(milliseconds: 1500),
);
await tapLabel(
l10n.onboardingSuccessContinue,
within: panel('success'),
);
await driver.pumpUntilFound(panel('category'));
});

await driver.step('choose_areas', () async {
await driver.holdUntil(
driver.timeline.elapsed + const Duration(milliseconds: 1200),
Expand Down
19 changes: 6 additions & 13 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ PODS:
- FlutterMacOS
- audio_session (0.0.1):
- Flutter
- audioplayers_darwin (0.0.1):
- Flutter
- FlutterMacOS
- camera_avfoundation (0.0.1):
- Flutter
- connectivity_plus (0.0.1):
Expand Down Expand Up @@ -122,7 +119,6 @@ PODS:
DEPENDENCIES:
- audio_decoder (from `.symlinks/plugins/audio_decoder/darwin`)
- audio_session (from `.symlinks/plugins/audio_session/ios`)
- audioplayers_darwin (from `.symlinks/plugins/audioplayers_darwin/darwin`)
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/darwin`)
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
Expand Down Expand Up @@ -175,8 +171,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/audio_decoder/darwin"
audio_session:
:path: ".symlinks/plugins/audio_session/ios"
audioplayers_darwin:
:path: ".symlinks/plugins/audioplayers_darwin/darwin"
camera_avfoundation:
:path: ".symlinks/plugins/camera_avfoundation/darwin"
connectivity_plus:
Expand Down Expand Up @@ -255,24 +249,23 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
audio_decoder: 9d20f77489715b63730ff64bbef05aa68190c2e0
audio_session: 9bb7f6c970f21241b19f5a3658097ae459681ba0
audioplayers_darwin: 835ced6edd4c9fc8ebb0a7cc9e294a91d99917d5
camera_avfoundation: 968a9a5323c79a99c166ad9d7866bfd2047b5a9b
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
file_selector_ios: ec57ec07954363dd730b642e765e58f199bb621a
file_selector_ios: fb1dd93b450e9c1ac595c0c8cf29cc855ea24d61
Flutter: 71a624a5bc0c04062bf19101d501e466baf2fb47
flutter_contacts: 2ec1d6b62ca2869c3bbb3871bd74d4e3ef157135
flutter_image_compress_common: 11d5dcfb36f4ded92320bfa896261813a073240e
flutter_keyboard_visibility_temp_fork: 95b2d534bacf6ac62e7fcbe5c2a9e2c2a17ce06f
flutter_lame: bee3d284f5ca264d3ab4c0c898ce219ddfeba03d
flutter_local_notifications: 643a3eda1ce1c0599413ca31672536d423dee214
flutter_onnxruntime: 7ae80bec9e18920ee2ff9855bcf2f8741166c1be
flutter_secure_storage_darwin: acdb3f316ed05a3e68f856e0353b133eec373a23
flutter_secure_storage_darwin: 46e401699982ee74142909676535e0f6a7321e58
flutter_vodozemac: 46015daf07988356d46784d05ab0c7afca00ff36
gal: baecd024ebfd13c441269ca7404792a7152fde89
geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e
health: 4decf5d74e8f54c58a8c07a385fc72f629a831d9
image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326
image_picker_ios: 9285ee31b06d6e15629dd5713b890f0c457a0a8b
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
irondash_engine_context: 8e58ca8e0212ee9d1c7dc6a42121849986c88486
is_ios_simulator: 1125d89fceb232f353d3ec3602c9a67da6e6aada
Expand All @@ -292,13 +285,13 @@ SPEC CHECKSUMS:
record_ios: 390a30c7caaf8b5d0fb1cb1d2fd5064b48b4520c
SDWebImage: e9fc87c1aab89a8ab1bbd74eba378c6f53be8abf
SDWebImageWebPCoder: 0e06e365080397465cc73a7a9b472d8a3bd0f377
share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb
share_plus: eccd7beb7cea61271aeed1800e8ccb2b952c0c7f
shared_preferences_foundation: a7c3904f2dedb3701dd1903cb152ef5e7df92422
sherpa_onnx_ios: 32af18abd5c776d5f425d2abe0903471d26db221
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
super_native_extensions: b763c02dc3a8fd078389f410bf15149179020cb4
url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b
video_player_avfoundation: 3453f792138786248960ca029747fcd9f318ef52
video_player_avfoundation: bc5f800d1e1c4f389bc5d51778a4f89dd1bf4a77

PODFILE CHECKSUM: 42f202ec693eb2d5e19e000bf11590a1ac4ee130

Expand Down
Loading
Loading