Skip to content

FIX(WEB): truncate long job names with TrimText (jobs list + details)#111

Merged
prasadlohakpure merged 1 commit into
patterninc:mainfrom
ShivangNagta:fix/job-name-truncation
Jun 17, 2026
Merged

FIX(WEB): truncate long job names with TrimText (jobs list + details)#111
prasadlohakpure merged 1 commit into
patterninc:mainfrom
ShivangNagta:fix/job-name-truncation

Conversation

@ShivangNagta

Copy link
Copy Markdown
Contributor

Summary

Long job names (e.g. fact_buybox_estimates_seller_daily.check_fact_buybox_estimates_seller_daily_status) were overflowing / getting cut off in the Job Name column on the Jobs list and in the Job Details header, causing an inconsistent layout.

This switches both spots to react-ui's TrimText, which truncates to a character limit, keeps the name on a single line, and reveals the full name on hover.

Changes

  • Jobs list - Name column (web/src/modules/Jobs/Helper.tsx): render the name via <TrimText text={row.name} limit={60} customClass='whitespace-nowrap' /> instead of the raw value.
  • Job Details - header (web/src/modules/Jobs/JobDetails/JobInformationPane.tsx): same TrimText treatment for the Job Name field (limit={25}).

Testing

  • Verified in the browser on both the Jobs list and a Job Details page with a long job name: name stays on one line, truncates with , and the full value appears on hover.

Screenshots

Before - Job Details section, overflow is visible for JOB NAME:
before_job_name

After(not the same test case) - Job Details section, JOB NAME trimmed to 25 characters, visible on hovor:
Screenshot 2026-06-16 at 10 50 02 AM

After(not the same test case) - Job List section, JOB NAME trimmed to 60 characters, visible on hovor:
Screenshot 2026-06-16 at 2 17 53 PM

Copilot AI review requested due to automatic review settings June 17, 2026 04:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@prasadlohakpure prasadlohakpure merged commit 9858764 into patterninc:main Jun 17, 2026
7 checks passed
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.

4 participants