[PR #8379] fix(omnibar): always open Professor Mari; remove the search toggle #8326

Open
opened 2026-10-27 06:07:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8379
Author: @Gunterlie
Created: 10/26/2026
Status: 🔄 Open

Base: staging ← Head: fix/8377-remove-mari-toggle


📝 Commits (2)

  • d835685 fix(omnibar): always open Professor Mari; remove the search toggle
  • 4370b83 fix(omnibar): keep idle preload of the Mari pane chunk

📊 Changes

21 files changed (+84 additions, -223 deletions)

View changed files

📝 e2e/ui-store-foreign-write.e2e.ts (+0 -1)
📝 packages/client/src/components/layout/GlobalOmnibar.tsx (+5 -22)
📝 packages/client/src/components/layout/GlobalOmnibarHost.tsx (+3 -4)
📝 packages/client/src/components/layout/omnibar/OmnibarChrome.tsx (+6 -10)
📝 packages/client/src/components/layout/omnibar/OmnibarResultList.tsx (+9 -15)
📝 packages/client/src/components/layout/omnibar/OmnibarSettingsMenu.tsx (+0 -12)
📝 packages/client/src/components/layout/omnibar/omnibar-keyboard.ts (+2 -6)
📝 packages/client/src/components/layout/omnibar/omnibar-preview-actions.ts (+7 -11)
📝 packages/client/src/components/layout/omnibar/use-omnibar-empty-state.ts (+5 -21)
📝 packages/client/src/components/layout/omnibar/use-omnibar-mari-arrival.ts (+1 -5)
📝 packages/client/src/hooks/use-chats.ts (+1 -2)
📝 packages/client/src/hooks/use-mari-presence.ts (+0 -2)
📝 packages/client/src/hooks/use-pull-to-open-omnibar.ts (+6 -8)
📝 packages/client/src/lib/omnibar-empty-state.ts (+2 -5)
📝 packages/client/src/lib/omnibar-results.ts (+16 -25)
📝 packages/client/src/lib/omnibar-settings-toggle-bindings.ts (+1 -5)
📝 packages/client/src/lib/pull-to-open.ts (+2 -4)
📝 packages/client/src/lib/settings-registry.ts (+0 -10)
📝 packages/client/src/localization/locales/en.json (+0 -4)
📝 packages/client/src/stores/ui.store.ts (+1 -12)

...and 1 more files

📄 Description

Fixes #8377

Why

In 2.5.1, the Professor button opens the plain search list when Ask Professor Mari from Search is off. The setting did more than its label says: GlobalOmnibar mapped the mari pane back to results whenever it was off, so users who had turned it off could not reach Professor Mari at all.

What changed

  • Removed the Ask Professor Mari from Search toggle (settings menu row, settings registry entry, toggle binding, English strings).
  • Removed commandCenterMariEnabled from the UI store. The persist migration deletes the old saved value, so installs that had it off get Mari back.
  • Removed the mariEnabled gating from the omnibar, pull-down, Ctrl/Cmd+J, edge glow and empty state. Behaviour equals the old "on" state.
  • Regression: a persisted mari session stays on the Mari pane; disabled-state assertions removed.

Not in scope: overlay performance on older hardware (mentioned in the issue thread).

Validation

  • pnpm check: type check and lint passed; Prettier flagged 4 files, now formatted (full rerun left to CI).
  • pnpm localization:check: passed.
  • Command Center regression: passed.

Manual verification

  • Manually verify in the browser that the Professor button opens the Professor Mari pane.
  • Manually verify that the omnibar settings menu no longer shows "Ask Professor Mari from Search".
  • Manually verify that an install with the old setting off opens Mari after the update.

Docs: no user docs under docs/ mention this setting (checked by grep).


🔄 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/8379 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/26/2026 **Status:** 🔄 Open **Base:** `staging` ← **Head:** `fix/8377-remove-mari-toggle` --- ### 📝 Commits (2) - [`d835685`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d835685637572a5cc8c541f70d445ad7d596d0be) fix(omnibar): always open Professor Mari; remove the search toggle - [`4370b83`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4370b8304607f055bf9b5c8c55a4f70bc4195db1) fix(omnibar): keep idle preload of the Mari pane chunk ### 📊 Changes **21 files changed** (+84 additions, -223 deletions) <details> <summary>View changed files</summary> 📝 `e2e/ui-store-foreign-write.e2e.ts` (+0 -1) 📝 `packages/client/src/components/layout/GlobalOmnibar.tsx` (+5 -22) 📝 `packages/client/src/components/layout/GlobalOmnibarHost.tsx` (+3 -4) 📝 `packages/client/src/components/layout/omnibar/OmnibarChrome.tsx` (+6 -10) 📝 `packages/client/src/components/layout/omnibar/OmnibarResultList.tsx` (+9 -15) 📝 `packages/client/src/components/layout/omnibar/OmnibarSettingsMenu.tsx` (+0 -12) 📝 `packages/client/src/components/layout/omnibar/omnibar-keyboard.ts` (+2 -6) 📝 `packages/client/src/components/layout/omnibar/omnibar-preview-actions.ts` (+7 -11) 📝 `packages/client/src/components/layout/omnibar/use-omnibar-empty-state.ts` (+5 -21) 📝 `packages/client/src/components/layout/omnibar/use-omnibar-mari-arrival.ts` (+1 -5) 📝 `packages/client/src/hooks/use-chats.ts` (+1 -2) 📝 `packages/client/src/hooks/use-mari-presence.ts` (+0 -2) 📝 `packages/client/src/hooks/use-pull-to-open-omnibar.ts` (+6 -8) 📝 `packages/client/src/lib/omnibar-empty-state.ts` (+2 -5) 📝 `packages/client/src/lib/omnibar-results.ts` (+16 -25) 📝 `packages/client/src/lib/omnibar-settings-toggle-bindings.ts` (+1 -5) 📝 `packages/client/src/lib/pull-to-open.ts` (+2 -4) 📝 `packages/client/src/lib/settings-registry.ts` (+0 -10) 📝 `packages/client/src/localization/locales/en.json` (+0 -4) 📝 `packages/client/src/stores/ui.store.ts` (+1 -12) _...and 1 more files_ </details> ### 📄 Description Fixes #8377 ## Why In 2.5.1, the Professor button opens the plain search list when **Ask Professor Mari from Search** is off. The setting did more than its label says: `GlobalOmnibar` mapped the `mari` pane back to `results` whenever it was off, so users who had turned it off could not reach Professor Mari at all. ## What changed - Removed the **Ask Professor Mari from Search** toggle (settings menu row, settings registry entry, toggle binding, English strings). - Removed `commandCenterMariEnabled` from the UI store. The persist migration deletes the old saved value, so installs that had it off get Mari back. - Removed the `mariEnabled` gating from the omnibar, pull-down, Ctrl/Cmd+J, edge glow and empty state. Behaviour equals the old "on" state. - Regression: a persisted `mari` session stays on the Mari pane; disabled-state assertions removed. Not in scope: overlay performance on older hardware (mentioned in the issue thread). ## Validation - `pnpm check`: type check and lint passed; Prettier flagged 4 files, now formatted (full rerun left to CI). - `pnpm localization:check`: passed. - Command Center regression: passed. ## Manual verification - [ ] Manually verify in the browser that the Professor button opens the Professor Mari pane. - [ ] Manually verify that the omnibar settings menu no longer shows "Ask Professor Mari from Search". - [ ] Manually verify that an install with the old setting off opens Mari after the update. Docs: no user docs under `docs/` mention this setting (checked by grep). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#8326
No description provided.