[PR #6468] [MERGED] feat(inbounds): show linked host remarks in inbound list #6290

Closed
opened 2026-11-02 04:07:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6468
Author: @mrchatam
Created: 9/11/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @MHSanaei

Base: main ← Head: feat/inbound-list-host-remarks


📝 Commits (2)

  • 7d6f05c feat(inbounds): show linked host remarks in inbound list
  • a6838b7 fix(inbounds): skip disabled host groups in inbound list remarks

📊 Changes

7 files changed (+141 additions, -11 deletions)

View changed files

📝 frontend/src/pages/inbounds/InboundsPage.tsx (+1 -0)
📝 frontend/src/pages/inbounds/list/InboundList.css (+31 -0)
📝 frontend/src/pages/inbounds/list/InboundList.tsx (+31 -10)
📝 frontend/src/pages/inbounds/list/helpers.ts (+39 -0)
📝 frontend/src/pages/inbounds/list/types.ts (+2 -0)
📝 frontend/src/pages/inbounds/list/useInboundColumns.tsx (+20 -1)
➕ frontend/src/test/inbound-host-remarks.test.ts (+17 -0)

📄 Description

Summary

  • Show linked Host Group remarks under each inbound remark in the inbound list (desktop table + mobile cards).
  • Join client-side from existing GET /panel/api/hosts/list (remark + inboundIds); no API/schema changes.
  • Truncate after 2 remarks with +N and a tooltip for the full list; search also matches host remarks.

Fixes #6026

Test plan

  • Open Inbounds with multiple Hosts linked to one inbound; remark cell shows inbound remark plus (host1, host2).
  • With 3+ hosts, list truncates and tooltip shows all remarks.
  • Host with empty remark falls back to first address in hosts.
  • Search by a host remark filters the inbound row.
  • Inbounds with no linked hosts still show only the inbound remark.

🔄 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/MHSanaei/3x-ui/pull/6468 **Author:** [@mrchatam](https://github.com/mrchatam) **Created:** 9/11/2026 **Status:** ✅ Merged **Merged:** 9/13/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `feat/inbound-list-host-remarks` --- ### 📝 Commits (2) - [`7d6f05c`](https://github.com/MHSanaei/3x-ui/commit/7d6f05cbbde27ef35e26979bd87c354329ac31ff) feat(inbounds): show linked host remarks in inbound list - [`a6838b7`](https://github.com/MHSanaei/3x-ui/commit/a6838b71fc29ab2ffaade09185c3b177dcd897ce) fix(inbounds): skip disabled host groups in inbound list remarks ### 📊 Changes **7 files changed** (+141 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/inbounds/InboundsPage.tsx` (+1 -0) 📝 `frontend/src/pages/inbounds/list/InboundList.css` (+31 -0) 📝 `frontend/src/pages/inbounds/list/InboundList.tsx` (+31 -10) 📝 `frontend/src/pages/inbounds/list/helpers.ts` (+39 -0) 📝 `frontend/src/pages/inbounds/list/types.ts` (+2 -0) 📝 `frontend/src/pages/inbounds/list/useInboundColumns.tsx` (+20 -1) ➕ `frontend/src/test/inbound-host-remarks.test.ts` (+17 -0) </details> ### 📄 Description ## Summary - Show linked Host Group remarks under each inbound remark in the inbound list (desktop table + mobile cards). - Join client-side from existing `GET /panel/api/hosts/list` (`remark` + `inboundIds`); no API/schema changes. - Truncate after 2 remarks with `+N` and a tooltip for the full list; search also matches host remarks. Fixes #6026 ## Test plan - [ ] Open Inbounds with multiple Hosts linked to one inbound; remark cell shows inbound remark plus `(host1, host2)`. - [ ] With 3+ hosts, list truncates and tooltip shows all remarks. - [ ] Host with empty remark falls back to first address in `hosts`. - [ ] Search by a host remark filters the inbound row. - [ ] Inbounds with no linked hosts still show only the inbound remark. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:07:42 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#6290
No description provided.