[PR #11519] [CLOSED] feat: Display configured model image in selected model dropdown. #22752

Closed
opened 2026-04-20 04:22:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11519
Author: @recrudesce
Created: 3/10/2025
Status: Closed

Base: devHead: selected-model-logo


📝 Commits (1)

  • b314c47 feat: Display configured model image in selected model dropdown.

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 src/lib/components/chat/ModelSelector/Selector.svelte (+5 -1)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources? (No documentation changes needed for this UI enhancement)
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation? (No new dependencies)
  • Testing: Have you written and run sufficient tests for validating the changes? (UI change, no specific tests added)
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • feat: Introduces a new feature or enhancement to the codebase

Changelog Entry

Description

  • This pull request adds the model's profile image to the selected model display within the dropdown trigger. This enhances the UI by providing a visual cue for the selected model, improving user experience.

Added

  • Display of model profile image in the selected model trigger.

Changed

  • The DropdownMenu.Trigger now includes the model's profile image next to the selected model label.
  • The styling of the selected model trigger has been adjusted to accommodate the image.

Deprecated

  • None

Removed

  • None

Fixed

  • None

Security

  • None

Breaking Changes

  • None

Additional Information

  • This change improves the visual representation of the selected model in the dropdown, making it easier for users to identify their choice.

Screenshots or Videos

Before showing selected model with no image:
image

After showing selected model with configured image:
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/open-webui/open-webui/pull/11519 **Author:** [@recrudesce](https://github.com/recrudesce) **Created:** 3/10/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `selected-model-logo` --- ### 📝 Commits (1) - [`b314c47`](https://github.com/open-webui/open-webui/commit/b314c47e7d3e3852f7927605108d04c8e64bf0b0) feat: Display configured model image in selected model dropdown. ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/ModelSelector/Selector.svelte` (+5 -1) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? (No documentation changes needed for this UI enhancement) - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? (No new dependencies) - [x] **Testing:** Have you written and run sufficient tests for validating the changes? (UI change, no specific tests added) - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **feat**: Introduces a new feature or enhancement to the codebase # Changelog Entry ### Description - This pull request adds the model's profile image to the selected model display within the dropdown trigger. This enhances the UI by providing a visual cue for the selected model, improving user experience. ### Added - Display of model profile image in the selected model trigger. ### Changed - The DropdownMenu.Trigger now includes the model's profile image next to the selected model label. - The styling of the selected model trigger has been adjusted to accommodate the image. ### Deprecated - None ### Removed - None ### Fixed - None ### Security - None ### Breaking Changes - None --- ### Additional Information - This change improves the visual representation of the selected model in the dropdown, making it easier for users to identify their choice. ### Screenshots or Videos Before showing selected model with no image: ![image](https://github.com/user-attachments/assets/212eb994-b28c-4bc2-a225-32fbbaa4e263) After showing selected model with configured image: ![image](https://github.com/user-attachments/assets/364408e1-520c-476d-952a-79f70bae613d) --- <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-04-20 04:22:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#22752