wohainilaodou opened a new pull request, #12053:
URL: https://github.com/apache/inlong/pull/12053
…on resource details page
<!-- Prepare a Pull Request
Change the title of pull request refer to the following example:
[INLONG-XYZ][Component] Title of the pull request
-->
<!-- Specify the issue this pull request going to fix.
The following *XYZ* should be replaced by the actual [GitHub
Issue](https://github.com/apache/inlong/issues) number)-->
Fixes #12052
### Motivation
The resource details page contains excessively long lists of unimportant
data, causing the page to fill up completely, which is unfriendly to users.
### Modifications
Modify the backend API to return data of type Array. It defaults to
displaying 10 items; if more than 10 items are displayed, the remaining items
will be shown. Clicking on a remaining item will display the other remaining
data. Clicking the collapse button will return to the state of displaying only
10 items.
### Verifying this change
before:
<img width="877" height="94" alt="image"
src="https://github.com/user-attachments/assets/577b3c11-de5a-469c-8e69-4549acdc8507"
/>
after:
<img width="2341" height="177" alt="image"
src="https://github.com/user-attachments/assets/28ad3a64-4adc-4dc0-8746-57f9f141f99f"
/>
### Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs
/ not documented)
- If a feature is not applicable for documentation, explain why?
- If a feature is not documented yet in this PR, please create a follow-up
issue for adding the documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]