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?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests to validate the changes?
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 clearly categorize this pull request, prefix the pull request title using one of the following:
BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work
Changelog Entry
Description
Truncates long usernames in various UI components to prevent layout issues. This ensures a consistent and clean user interface, especially in modals and tables where space is limited.
Changed
Updated the Edit User modal to truncate long usernames.
Updated the User Chats modal to truncate long usernames in the title.
Updated the Edit User Group modal's user list to truncate long usernames.
Updated the Users table in the admin overview page to truncate long usernames.
Fixed
Fixed an issue where long usernames would overflow and break the layout in the Edit User modal, User Chats modal, Edit User Group modal, and the admin Users table.
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 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/17805
**Author:** [@silentoplayz](https://github.com/silentoplayz)
**Created:** 9/26/2025
**Status:** ✅ Merged
**Merged:** 9/26/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fix-username-truncation`
---
### 📝 Commits (1)
- [`16cf973`](https://github.com/open-webui/open-webui/commit/16cf973ce562c9efe86b1363faceb0ca8f999135) fix: truncate long usernames in UI
### 📊 Changes
**4 files changed** (+11 additions, -9 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/admin/Users/Groups/Users.svelte` (+2 -2)
📝 `src/lib/components/admin/Users/UserList.svelte` (+4 -4)
📝 `src/lib/components/admin/Users/UserList/EditUserModal.svelte` (+2 -2)
📝 `src/lib/components/admin/Users/UserList/UserChatsModal.svelte` (+3 -1)
</details>
### 📄 Description
# Pull Request Checklist
- [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?
- [X] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [X] **Testing:** Have you written and run sufficient tests to validate the changes?
- [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 clearly categorize this pull request, prefix the pull request title using one of the following:
- **BREAKING CHANGE**: Significant changes that may affect compatibility
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to our continuous integration processes or workflows
- **chore**: Refactor, cleanup, or other non-functional code changes
- **docs**: Documentation update or addition
- **feat**: Introduces a new feature or enhancement to the codebase
- **fix**: Bug fix or error correction
- **i18n**: Internationalization or localization changes
- **perf**: Performance improvement
- **refactor**: Code restructuring for better maintainability, readability, or scalability
- **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
- **test**: Adding missing tests or correcting existing tests
- **WIP**: Work in progress, a temporary label for incomplete or ongoing work
# Changelog Entry
### Description
- Truncates long usernames in various UI components to prevent layout issues. This ensures a consistent and clean user interface, especially in modals and tables where space is limited.
### Changed
- Updated the `Edit User` modal to truncate long usernames.
- Updated the `User Chats` modal to truncate long usernames in the title.
- Updated the `Edit User Group` modal's user list to truncate long usernames.
- Updated the Users table in the admin overview page to truncate long usernames.
### Fixed
- Fixed an issue where long usernames would overflow and break the layout in the `Edit User` modal, `User Chats` modal, `Edit User Group` modal, and the admin Users table.
### Additional Information
- The changes were applied to the following files:
- `src/lib/components/admin/Users/UserList/EditUserModal.svelte`
- `src/lib/components/admin/Users/UserList/UserChatsModal.svelte`
- `src/lib/components/admin/Users/Groups/Users.svelte`
- `src/lib/components/admin/Users/UserList.svelte`
### Before the fixes applied
<img width="1133" height="1275" alt="image" src="https://github.com/user-attachments/assets/4f02cb2c-a7fe-4e17-9ded-3d80db2cf5b6" />
<img width="1303" height="1283" alt="image" src="https://github.com/user-attachments/assets/12e85d30-f3c1-475c-b4ef-e849b393505d" />
<img width="756" height="547" alt="image" src="https://github.com/user-attachments/assets/0d91d555-7a73-4fd7-8ce6-a154494112a0" />
### After the fixes are applied
<img width="773" height="230" alt="image" src="https://github.com/user-attachments/assets/ea1e7590-8714-48f2-9ab2-97f59048c9bf" />
<img width="508" height="463" alt="image" src="https://github.com/user-attachments/assets/87113d2d-3025-40bc-b5cb-c3ecd7d45956" />
<img width="933" height="255" alt="image" src="https://github.com/user-attachments/assets/a568a951-90b0-412a-a742-dadac44c808c" />
<img width="704" height="501" alt="image" src="https://github.com/user-attachments/assets/f371a49f-6c91-422c-a2da-5ef103280bbf" />
### Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/17805
Author: @silentoplayz
Created: 9/26/2025
Status: ✅ Merged
Merged: 9/26/2025
Merged by: @tjbck
Base:
dev← Head:fix-username-truncation📝 Commits (1)
16cf973fix: truncate long usernames in UI📊 Changes
4 files changed (+11 additions, -9 deletions)
View changed files
📝
src/lib/components/admin/Users/Groups/Users.svelte(+2 -2)📝
src/lib/components/admin/Users/UserList.svelte(+4 -4)📝
src/lib/components/admin/Users/UserList/EditUserModal.svelte(+2 -2)📝
src/lib/components/admin/Users/UserList/UserChatsModal.svelte(+3 -1)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
Changed
Edit Usermodal to truncate long usernames.User Chatsmodal to truncate long usernames in the title.Edit User Groupmodal's user list to truncate long usernames.Fixed
Edit Usermodal,User Chatsmodal,Edit User Groupmodal, and the admin Users table.Additional Information
src/lib/components/admin/Users/UserList/EditUserModal.sveltesrc/lib/components/admin/Users/UserList/UserChatsModal.sveltesrc/lib/components/admin/Users/Groups/Users.sveltesrc/lib/components/admin/Users/UserList.svelteBefore the fixes applied
After the fixes are applied
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.