-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[linkis-web-next]: Modules refactoring & Bug fixing #5145
Conversation
LGTM. |
Please modify the PR description and title. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SVG need add apache license, Can refer to[1]
1.linkis-web/src/dss/assets/images/Linkis.svg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
return; | ||
} | ||
for (const cate of tmpData.value.childCategory) { | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are no chain dependencies in the requests here, it might be more efficient to use Promise.all to execute them in parallel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better if similar logic could be wrapped into a function.
|
||
const props = defineProps<{ | ||
name: string; | ||
description: string; | ||
dataList: DataList; | ||
dataList: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to avoid using the any type.
What is the purpose of the change
Hello maintainers, I am in charge of the linkis-web-next development and refactoring. I submitted the PR to Apache Linkis, aiming to refactor linkis-web-next modules. Besides, considering that there are a lot of bugs in the linkis-web-next project, I also fixed some of them. I hope my codes could provide users of linkis-web with a better experience in the future~
Until now, I have already refactored these modules in linkis-web-next projects:
Welcome to give feedback on my codes, thank you~