[PR #477] [MERGED] Improve sidebar filter suggestions #3326

Closed
opened 2026-07-15 02:02:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/477
Author: @gschier
Created: 6/19/2026
Status: Merged
Merged: 6/20/2026
Merged by: @gschier

Base: mainHead: codex/sidebar-filter-empty-state


📝 Commits (5)

  • a4afab5 Improve sidebar filter suggestions
  • 2acc36c Refine sidebar filter empty state copy
  • 43ea338 Tweak sidebar filter suggestion copy
  • aee9ab9 Highlight filter at sign as field name
  • 84394d5 Quote operator-like sidebar filter suggestions

📊 Changes

11 files changed (+300 additions, -125 deletions)

View changed files

📝 apps/yaak-client/components/EmptyStateText.tsx (+3 -2)
📝 apps/yaak-client/components/Sidebar.tsx (+112 -6)
📝 apps/yaak-client/components/core/Editor/filter/extension.ts (+43 -15)
📝 apps/yaak-client/components/core/Editor/filter/filter.grammar (+2 -1)
📝 apps/yaak-client/components/core/Editor/filter/filter.ts (+14 -19)
apps/yaak-client/components/core/Editor/filter/format.test.ts (+33 -0)
apps/yaak-client/components/core/Editor/filter/format.ts (+9 -0)
📝 apps/yaak-client/components/core/Editor/filter/highlight.ts (+1 -0)
📝 package.json (+1 -0)
📝 packages/plugin-runtime-types/src/bindings/gen_events.ts (+80 -80)
📝 packages/theme/src/defaultThemes.ts (+2 -2)

📄 Description

Add a sidebar no-results empty state that suggests matching @<field> filters only when those filters would produce results.

image

🔄 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/mountain-loop/yaak/pull/477 **Author:** [@gschier](https://github.com/gschier) **Created:** 6/19/2026 **Status:** ✅ Merged **Merged:** 6/20/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `codex/sidebar-filter-empty-state` --- ### 📝 Commits (5) - [`a4afab5`](https://github.com/mountain-loop/yaak/commit/a4afab5a2a6a876285a54f93ef7efcdb080f24d9) Improve sidebar filter suggestions - [`2acc36c`](https://github.com/mountain-loop/yaak/commit/2acc36cad8297ca54f33e8c274482ec0c1abf27c) Refine sidebar filter empty state copy - [`43ea338`](https://github.com/mountain-loop/yaak/commit/43ea338cea7471eec091139431e6f50f8938f51b) Tweak sidebar filter suggestion copy - [`aee9ab9`](https://github.com/mountain-loop/yaak/commit/aee9ab9c3a93af43585deaa59b4118d6b766e728) Highlight filter at sign as field name - [`84394d5`](https://github.com/mountain-loop/yaak/commit/84394d57f4d200d8be7464359f1958ba557b4000) Quote operator-like sidebar filter suggestions ### 📊 Changes **11 files changed** (+300 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `apps/yaak-client/components/EmptyStateText.tsx` (+3 -2) 📝 `apps/yaak-client/components/Sidebar.tsx` (+112 -6) 📝 `apps/yaak-client/components/core/Editor/filter/extension.ts` (+43 -15) 📝 `apps/yaak-client/components/core/Editor/filter/filter.grammar` (+2 -1) 📝 `apps/yaak-client/components/core/Editor/filter/filter.ts` (+14 -19) ➕ `apps/yaak-client/components/core/Editor/filter/format.test.ts` (+33 -0) ➕ `apps/yaak-client/components/core/Editor/filter/format.ts` (+9 -0) 📝 `apps/yaak-client/components/core/Editor/filter/highlight.ts` (+1 -0) 📝 `package.json` (+1 -0) 📝 `packages/plugin-runtime-types/src/bindings/gen_events.ts` (+80 -80) 📝 `packages/theme/src/defaultThemes.ts` (+2 -2) </details> ### 📄 Description Add a sidebar no-results empty state that suggests matching `@<field>` filters only when those filters would produce results. <img width="1152" height="642" alt="image" src="https://github.com/user-attachments/assets/5224dc39-ff0e-44a2-b225-e441e2440099" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 02:02:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#3326