Skip to content

Conversation

@Crokily
Copy link
Contributor

@Crokily Crokily commented Sep 19, 2025

调整投稿工具,目前:

  • 仅支持英文,数字,下划线,连字符。输入其余的会无法提交,不输也无法提交
image image 并且也已经确认英文,数字,下划线,连字符文件名是可以正常处理的 image

@vercel
Copy link

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
involutionhell-github-io Ready Ready Preview Comment Sep 19, 2025 6:26am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enforces filename validation in the contribution dialog to ensure article filenames only contain English letters, numbers, underscores, and hyphens. The filename field is now mandatory and provides real-time validation feedback.

  • Adds regex pattern validation for article filenames
  • Makes filename field mandatory instead of optional
  • Implements user-friendly error messages with validation state tracking

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Mira190
Copy link
Contributor

Mira190 commented Sep 19, 2025

测试完毕,建议默认是添加分支而不是直接commit到main,容易误操作

@Mira190 Mira190 merged commit fe981cc into main Sep 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants