Skip to content

Conversation

@djbarnwal
Copy link
Member

Refactor Pivot error page to

  • show X-Trace-id
  • truncate longer error messages
  • add copy icon to copy full error message

Mock layout
Screenshot 2026-01-13 at 5 47 03 PM

https://linear.app/rilldata/issue/APP-616/nicer-error-messages-in-pivot

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@djbarnwal djbarnwal requested a review from AdityaHegde January 13, 2026 16:12
Copy link
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

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

Just a small nit. Otherwise LGTM

});
}
function truncateMessage(message: string): string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not use css directly for max width?

Copy link
Member Author

Choose a reason for hiding this comment

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

CSS would work well with single line text for choose this option for multiline content. Using line-clamp could also be a bit tricky at places depending on the layout.

@djbarnwal djbarnwal merged commit b52eec0 into main Jan 14, 2026
22 of 23 checks passed
@djbarnwal djbarnwal deleted the refac/pivot-error-trace-id branch January 14, 2026 13:17
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.

3 participants