Skip to content

feat: Update table row height and selection behavior#1135

Open
jakoballgaier wants to merge 3 commits into
eclipse-tractusx:mainfrom
achtzig20:feat/fix-table-behavior
Open

feat: Update table row height and selection behavior#1135
jakoballgaier wants to merge 3 commits into
eclipse-tractusx:mainfrom
achtzig20:feat/fix-table-behavior

Conversation

@jakoballgaier
Copy link
Copy Markdown
Contributor

Description

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

  • DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
  • Copyright and license header are present on all affected files (TRG 7.02
  • Documentation Notice are present on all affected files (TRG 7.07)
  • If helm chart has been changed, the chart version has been bumped to either next major, minor or patch level (compared to released chart).
  • Changelog updated (changelog.md) with PR reference and brief summary.
  • Frontend version bumped, if needed (frontend/package.json, frontend/package-lock.json)
  • Backend version bumped, if needed (backend/pom.xml)
  • Open API specification updated, if controllers have been changed (use python script scripts/generate_openapi_yaml.py with running customer backend)

@jakoballgaier jakoballgaier self-assigned this Apr 10, 2026
Copy link
Copy Markdown
Member

@ReneSchroederLJ ReneSchroederLJ left a comment

Choose a reason for hiding this comment

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

Thank you for the fix. I just suggested a small improvement

getRowId={(row) => row.ownMaterialNumber}
noRowsMsg='No materials found'
getRowHeight={() => "auto"}
disableRowSelectionOnClick
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This still allows row selection by keyboard. A more complete approach would be to utilize rowSelection={false}

Copy link
Copy Markdown
Member

@ReneSchroederLJ ReneSchroederLJ left a comment

Choose a reason for hiding this comment

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

Upon reviewing your changes again I noticed that these fixes weren't applied to the tables in the batch view. The selection fix only applies to the table within the modal, but the row height fix should be applied to both.

My apologies for not catching this the first time.

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.

2 participants