[PR #1709] [MERGED] Fix empty first-chat character setup copy #5224

Closed
opened 2026-10-22 04:14:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1709
Author: @Xelvanis
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @Xelvanis

Base: refactor ← Head: bugfix/1700-empty-first-chat


📝 Commits (5)

  • ce0f2ae Fix empty character setup copy
  • eef7ada Harden character setup empty states
  • 61dbc09 Clean up character empty-state helper
  • f02d23a Address character empty-state review
  • de345c3 Clarify unfiltered character empty-state queries

📊 Changes

1 file changed (+114 additions, -21 deletions)

View changed files

📝 src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx (+114 -21)

📄 Description

Linked issue

Closes #1700

Why this change

  • Empty New Conversation setup showed "All characters added." when there were zero characters, leaving Start Chatting disabled with no clear next step.

What changed

  • Split character picker empty states into loading, load failure, no characters, search miss, and all-selected states.
  • Added unfiltered character presence checks so typing into an empty library still shows the create/import blocker.
  • Applied the same empty-library distinction to roleplay setup and quick setup character pickers.

Refactor impact

Primary owner:

  • Shared mode UI

Impact areas reviewed:

  • Conversation setup wizard
  • Roleplay setup wizard
  • Roleplay quick setup character picker

Boundary notes:

  • Feature UI-only change.
  • No engine, shared API, Rust, storage, or remote-runtime boundary changes.

Pressure points touched:

  • Shared mode UI: ChatSetupWizard.tsx

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Reproduced before fix in a 390x844 browser viewport with one language connection, zero chats, and zero characters: New Conversation showed "All characters added." while Start Chatting was disabled.
  • Verified after fix in the same flow: New Conversation showed "No characters yet. Create or import one before starting a conversation." and Start Chatting remained disabled.
  • Edge checked zero characters plus typed search: no-characters blocker remained visible instead of "No matches."
  • Edge checked one existing character plus no-match search: picker showed "No matches."
  • Edge checked one selected character: picker showed "All characters added." and Start Chatting became enabled.
  • Tauri QA through the QA app window/WebView2 CDP: nativeIpc=true; empty initial, empty with search, existing character no-match search, and all-selected rows passed with no console errors.
  • Ran pnpm typecheck.
  • Ran pnpm exec prettier --check src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx.
  • Ran git diff --check.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

Docs/release notes: no docs changes needed; behavior is localized setup-wizard copy/state.

UI evidence

Local QA screenshots were captured under scratch/ during verification:

  • scratch/issue-1700-tauriqa-empty.png
  • scratch/issue-1700-tauriqa-all-selected.png

They are local proof artifacts, not reviewer-visible attachments.

Summary by CodeRabbit

  • Improvements
    • Standardized character selection messaging and display across all chat setup wizards to provide a more consistent user experience.
    • Enhanced character search functionality with improved result retrieval and better handling of loading states and empty result scenarios.
    • Improved interface consistency for character picker interactions across different wizard flows.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1709 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/31/2026 **Status:** ✅ Merged **Merged:** 5/31/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `bugfix/1700-empty-first-chat` --- ### 📝 Commits (5) - [`ce0f2ae`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ce0f2ae8fdc274f55d15ba1bfb6f8326aa1ea8f4) Fix empty character setup copy - [`eef7ada`](https://github.com/Pasta-Devs/Marinara-Engine/commit/eef7ada3911a29115e35eae9447b1604bd2d45b2) Harden character setup empty states - [`61dbc09`](https://github.com/Pasta-Devs/Marinara-Engine/commit/61dbc093ddb506aa49f653eb5aa096db0146324a) Clean up character empty-state helper - [`f02d23a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f02d23a41d545bc0fe78d2a7556e22414563d678) Address character empty-state review - [`de345c3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/de345c3dab8a435bf190f5b90a402cac83c03b10) Clarify unfiltered character empty-state queries ### 📊 Changes **1 file changed** (+114 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx` (+114 -21) </details> ### 📄 Description ## Linked issue Closes #1700 ## Why this change - Empty New Conversation setup showed "All characters added." when there were zero characters, leaving Start Chatting disabled with no clear next step. ## What changed - Split character picker empty states into loading, load failure, no characters, search miss, and all-selected states. - Added unfiltered character presence checks so typing into an empty library still shows the create/import blocker. - Applied the same empty-library distinction to roleplay setup and quick setup character pickers. ## Refactor impact Primary owner: - Shared mode UI Impact areas reviewed: - Conversation setup wizard - Roleplay setup wizard - Roleplay quick setup character picker Boundary notes: - Feature UI-only change. - No engine, shared API, Rust, storage, or remote-runtime boundary changes. Pressure points touched: - Shared mode UI: `ChatSetupWizard.tsx` ## Validation - [x] `pnpm check` passes locally - [x] `pnpm typecheck` passes locally - [x] `pnpm build` passes locally - [x] `pnpm check:architecture` passes locally - [x] `pnpm check:docs` passes locally - [x] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [x] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Reproduced before fix in a 390x844 browser viewport with one language connection, zero chats, and zero characters: New Conversation showed "All characters added." while Start Chatting was disabled. - Verified after fix in the same flow: New Conversation showed "No characters yet. Create or import one before starting a conversation." and Start Chatting remained disabled. - Edge checked zero characters plus typed search: no-characters blocker remained visible instead of "No matches." - Edge checked one existing character plus no-match search: picker showed "No matches." - Edge checked one selected character: picker showed "All characters added." and Start Chatting became enabled. - Tauri QA through the QA app window/WebView2 CDP: `nativeIpc=true`; empty initial, empty with search, existing character no-match search, and all-selected rows passed with no console errors. - Ran `pnpm typecheck`. - Ran `pnpm exec prettier --check src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx`. - Ran `git diff --check`. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims Docs/release notes: no docs changes needed; behavior is localized setup-wizard copy/state. ## UI evidence Local QA screenshots were captured under `scratch/` during verification: - `scratch/issue-1700-tauriqa-empty.png` - `scratch/issue-1700-tauriqa-all-selected.png` They are local proof artifacts, not reviewer-visible attachments. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Standardized character selection messaging and display across all chat setup wizards to provide a more consistent user experience. * Enhanced character search functionality with improved result retrieval and better handling of loading states and empty result scenarios. * Improved interface consistency for character picker interactions across different wizard flows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:14:22 +07:00
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#5224
No description provided.