Skip to content
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

Merged
merged 7 commits into from
Jul 29, 2024

Conversation

Linhao-Qian
Copy link
Contributor

@Linhao-Qian Linhao-Qian commented Jul 13, 2024

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:

  1. Login page;
  2. NavBar module;
  3. SideBar module;
  4. GlobalHistoryManagement module;
  5. ParameterConfig module;

Welcome to give feedback on my codes, thank you~

@mayinrain
Copy link
Contributor

LGTM.

@peacewong
Copy link
Contributor

Please modify the PR description and title.

@Linhao-Qian Linhao-Qian changed the title [linkis-web-next]: globalHistoryManagement部分逻辑与样式完善 [linkis-web-next]: Refactored GlobalHistoryManagement and SideBar modules, and fixed previous typescript format errors in the linkis-web-next project Jul 16, 2024
@Linhao-Qian Linhao-Qian changed the title [linkis-web-next]: Refactored GlobalHistoryManagement and SideBar modules, and fixed previous typescript format errors in the linkis-web-next project [linkis-web-next]: GlobalHistoryManagement and SideBar modules refactoring & previous typescript format errors fixing Jul 16, 2024
@Linhao-Qian Linhao-Qian changed the title [linkis-web-next]: GlobalHistoryManagement and SideBar modules refactoring & previous typescript format errors fixing [linkis-web-next]: GlobalHistoryManagement and SideBar modules refactoring & previous bug fixing Jul 16, 2024
Copy link
Contributor

@peacewong peacewong left a 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

@Linhao-Qian Linhao-Qian changed the title [linkis-web-next]: GlobalHistoryManagement and SideBar modules refactoring & previous bug fixing [linkis-web-next]: Modules refactoring & Bug fixing Jul 24, 2024
Copy link
Contributor

@peacewong peacewong left a 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 {
Copy link
Contributor

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.

Copy link
Contributor

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;
Copy link
Contributor

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.

@peacewong peacewong merged commit 9a9b210 into apache:master Jul 29, 2024
12 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