Skip to content

Truncate string arguments displayed in failed jobs index #265

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: main
Choose a base branch
from

Conversation

benjaminpenaolvera
Copy link

Description:

This PR truncates the string representation of job arguments in the failed jobs index view. When job arguments are very long, they can break the UI and make the job list hard to read. With this change, only the first 300 characters are shown in the index, while the full arguments remain visible in the job detail view.

Why:

This improves readability and usability. Currently, when job arguments are too long, the UI tends to break and requires excessive horizontal scrolling to perform actions like retry or discard, making the process tedious. Alternatively, users are forced to enter the job detail view just to take action, which is inefficient. Truncating the arguments in the index view makes it much easier to quickly navigate, scan, and manage failed jobs.

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