Skip to content

fix(FR-823): log message scroll bar is too wide when logs are empty.#3487

Merged
graphite-app[bot] merged 1 commit into
mainfrom
bugfix_FR-823_/scroll-bar-is-too-wide
Apr 13, 2025
Merged

fix(FR-823): log message scroll bar is too wide when logs are empty.#3487
graphite-app[bot] merged 1 commit into
mainfrom
bugfix_FR-823_/scroll-bar-is-too-wide

Conversation

@agatha197
Copy link
Copy Markdown
Contributor

@agatha197 agatha197 commented Apr 11, 2025

Resolves #3486 (FR-823)

Conditionally set table scroll height in ErrorLogList

This PR modifies the ErrorLogList component to conditionally set the vertical scroll height. When there are no error logs to display (filtered log data with isError is empty), the vertical scroll height is set to undefined instead of a fixed calculation. This prevents unnecessary scrollbars from appearing when there's no error data to scroll through.

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link
Copy Markdown
Contributor Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 11, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 4.21% 408/9683
🔴 Branches 3.59% 240/6679
🔴 Functions 2.56% 79/3091
🔴 Lines 4.15% 393/9471

Test suite run success

124 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 7dbb479

Copy link
Copy Markdown
Contributor

@nowgnuesLee nowgnuesLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Apr 13, 2025

Merge activity

…3487)

Resolves #3486 ([FR-823](https://lablup.atlassian.net/browse/FR-823))

# Conditionally set table scroll height in ErrorLogList

This PR modifies the `ErrorLogList` component to conditionally set the vertical scroll height. When there are no error logs to display (filtered log data with `isError` is empty), the vertical scroll height is set to `undefined` instead of a fixed calculation. This prevents unnecessary scrollbars from appearing when there's no error data to scroll through.

**Checklist:**

- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after

[FR-823]: https://lablup.atlassian.net/browse/FR-823?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
@graphite-app graphite-app Bot force-pushed the bugfix_FR-823_/scroll-bar-is-too-wide branch from 521466d to 7dbb479 Compare April 13, 2025 04:32
@graphite-app graphite-app Bot merged commit 7dbb479 into main Apr 13, 2025
6 checks passed
@graphite-app graphite-app Bot deleted the bugfix_FR-823_/scroll-bar-is-too-wide branch April 13, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS ~10 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Log message scroll bar is too wide when logs are empty.

2 participants