Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(error-tracking): wrap long property keys in exception properties table (#119554)

Hugues Pouillot3769e92061f5
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 5e1cccd5de6e..9ed375e3bed7 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -3161,9 +3161,9 @@ snapshots:
errortracking-exceptioncard--exception-card-with-footer--light:
hash: v1.k794b7964.8bc90ffeadb1304543b699edc9997164aa703d7772d00077eeec0aaad813e5cc.jAk-r83tuSk2Izafz9v1wD5Lkdd3tBN0NE8ybyn0Vq0
errortracking-exceptionpropertiestable--default--dark:
- hash: v1.k794b7964.d3fe66e6fe85d6e4da00ee8f41e6aadd3b056ad0fd6669aa4803e527c6e4244b.WZyU9f9-17LRZgIlwsQcAB5W8UnklBqT0w1YT7_VOwI
+ hash: v1.k794b7964.262739d6e94c3fdb4ddc639e5103050971343c9cc482c3004e1158b844df94bc.0z51e0C7pMZayjlhHcCQVQHBitJkNdy0dRalI3xJ8Zc
errortracking-exceptionpropertiestable--default--light:
- hash: v1.k794b7964.70ac7f67ce6bb85da4e77268e759683ea4ef62cfe41dac7d195ad6d1d76968c6.lM0z4cPnmTxWzhGeDAA7S8VKFG8zQE5AxgpCKIX7L-U
+ hash: v1.k794b7964.f431cc69ed168ed8721a455e750ad7a7179fada09830f3310451af9552db7374.HjYdTXt2UWC0v3QtahLsk_4knlxy8LcmCqcbChaCa1g
errortracking-exceptionpropertiestable--empty--dark:
hash: v1.k794b7964.daf1d61523fb4f9194c535437fc416212b831201df537bc6773eb297f65defd9.BOG2sX6hdQgIR6b5Bxaw61ivfxG5ciYSmYGa3M9Vqik
errortracking-exceptionpropertiestable--empty--light:
diff --git a/products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx b/products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx
index 3222dc31c1cb..fdc9f49a3114 100644
--- a/products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx
+++ b/products/error_tracking/frontend/components/ContextDisplay/ExceptionPropertiesTable.stories.tsx
@@ -43,6 +43,7 @@ export const Default: Story = {
['Account plan', 'business'],
['Attempt count', 3],
['Feature enabled', true],
+ ['billing_summary.current_amount_usd.logs_retention_custom', '0.00'],
],
},
],
diff --git a/products/error_tracking/frontend/components/PropertiesTable.tsx b/products/error_tracking/frontend/components/PropertiesTable.tsx
index 246d085ebdc8..5f13aa6650fd 100644
--- a/products/error_tracking/frontend/components/PropertiesTable.tsx
+++ b/products/error_tracking/frontend/components/PropertiesTable.tsx
@@ -50,8 +50,10 @@ export function PropertiesTable({
className: 'font-medium bg-inherit',
render: (dataValue, record) => (
<div className="flex gap-x-2 justify-between items-center">
- <div>{String(dataValue)}</div>
- <div className="flex items-center gap-1">
+ <div className={tableLayout === 'fixed' ? 'min-w-0 wrap-anywhere' : undefined}>
+ {String(dataValue)}
+ </div>
+ <div className="flex shrink-0 items-center gap-1">
{onFilterValue &&
record.filterKey &&
getFilterableValue(record.filterValue ?? record.value) !== null && (