mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6504] [MERGED] feat(geodata): add standard source presets #6315
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#6315
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/6504
Author: @rokokol
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @MHSanaei
Base:
main← Head:feat/geodata-standard-sources📝 Commits (2)
d2278e3feat(geodata): add standard source presets810e511fix(geodata): preserve custom source entries📊 Changes
19 files changed (+148 additions, -2 deletions)
View changed files
📝
frontend/src/pages/index/GeodataSection.tsx(+17 -2)📝
frontend/src/schemas/xray.ts(+1 -0)➕
frontend/src/test/geodata-section.test.tsx(+79 -0)📝
internal/web/controller/xray_setting.go(+1 -0)📝
internal/web/service/server.go(+16 -0)📝
internal/web/service/server_geofile_test.go(+21 -0)📝
internal/web/translation/ar-EG.json(+1 -0)📝
internal/web/translation/en-US.json(+1 -0)📝
internal/web/translation/es-ES.json(+1 -0)📝
internal/web/translation/fa-IR.json(+1 -0)📝
internal/web/translation/id-ID.json(+1 -0)📝
internal/web/translation/ja-JP.json(+1 -0)📝
internal/web/translation/pt-BR.json(+1 -0)📝
internal/web/translation/ru-RU.json(+1 -0)📝
internal/web/translation/tr-TR.json(+1 -0)📝
internal/web/translation/uk-UA.json(+1 -0)📝
internal/web/translation/vi-VN.json(+1 -0)📝
internal/web/translation/zh-CN.json(+1 -0)📝
internal/web/translation/zh-TW.json(+1 -0)📄 Description
Summary
Adds a Geodata editor button that fills the six supported geofile download sources
Why
Scheduled geodata downloads require asset URLs, but administrators previously had to copy every supported URL and filename by hand
Type of change
Areas affected
How was this tested?
npm run testnpm run lintnpm run typechecknpm run format:checknpm run buildgo test ./internal/web/service ./internal/web/controller -run '^(TestStandardGeodataSources|TestGeodata)' -count=1Screenshots / recordings
Manually verified locally, no attachment available from this environment
Breaking changes
None
Checklist
go build ./...and the test suite pass locallynpm run lint,npm run typecheck, andnpm run buildpass🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.