mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #3992] [MERGED] feat: add indicator for enter-triggered model selection #44423
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3992
Author: @thearyadev
Created: 7/19/2024
Status: ✅ Merged
Merged: 7/19/2024
Merged by: @tjbck
Base:
dev← Head:feat/enter-to-select-model-indicator📝 Commits (1)
e35df90feat: add indicator for enter-triggered model selection📊 Changes
1 file changed (+6 additions, -4 deletions)
View changed files
📝
src/lib/components/chat/ModelSelector/Selector.svelte(+6 -4)📄 Description
pr edited after feedback
Changelog Entry
Description
This PR is an extension of #3962 (discussion #3960), adding an indicator to inform the user which model is currently selected for the enter shortcut.
Changed
buttonnow highlights the top result, background is transparent ongroup-hovergroupto parent div forgroup-hoverhandlingScreenshots or Videos
https://private-user-images.githubusercontent.com/87589047/350181957-f610aac6-572d-41d7-ae2c-19bfc58a0b69.mov?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzNTA1OTIsIm5iZiI6MTcyMTM1MDI5MiwicGF0aCI6Ii84NzU4OTA0Ny8zNTAxODE5NTctZjYxMGFhYzYtNTcyZC00MWQ3LWFlMmMtMTliZmM1OGEwYjY5Lm1vdj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDAwNTEzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkNmJmZjgwNzNlNTMwYzM3YmViZGY2YjJjYTNlM2ZiYjQ2YWQwYzBhNmUyZTkxZmNhYWQ2NDg3NzMxMWJiYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OP3uk0T9-W75PYN_1EL6Ngs8_WDSmqflsu5ipDgx5fQ
Other
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.