mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3121] [CLOSED] WIP: feat: add comment column into clients table #5352
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/MHSanaei/3x-ui/pull/3121
Author: @egregors
Created: 6/18/2025
Status: ❌ Closed
Base:
main← Head:main📄 Description
What is the pull request?
Solution for #3120
Added a new "Comment" column to the client table in the inbounds page, positioned between "Client" and "Traffic" columns as requested.
1. Frontend UI Updates
Desktop version: Added comment column with 60px width between Client and Traffic columns
Mobile version: Added comment column with 20px width, adjusted other column widths accordingly
Responsive design: Different column widths for mobile vs desktop views
2. Component Implementation
Added new
commentslot inaClientTablecomponentImplemented text truncation with ellipsis for long comments
Added tooltip functionality to view full comment text on hover
Integrated with existing Ant Design theme system (dark/light mode support)
3. CSS Styling
.comment-cell: Desktop styling with 150px max-width.comment-cell-mobile: Mobile styling with 120px max-widthText overflow handling with ellipsis
Proper inline-block display for consistent layout
4. Mobile Information Panel
Added comment display in mobile info popover
Proper word-break handling for long comments
Conditional rendering (only shows if comment exists)
5. Internationalization (i18n)
Added "comment" translation key to all supported languages:
English, Russian, Chinese (Simplified/Traditional), Persian, Spanish
Arabic, Japanese, Portuguese, Turkish, Ukrainian, Vietnamese, Indonesian
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.