Skip to content

feat: ConfirmModal, debounce leading edge, lazy PostHog, Ctrl+K search - #779

Merged
nonsobethel0-dev merged 2 commits into
Parashield-Protocol:mainfrom
brightpixel-dev:fix/confirm-modal-debounce-leading-lazy-analytics-search-shortcut
Oct 16, 2026
Merged

nonsobethel0-dev merged 2 commits into
Parashield-Protocol:mainfrom
brightpixel-dev:fix/confirm-modal-debounce-leading-lazy-analytics-search-shortcut

Conversation

@brightpixel-dev

Copy link
Copy Markdown
Contributor

Closes #740
Closes #741
Closes #750
Closes #751

What changed

How to verify

  • Press Ctrl+K (or Cmd+K on macOS) from any page — search input gets focus and text is selected.
  • Confirm the search placeholder shows "(Ctrl+K)".
  • Confirm KeyboardShortcutHelpModal lists the new shortcut.
  • Confirm useDebounce(value, 500, { leading: true }) fires the first change immediately.
  • Profile page load and confirm PostHog init is deferred until after interactive.

- Parashield-Protocol#751: Add ConfirmModal component using the app's Modal for branded
  confirmations with focus trap, ARIA, and confirm/cancel actions.
  Supports destructive variant with red styling.
- Parashield-Protocol#750: Add leading option to useDebounce hook — fires the first change
  immediately and debounces subsequent ones, matching lodash.debounce
  semantics.
- Parashield-Protocol#741: Lazy-load PostHog via dynamic import() deferred to
  requestIdleCallback (1.5s fallback) so analytics never blocks the
  main thread during first paint. Pageview tracking unchanged.
- Parashield-Protocol#740: Register global Ctrl+K/Cmd+K shortcut to focus the search input
  from anywhere. Show shortcut hint in placeholder. Add entry to
  KeyboardShortcutHelpModal.
@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@brightpixel-dev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for boisterous-sunshine-dd4c4c failed.

Name Link
🔨 Latest commit ed0e819
🔍 Latest deploy log https://app.netlify.com/projects/boisterous-sunshine-dd4c4c/deploys/6ad19b245d35c1875af2e86e

@nonsobethel0-dev
nonsobethel0-dev merged commit 7ac234c into Parashield-Protocol:main Oct 16, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants