Skip to content

对 loginform 的体验优化#48

Merged
chenyme merged 27 commits intolinux-do:masterfrom
Shinplex:master
Jul 3, 2025
Merged

对 loginform 的体验优化#48
chenyme merged 27 commits intolinux-do:masterfrom
Shinplex:master

Conversation

@TethysPlex
Copy link
Copy Markdown
Collaborator

例行检查

  • 我已阅读并理解 贡献者公约
  • 我已阅读并同意 贡献者许可协议 (CLA),确认我的贡献将根据项目的 MIT 许可证进行许可,
  • 我知晓如果此 PR 并不做出实质性更改,或可被认为是为了PR被合并而提交PR的,则可能不会被合并,

关联信息

变更内容

变更原因

TethysPlex added 20 commits July 3, 2025 10:59
…mport component

- extract ProjectBasicForm for project basic info input in CreateDialog and EditDialog
- extract BulkImportSection for import content UI reuse in CreateDialog and EditDialog
- extract DistributionModeSelect for distribution mode selection UI
- implement useProjectForm, useProjectTags, useBulkImport, and useFileUpload hooks to encapsulate logic and state
- replace inline forms in CreateDialog and EditDialog with extracted components and hooks
- improve file upload handling via useFileUpload hook with file validation and toast feedback
- clean up redundant code and consolidate file import dialog in BulkImportSection component
- extract project form logic into useProjectForm hook
- extract project tags logic into useProjectTags hook
- extract bulk import logic into useBulkImport hook
- extract file upload logic into useFileUpload hook
- replace inline form and tag state management with hooks
- remove unused imports and components
- unify handler implementations and improve code readability
…n select and fix riskLevel update indentation
- fix extra comma in useProjectForm object initialization
- add missing space after arrow functions for consistency
- remove trailing comma syntax error in useProjectForm
- unify arrow function parameter formatting in useBulkImport and useProjectForm
@TethysPlex TethysPlex requested review from OrenZhang and chenyme July 3, 2025 12:19
@OrenZhang OrenZhang requested a review from Copilot July 3, 2025 12:28

This comment was marked as outdated.

@OrenZhang OrenZhang requested a review from Copilot July 3, 2025 12:51

This comment was marked as resolved.

@chenyme chenyme self-requested a review July 3, 2025 13:31
@chenyme chenyme merged commit 0422336 into linux-do:master Jul 3, 2025
9 checks passed
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.

3 participants