mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
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#5409
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/3405
Author: @aliglzr
Created: 8/31/2025
Status: ✅ Merged
Merged: 8/31/2025
Merged by: @MHSanaei
Base:
main← Head:enhancement/3402-client-last-online📝 Commits (4)
3f1438bfeat: persist client last online and expose API77fa6f8feat(ui): show client last online in table and info modalb0991bci18n: add “Last Online” across locales6ee2364chore: format timestamps as HH:mm:ss📊 Changes
21 files changed (+71 additions, -7 deletions)
View changed files
📝
web/assets/js/util/date-util.js(+1 -1)📝
web/controller/api.go(+1 -0)📝
web/controller/inbound.go(+5 -0)📝
web/html/component/aClientTable.html(+11 -6)📝
web/html/inbounds.html(+18 -0)📝
web/html/modals/inbound_info_modal.html(+6 -0)📝
web/service/inbound.go(+15 -0)📝
web/translation/translate.ar_EG.toml(+1 -0)📝
web/translation/translate.en_US.toml(+1 -0)📝
web/translation/translate.es_ES.toml(+1 -0)📝
web/translation/translate.fa_IR.toml(+1 -0)📝
web/translation/translate.id_ID.toml(+1 -0)📝
web/translation/translate.ja_JP.toml(+1 -0)📝
web/translation/translate.pt_BR.toml(+1 -0)📝
web/translation/translate.ru_RU.toml(+1 -0)📝
web/translation/translate.tr_TR.toml(+1 -0)📝
web/translation/translate.uk_UA.toml(+1 -0)📝
web/translation/translate.vi_VN.toml(+1 -0)📝
web/translation/translate.zh_CN.toml(+1 -0)📝
web/translation/translate.zh_TW.toml(+1 -0)...and 1 more files
📄 Description
What is the pull request?
This pull request implements the "Last Online" feature for clients, as requested in issue #3402.
It introduces backend support to store and retrieve the last online timestamp for each client and updates the frontend UI to display this information in the client list and inbound info modal.
Additionally, it adds proper date formatting and translations for the new label in all supported languages.
Closes #3402
Which part of the application is affected by the change?
Type of Changes
Screenshots
Client Table with "Last Online" Column


Inbound Info Modal showing Last Online

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.