Skip to content

[Improvement][Resources、Project] Improve details page return to the previous list page after returning to the list page #13558#13730

Closed
zhutong6688 wants to merge 10 commits intoapache:devfrom
zhutong6688:feature-13558
Closed

[Improvement][Resources、Project] Improve details page return to the previous list page after returning to the list page #13558#13730
zhutong6688 wants to merge 10 commits intoapache:devfrom
zhutong6688:feature-13558

Conversation

@zhutong6688
Copy link
Contributor

Purpose of the pull request

Current Problem Is #13558
The purpose of this modification is that when we are in the resource list, we click into the resource details page, and then return to the resource list, we can still return to the original resource list。

Brief change log

add enum.ts in common directory
add storage.ts、isEmpty.ts in utils directory
add main code in types.ts of common directory
add main improve code in dolphinscheduler-ui/src/views/resource/components/resource/edit/index.tsx
add main improve code in dolphinscheduler-ui/src/views/resource/components/resource/table/use-table.ts
add main improve code dolphinscheduler-ui/src/views/resource/components/resource/index.tsx

Verify this pull request

This is the test verification of this improvement for problem #13558, as follows:
1、Query resource list unconditionally
图片
图片
图片
图片
2、Query resource list conditionally
图片
图片
图片
图片
图片

As can be seen from the above, whether in the case of conditional or unconditional query of resource files, when you enter the corresponding resource details page and click Save or Return, you can smoothly return to the previous resource list, greatly improving the development efficiency. Otherwise, you will return to the home page every time and lose the query conditions, which greatly reduces the development efficiency。

@github-actions github-actions bot added the UI ui and front end related label Mar 13, 2023
@zhutong6688 zhutong6688 reopened this Mar 13, 2023
@zhutong6688 zhutong6688 deleted the feature-13558 branch March 13, 2023 07:52
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI ui and front end related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant