mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6940] [CLOSED] feat(client-hosts): add HostGroup-based client host defaults #6533
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#6533
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/6940
Author: @bigbossstard
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:upstream/client-host-panel📝 Commits (10+)
b615bf9feat: add client-group HostGroup defaults on v3.11.0c9b919cfix: remove duplicated unrelated CI jobs from HostGroup PRd008033fix: invalidate subscription cache after group HostGroup changes3bf9c18fix: invalidate subscriptions after client group rename or delete98575e9fix(ui): show errors when saving group HostGroup defaults failsb8389bcfix(ui): handle group HostGroup load and save failuresa1bcc24fix(ui): report HostGroup save errors without unhandled rejectionsf58d4c4i18n: clarify group HostGroup assignment labels229bbeafix(client-host): invalidate subscription cache after group assignmentf6cb3a9test(client-host): verify assignment cache invalidation📊 Changes
44 files changed (+1634 additions, -1786 deletions)
View changed files
➖
.github/workflows/ci.yml(+0 -355)➖
.github/workflows/claude-issue-analyst.yml(+0 -205)➖
.github/workflows/claude-pr-review.yml(+0 -416)➖
.github/workflows/cleanup_caches.yml(+0 -31)➖
.github/workflows/codeql.yml(+0 -66)➖
.github/workflows/docker.yml(+0 -62)➖
.github/workflows/docs-ci.yml(+0 -69)➖
.github/workflows/docs-deploy.yml(+0 -77)➖
.github/workflows/mutation.yml(+0 -62)➖
.github/workflows/release.yml(+0 -405)📝
docs/content/docs/en/reference/api/clients.mdx(+24 -1)📝
docs/public/openapi.json(+133 -0)📝
frontend/public/openapi.json(+133 -0)📝
frontend/src/pages/api-docs/endpoints.ts(+29 -0)📝
frontend/src/pages/groups/GroupsPage.tsx(+184 -0)📝
frontend/src/pages/hosts/HostsPage.tsx(+17 -6)📝
internal/database/db.go(+1 -0)📝
internal/database/migrate_data.go(+1 -0)➕
internal/database/model/client_group_host.go(+10 -0)📝
internal/sub/host_order_test.go(+26 -0)...and 24 more files
📄 Description
Summary
Add HostGroup-based default host assignments for client groups.
Scope
This PR contains only the group-level HostGroup feature and directly related changes. It does not modify GitHub Actions workflows or Telegram bot code, and it does not reimplement the existing individual client-host assignment functionality.
Validation
An earlier full CI run encountered a failure in the unrelated Telegram bot test TestScreenArtReprobeWindow; the isolated Go-test rerun passed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #6940] feat(client-hosts): add HostGroup-based client host defaultsto [PR #6940] [CLOSED] feat(client-hosts): add HostGroup-based client host defaults