[GH-ISSUE #2001] [Issue]: Export actions need consistent toast feedback #979

Closed
opened 2026-10-21 05:24:42 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2001

Originally assigned to: @cha1latte on GitHub.

Summary

Several export actions complete without a clear success/failure toast, so the user can click Export, receive a downloaded file, and get no durable in-app confirmation that the export finished.

Expected behavior

Character, persona, lorebook, chat, preset, memory, and other export flows should show consistent toast feedback when an export succeeds or fails. The toast should identify what was exported and should not rely only on button text or the browser download shelf.

Actual behavior

Export feedback is inconsistent across export surfaces. Some bulk exports already show toast.success, but several single-item or chat-related export actions only trigger the download or close the format dialog. This leaves the user with no in-app confirmation if the browser download UI is hidden or delayed.

Steps to reproduce

  1. Open a resource editor that has a single-item export action, such as a character, persona, lorebook, preset, chat, or chat memory export flow.
  2. Click Export and choose an export format when prompted.
  3. Observe whether the app shows a success or failure toast after the download is triggered.
  4. Compare with bulk export surfaces that already show Exported N ... toasts.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: upstream main as inspected on 2026-06-03
  • Run mode: not captured; issue filed from source inspection
  • OS + version: not captured
  • Node + pnpm versions: not captured
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: not relevant

Logs, screenshots, or video

No screenshot attached. Source inspection examples:

  • src/features/catalog/characters/hooks/use-characters-panel-selection.ts shows a success toast for bulk character export.
  • src/features/catalog/characters/components/CharacterEditorDialogs.tsx triggers single character downloads but only handles errors.
  • src/features/catalog/personas/components/editor/PersonaEditor.tsx triggers persona export downloads without success/error toast handling.
  • src/features/catalog/lorebooks/components/editor/LorebookEditor.tsx triggers single lorebook downloads and closes the dialog without success/error toast handling.
  • src/features/catalog/presets/components/PresetEditor.tsx triggers preset export downloads from the toolbar without an obvious completion toast.
  • src/features/catalog/chats/hooks/use-chats.ts, use-bulk-export-chats.ts, ChatFilesDrawer.tsx, and ChatSettingsDrawer.tsx should be checked for matching chat transcript, bulk chat, preset, and memory export feedback.

Regression notes

Not confirmed as a regression. This is a usability consistency issue across export flows.

Additional context

Suggested repair: add a focused shared export feedback pattern around exportApi.triggerDownload(...) / triggerDownload(...) call sites so every export path reports success and failure consistently without duplicating string/error handling in every component.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Jun 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2001 Originally assigned to: @cha1latte on GitHub. ## Summary Several export actions complete without a clear success/failure toast, so the user can click Export, receive a downloaded file, and get no durable in-app confirmation that the export finished. ## Expected behavior Character, persona, lorebook, chat, preset, memory, and other export flows should show consistent toast feedback when an export succeeds or fails. The toast should identify what was exported and should not rely only on button text or the browser download shelf. ## Actual behavior Export feedback is inconsistent across export surfaces. Some bulk exports already show `toast.success`, but several single-item or chat-related export actions only trigger the download or close the format dialog. This leaves the user with no in-app confirmation if the browser download UI is hidden or delayed. ## Steps to reproduce 1. Open a resource editor that has a single-item export action, such as a character, persona, lorebook, preset, chat, or chat memory export flow. 2. Click Export and choose an export format when prompted. 3. Observe whether the app shows a success or failure toast after the download is triggered. 4. Compare with bulk export surfaces that already show `Exported N ...` toasts. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [x] Chat mode - [x] Roleplay mode - [x] Game mode - [x] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: upstream `main` as inspected on 2026-06-03 - Run mode: not captured; issue filed from source inspection - OS + version: not captured - Node + pnpm versions: not captured - Rust version, if relevant: not relevant - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: not relevant ## Logs, screenshots, or video No screenshot attached. Source inspection examples: - `src/features/catalog/characters/hooks/use-characters-panel-selection.ts` shows a success toast for bulk character export. - `src/features/catalog/characters/components/CharacterEditorDialogs.tsx` triggers single character downloads but only handles errors. - `src/features/catalog/personas/components/editor/PersonaEditor.tsx` triggers persona export downloads without success/error toast handling. - `src/features/catalog/lorebooks/components/editor/LorebookEditor.tsx` triggers single lorebook downloads and closes the dialog without success/error toast handling. - `src/features/catalog/presets/components/PresetEditor.tsx` triggers preset export downloads from the toolbar without an obvious completion toast. - `src/features/catalog/chats/hooks/use-chats.ts`, `use-bulk-export-chats.ts`, `ChatFilesDrawer.tsx`, and `ChatSettingsDrawer.tsx` should be checked for matching chat transcript, bulk chat, preset, and memory export feedback. ## Regression notes Not confirmed as a regression. This is a usability consistency issue across export flows. ## Additional context Suggested repair: add a focused shared export feedback pattern around `exportApi.triggerDownload(...)` / `triggerDownload(...)` call sites so every export path reports success and failure consistently without duplicating string/error handling in every component. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:24:42 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#979
No description provided.