Skip to content

Fix help display behaviors in the trait list UI #328

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dodo920306
Copy link

Wrap helpLink and helpArea in a .help-sibling container to ensure help content appears under the correct entry, rather than always in the first block. Also moved the helpLink inline with displayName inside the same to improve layout.

  • Fixes confusing UX in repeatable entries
  • Matches Jenkins' help JavaScript behavior (finds closest .help-sibling)

Before:
ezgif-8b255e49809e91

After:
ezgif-8b01f6aaa1c984

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

Wrap helpLink and helpArea in a `.help-sibling` container to ensure help content
appears under the correct entry, rather than always in the first block. Also moved
the helpLink inline with displayName inside the same <td> to improve layout.

- Fixes confusing UX in repeatable entries
- Matches Jenkins' help JavaScript behavior (finds closest `.help-sibling`)
- Removes unnecessary <div> wrapping displayName
@dodo920306 dodo920306 requested a review from a team as a code owner May 19, 2025 12:18
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.

1 participant