Skip to content

fix: Remove duplicate chevron in OllamaModelField menu#636

Merged
yazins-ai merged 4 commits into
yazinsai:mainfrom
jasnoorgill:fix/ollama-model-field-double-chevron
May 23, 2026
Merged

fix: Remove duplicate chevron in OllamaModelField menu#636
yazins-ai merged 4 commits into
yazinsai:mainfrom
jasnoorgill:fix/ollama-model-field-double-chevron

Conversation

@jasnoorgill
Copy link
Copy Markdown
Contributor

Summary

The Ollama model selector dropdown was showing two chevrons side by side. The borderlessButton menu style automatically renders its own indicator arrow, but the label already contained an explicit chevron.down icon — causing the duplication.

Fix: Added .menuIndicator(.hidden) to suppress the automatic indicator, leaving only the intentional custom icon.

Since OllamaModelField is a shared component, this fixes the double chevron in all three places it appears:

  • Settings → Intelligence → Notes Generation → Model
  • Settings → Intelligence → Knowledge Base Retrieval → Model
  • Settings → Intelligence → Classic Suggestions → Model

One-line change in OllamaModelField.swift.

Jasnoor Gill and others added 2 commits May 22, 2026 19:36
The DisclosureGroup label only registered taps on the text and chevron.
Added a full-width HStack with Spacer and used the padding/-padding trick
to extend contentShape into the Form row's vertical insets, making the
entire light-colored rectangle tappable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The borderlessButton menu style renders its own indicator chevron,
while the label already contained an explicit chevron.down icon,
resulting in two chevrons appearing side by side. Added
.menuIndicator(.hidden) to suppress the automatic one.

Affects all three Ollama model pickers: Notes Generation,
Knowledge Base Retrieval, and Classic Suggestions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jasnoorgill jasnoorgill force-pushed the fix/ollama-model-field-double-chevron branch from 67008b5 to 9f9d1f7 Compare May 23, 2026 02:36
@yazins-ai yazins-ai added kind:ux Copy, layout, interaction, polish state:ready-to-merge All checks pass, ready for merge risk:low Docs, scripts, isolated code — autonomous resolution:none Active, not yet resolved release:patch Patch version bump labels May 23, 2026
@yazins-ai yazins-ai merged commit d952493 into yazinsai:main May 23, 2026
3 checks passed
@yazins-ai
Copy link
Copy Markdown
Collaborator

Thanks @jasnoorgill. The shared Ollama model picker fix is a clean one-liner and removes the double-chevron glitch everywhere that component is used.

@yazins-ai yazins-ai added state:done Completed resolution:merged PR merged and removed state:ready-to-merge All checks pass, ready for merge resolution:none Active, not yet resolved labels May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:ux Copy, layout, interaction, polish release:patch Patch version bump resolution:merged PR merged risk:low Docs, scripts, isolated code — autonomous state:done Completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants