Skip to content

fix(web): keep notifications visible in ⌘K while typing#712

Closed
buremba wants to merge 1 commit into
mainfrom
fix/cmdk-notifications-visible
Closed

fix(web): keep notifications visible in ⌘K while typing#712
buremba wants to merge 1 commit into
mainfrom
fix/cmdk-notifications-visible

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented May 14, 2026

Summary

  • The Notifications group was gated on search === '', and each item's value was notification-<uuid> — so cmdk's fuzzy filter never matched user text and the group vanished as soon as you typed anything (including 'noti')
  • Drop the empty-search gate and include title/body/'notification' in each item's value so they filter on real text
  • Bumps packages/web submodule

Submodule PR: lobu-ai/owletto-web@fc1baf7

Test plan

  • Open ⌘K with notifications present → Notifications group renders
  • Type 'noti' → group remains visible
  • Type a word from a notification's title → narrows to that item

Summary by CodeRabbit

  • Chores
    • Updated internal dependencies.

No user-visible changes in this release.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

📝 Walkthrough

Walkthrough

This PR updates the packages/web submodule reference to point to a new commit hash (fc1baf7) from the previous commit (e222de8). No other changes are present in the diff.

Changes

Submodule Version Bump

Layer / File(s) Summary
packages/web submodule version bump
packages/web
The packages/web subproject reference is updated to a new commit hash, bringing in upstream changes from that submodule.

Possibly related PRs

  • lobu-ai/lobu#709: Updates the packages/web submodule reference as part of an earlier version bump sequence.

Suggested reviewers

  • codex-approver

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

🐰 A bumpy hop through git commits,
Where submodules dance and fit,
From SHA to SHA we climb,
fc1baf's the latest chime! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: fixing a bug where notifications disappear in the command palette while typing.
Description check ✅ Passed The description includes a complete summary explaining the problem and solution, and contains a comprehensive test plan with all items checked.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/cmdk-notifications-visible

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/web`:
- Line 1: The packages/web submodule is pinned to a nonexistent commit
(fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4) in the owletto-web repo; update the
submodule reference so packages/web points to a real commit on owletto-web/main
by checking out owletto-web/main, choosing a valid commit (or the latest tip),
and updating the submodule pointer (replace the bad hash in the submodule
reference for packages/web and commit that change); ensure the new commit hash
replaces fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4 and verify git submodule
status shows the referenced commit exists on owletto-web/main.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7e86e8c5-0c98-42f9-b6c8-4c68436c6ae7

📥 Commits

Reviewing files that changed from the base of the PR and between 36f57a6 and 66992e8.

📒 Files selected for processing (1)
  • packages/web

Comment thread packages/web
@@ -1 +1 @@
Subproject commit e222de861a0c16887a9167c47f0ecfca5c5f2df6
Subproject commit fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check if the submodule commit exists and is reachable from main

cd packages/web

# Check if the commit exists
if git cat-file -e fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4 2>/dev/null; then
  echo "✓ Commit fc1baf7 exists in the submodule"
  
  # Check if it's reachable from main
  git fetch origin main
  if git merge-base --is-ancestor fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4 origin/main; then
    echo "✓ Commit fc1baf7 is reachable from origin/main"
  else
    echo "✗ Commit fc1baf7 is NOT reachable from origin/main"
    echo "Current branch containing this commit:"
    git branch -r --contains fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4
  fi
else
  echo "✗ Commit fc1baf7 does not exist in the submodule"
fi

Repository: lobu-ai/lobu

Length of output: 105


Submodule commit does not exist in packages/web.

The commit fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4 does not exist in the owletto-web submodule repository. This will prevent checkout and break the submodule reference for anyone using this code.

Verify that the correct submodule commit hash has been pinned, or update packages/web to reference an existing commit that is available in the owletto-web/main branch.

🧰 Tools
🪛 GitHub Actions: Submodule Drift / check-drift

[error] 1-1: Pinned SHA is not reachable from owletto-web/main. Error: "Pinned SHA $PINNED is not reachable from owletto-web/main." (step: git -C packages/web merge-base --is-ancestor "$PINNED" origin/main)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/web` at line 1, The packages/web submodule is pinned to a
nonexistent commit (fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4) in the owletto-web
repo; update the submodule reference so packages/web points to a real commit on
owletto-web/main by checking out owletto-web/main, choosing a valid commit (or
the latest tip), and updating the submodule pointer (replace the bad hash in the
submodule reference for packages/web and commit that change); ensure the new
commit hash replaces fc1baf7ccf5219dccfac1ac2cb6e491fabfd84f4 and verify git
submodule status shows the referenced commit exists on owletto-web/main.

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@buremba
Copy link
Copy Markdown
Member Author

buremba commented May 14, 2026

Superseded by #714, which bumped packages/web past fc1baf7 (this PR's pointer) to 4d9a17f. The command-palette fix is intact in that bump.

@buremba buremba closed this May 14, 2026
@buremba buremba deleted the fix/cmdk-notifications-visible branch May 14, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants