[PR #1819] [MERGED] Move Discover to the homepage #5289

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1819
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte

Base: refactor ← Head: refactor


📝 Commits (3)

  • 576d072 Move Discover to homepage
  • c87c575 Refresh PR checks after body fix
  • 7913b88 Address review feedback: discovery homepage surface

📊 Changes

10 files changed (+86 additions, -591 deletions)

View changed files

📝 src/app/shell/AppShell.tsx (+14 -1)
📝 src/app/shell/PanelNavButtons.tsx (+1 -9)
📝 src/app/shell/RightPanel.tsx (+1 -6)
➖ src/features/modes/router/components/HomeFaq.tsx (+0 -554)
➕ src/features/modes/router/components/ModeHomeSurface.test.tsx (+50 -0)
📝 src/features/modes/router/components/ModeHomeSurface.tsx (+3 -14)
📝 src/features/modes/router/components/ModeSurface.tsx (+4 -4)
📝 src/features/shell/discovery/discovery-registry.test.ts (+12 -0)
📝 src/features/shell/discovery/discovery-registry.ts (+0 -1)
📝 src/shared/stores/ui/model.ts (+1 -2)

📄 Description

Linked issue

Closes #

Why this change

  • Discover should be a homepage help/discovery surface instead of a header/right-panel destination.

What changed

  • Renders Discover on the empty homepage in place of the FAQ.
  • Removes Discover from right-panel navigation, mobile tools, right-panel registry, and the shared Panel type.
  • Deletes the old homepage FAQ component.
  • Adds homepage/registry test coverage for the new placement and invalid right-panel target.

Refactor impact

Primary owner:

app shell / mode router

Impact areas reviewed:

  • Homepage empty state
  • Right-panel navigation
  • Mobile tools menu via shared right-panel button list
  • Discovery action target validation

Boundary notes:

  • The app shell injects the shell-owned Discover surface into the mode router so mode code does not import shell discovery directly.

Pressure points touched:

  • ModeSurface
  • ModeHomeSurface
  • AppShell
  • RightPanel
  • PanelNavButtons

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • pnpm check passes locally before PR push/handoff, including the unused-code check
  • 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
  • Browser screenshot/recording evidence added when UI/browser state is the claim
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran focused Vitest coverage for discovery/homepage behavior.
  • Codex ran pnpm typecheck.
  • Codex ran pnpm check:discovery.
  • Codex ran full pnpm check in a clean worktree based on upstream/refactor.
  • No browser/Tauri manual verification was performed.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • This moves the existing Discover surface to the homepage and removes it as a right-panel destination.

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

UI evidence

  • Not captured locally.

Summary by CodeRabbit

Release Notes

  • Refactor

    • Restructured discovery panel system for improved modularity and reusability
    • Removed FAQ section from home surface
    • Removed "Discover" button from right-panel navigation
    • Updated panel configuration to support new discovery surface handling
  • Tests

    • Added test coverage for home discovery surface integration
    • Enhanced discovery registry validation

🔄 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/1819 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/1/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `refactor` --- ### 📝 Commits (3) - [`576d072`](https://github.com/Pasta-Devs/Marinara-Engine/commit/576d0729a5509489036b99fc34ef0a8b11abe2d3) Move Discover to homepage - [`c87c575`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c87c575c19813f787b2ca32fc3321e4c559556d9) Refresh PR checks after body fix - [`7913b88`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7913b886519339b4f210b369e5f3dc810db4c6dc) Address review feedback: discovery homepage surface ### 📊 Changes **10 files changed** (+86 additions, -591 deletions) <details> <summary>View changed files</summary> 📝 `src/app/shell/AppShell.tsx` (+14 -1) 📝 `src/app/shell/PanelNavButtons.tsx` (+1 -9) 📝 `src/app/shell/RightPanel.tsx` (+1 -6) ➖ `src/features/modes/router/components/HomeFaq.tsx` (+0 -554) ➕ `src/features/modes/router/components/ModeHomeSurface.test.tsx` (+50 -0) 📝 `src/features/modes/router/components/ModeHomeSurface.tsx` (+3 -14) 📝 `src/features/modes/router/components/ModeSurface.tsx` (+4 -4) 📝 `src/features/shell/discovery/discovery-registry.test.ts` (+12 -0) 📝 `src/features/shell/discovery/discovery-registry.ts` (+0 -1) 📝 `src/shared/stores/ui/model.ts` (+1 -2) </details> ### 📄 Description ## Linked issue Closes # ## Why this change - Discover should be a homepage help/discovery surface instead of a header/right-panel destination. ## What changed - Renders Discover on the empty homepage in place of the FAQ. - Removes Discover from right-panel navigation, mobile tools, right-panel registry, and the shared `Panel` type. - Deletes the old homepage FAQ component. - Adds homepage/registry test coverage for the new placement and invalid right-panel target. ## Refactor impact Primary owner: app shell / mode router Impact areas reviewed: - Homepage empty state - Right-panel navigation - Mobile tools menu via shared right-panel button list - Discovery action target validation Boundary notes: - The app shell injects the shell-owned Discover surface into the mode router so mode code does not import shell discovery directly. Pressure points touched: - ModeSurface - ModeHomeSurface - AppShell - RightPanel - PanelNavButtons ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] `pnpm check` passes locally before PR push/handoff, including the unused-code check - [ ] `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 - [ ] Browser screenshot/recording evidence added when UI/browser state is the claim - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran focused Vitest coverage for discovery/homepage behavior. - Codex ran `pnpm typecheck`. - Codex ran `pnpm check:discovery`. - Codex ran full `pnpm check` in a clean worktree based on `upstream/refactor`. - No browser/Tauri manual verification was performed. ## Feature Discoverability Check exactly one: - [x] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [ ] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - This moves the existing Discover surface to the homepage and removes it as a right-panel destination. ## 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 ## UI evidence - Not captured locally. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Refactor** * Restructured discovery panel system for improved modularity and reusability * Removed FAQ section from home surface * Removed "Discover" button from right-panel navigation * Updated panel configuration to support new discovery surface handling * **Tests** * Added test coverage for home discovery surface integration * Enhanced discovery registry validation <!-- 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:57 +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#5289
No description provided.