Skip to content

OBPIH-6850 Create table component to count tab#5012

Merged
awalkowiak merged 2 commits intodevelopfrom
OBPIH-6850-2
Jan 24, 2025
Merged

OBPIH-6850 Create table component to count tab#5012
awalkowiak merged 2 commits intodevelopfrom
OBPIH-6850-2

Conversation

@alannadolny
Copy link
Collaborator

No description provided.

@alannadolny alannadolny self-assigned this Jan 23, 2025
@github-actions github-actions bot added the domain: frontend Changes or discussions relating to the frontend UI label Jan 23, 2025
@codecov
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 7.78%. Comparing base (1392fad) to head (d4593e3).
Report is 178 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##             develop   #5012      +/-   ##
============================================
+ Coverage       7.74%   7.78%   +0.04%     
- Complexity       855     867      +12     
============================================
  Files            613     613              
  Lines          42621   42621              
  Branches       10350   10350              
============================================
+ Hits            3302    3320      +18     
+ Misses         38825   38806      -19     
- Partials         494     495       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

</TableCell>
),
cell: ({ getValue }) => {
const binLocationList = mapStringToList(getValue(), ',');
Copy link
Collaborator

Choose a reason for hiding this comment

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

How long can this list potentially be?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The longest list that I have locally is 13 bin locations

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should it be capped at 4 bins like on the other page?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it is, but in OBPIH-6942

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good. On a side note, this mapStringToList should be named differently, because I'd say instead of mapStringToList it should be a simple split, unless it does something more beyond that that I am not aware looking at this part of the code.

@awalkowiak awalkowiak merged commit 858292e into develop Jan 24, 2025
9 checks passed
@awalkowiak awalkowiak deleted the OBPIH-6850-2 branch January 24, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants