8000 fix(ui): disable inline tag display in list options to prevent button hiding by ahmet-cetinkaya · Pull Request #295 · ahmet-cetinkaya/whph · GitHub
[go: up one dir, main page]

Skip to content

fix(ui): disable inline tag display in list options to prevent button hiding - #295

Merged
ahmet-cetinkaya merged 2 commits into
mainfrom
worktree-fix-list-options-tag-visibility
Jul 4, 2026
Merged

ahmet-cetinkaya merged 2 commits into
mainfrom
worktree-fix-list-options-tag-visibility

Conversation

@ahmet-cetinkaya
Copy link
Copy Markdown
Owner

🚀 Motivation and Context

List option barlarında (tasks, habits, notes, tags, calendar, app_usages) tag seçildiğinde tüm diğer butonlar (sort, group, save, search vb.) görünmez oluyor. Aynı sorun daha önce QuickActionButtonsBar için commit ade0cab7'de showSelectedInDropdown: false ile düzeltilmişti ancak list options bileşenlerine uygulanmamıştı.

⚙️ Implementation Details

Root Cause: TagSelectDropdown.build() varsayılan olarak showSelectedInDropdown: true kullanıyor. Tag seçildiğinde ReorderableListView.builder(scrollDirection: horizontal) oluşturuyor ve bunu Flexible ile sarıyor. Parent layout SingleChildScrollView(horizontal) içinde olduğu için genişlik sınırsız oluyor → ReorderableListView sonsuz genişlik alıyor → sibling butonlar ekran dışına itiliyor.

Fix: 6 list options bileşeninin tamamına showSelectedInDropdown: false eklendi. Bu sayede tag seçildiğinde sadece ikon rengi değişiyor (gri → primary), label/chip olarak gösterilmiyor, ve tüm butonlar görünür kalıyor. Quick add dialog'daki mevcut fix ile tutarlı bir yaklaşım.

📋 Checklist for Reviewer

  • Tests passed locally (analiz temiz, mevcut test hataları drift migration kaynaklı ve bağımsız)
  • Commit history is clean and descriptive
  • Code quality standards met

🔗 Related

Closes related to the same root cause as ade0cab7 (quick_action_buttons_bar fix)

… hiding

Set showSelectedInDropdown to false in all list options components to
prevent the ReorderableListView from expanding unboundedly in the
horizontal SingleChildScrollView layout, which was causing all other
buttons (sort, group, save, search, etc.) to become invisible when
tags were selected.

Affected: tasks, habits, notes, tags, calendar, app_usages list options.
Consistent with the previous fix for quick_action_buttons_bar (ade0cab).
@ahmet-cetinkaya ahmet-cetinkaya self-assigned this Jul 4, 2026
@gemini-code-assist gemini-code-assist Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request configures various list option components (app usages, calendar today page, habits, notes, tags, and tasks) to set showSelectedInDropdown to false when displaying tag filters. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@ahmet-cetinkaya
ahmet-cetinkaya mark 8000 ed this pull request as ready for review July 4, 2026 20:42
@ahmet-cetinkaya
ahmet-cetinkaya merged commit 93b1b26 into main Jul 4, 2026
3 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

Development

Successfully merging this pull request may close these issues.

1 participant

0