mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6151] [CLOSED] fix(frontend): keep DNS hosts synchronized #6114
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#6114
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/6151
Author: @PathGao
Created: 7/29/2026
Status: ❌ Closed
Base:
main← Head:fix-dns-hosts-source-v3📝 Commits (6)
b753b30fix(frontend): improve config block contrast5532bcbfix(frontend): preserve config block theme fills0d2feddfix(frontend): preserve config block themes3a5e343fix(frontend): keep DNS hosts synchronized27b1e96fix(frontend): preserve incomplete DNS hosts39b68d3fix(frontend): reset DNS host drafts when disabled📊 Changes
4 files changed (+116 additions, -30 deletions)
View changed files
📝
frontend/.storybook/preview.tsx(+4 -3)📝
frontend/src/components/clients/ConfigBlock.css(+5 -4)📝
frontend/src/pages/xray/dns/DnsTab.tsx(+26 -23)➕
frontend/src/test/dns-tab.test.tsx(+81 -0)📄 Description
Prerequisite
Includes #6149 to keep the shared Storybook check green. Merge #6149 first; this PR will then reduce to the DNS-hosts change.
Summary
Validation
npm run test -- dns-tab.test.tsxnpm run typecheck🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.