Skip to content

feat: allow Chinese characters in project name#859

Open
LordofAvernus wants to merge 1 commit into
mainfrom
feat-936-project-chinese-name
Open

feat: allow Chinese characters in project name#859
LordofAvernus wants to merge 1 commit into
mainfrom
feat-936-project-chinese-name

Conversation

@LordofAvernus

Copy link
Copy Markdown
Collaborator

Summary

  • Allow Chinese characters in project name on create form by switching ProjectForm validation from nameRule to roleNameRule.
  • Keep shared nameRule unchanged so data source / member group / rule template names remain ASCII-only.
  • Add Jest coverage for Chinese project name create path.

Test plan

  • AddProject Jest with Chinese name
  • FormRule / Project Drawer Jest
  • quick-deploy hot-swap validation on BASE_URL with Chinese projects

Fixes actiontech/dms-ee#936

Use roleNameRule for project create form so names may start with Chinese
and include Chinese characters, without relaxing shared nameRule used by
data sources.

Fixes actiontech/dms-ee#936
@github-actions

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 80.92% 29745/36758
🟡 Branches 63.24% 11169/17662
🟢 Functions 84.3% 10011/11876
🟢 Lines 84.87% 28426/33492

Test suite run success

3742 tests passing in 820 suites.

Report generated by 🧪jest coverage report action from f58a69f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant