MaaAssistantArknights / maa-copilot-frontend

MAA Copilot Frontend
https://prts.plus
68 stars 48 forks source link

fix:Normalization of components/DND file naming #309

Closed bairihai closed 2 months ago

bairihai commented 2 months ago

优化文件命名规范,优化了components中的DND文件命名大小写问题

ps:新手,第一次用pr居然就能参与到maa中,感到不胜荣幸……算了,就是改了个DND文件名而已 image

martinwang2002 commented 2 months ago

@guansss DnD? Stands for Drag and Drop?

guansss commented 2 months ago

@martinwang2002 对

之前用小写是因为我个人习惯,如果文件名不能对应到里面导出的组件名或者类名就用小写

这里如果用大写的话会让人以为有一个叫 DND 的组件,比较迷惑,所以感觉不是很有必要改

guansss commented 2 months ago

感谢 PR,但目前项目里并没有明确的文件名规范,如果要推行规范的话需要有更合适的理由🙂