WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@wohainilaodou
Copy link
Contributor

@wohainilaodou wohainilaodou commented Nov 20, 2025

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:
image
after:
image

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

@dockerzhang dockerzhang merged commit 185b361 into apache:master Nov 24, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improve][Dashboard] Optimization of text display in long forms on resource details page

3 participants