Skip to content

Commit

Permalink
feat(Surveys): Show library and version in Survey data table (#25741)
Browse files Browse the repository at this point in the history
This PR adds two columns to the data table in Survey results view to surface the library version and type for easier debugging.
  • Loading branch information
Phanatic authored Oct 23, 2024
1 parent 68d2c10 commit 9b9adec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/scenes/surveys/surveyLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,9 @@ export const surveyLogic = kea<surveyLogicType>([
}),
'timestamp',
'person',
`coalesce(JSONExtractString(properties, '$lib_version')) -- Library Version`,
`coalesce(JSONExtractString(properties, '$lib')) -- Library`,
`coalesce(JSONExtractString(properties, '$current_url')) -- URL`,
],
orderBy: ['timestamp DESC'],
where: [`event == 'survey sent'`],
Expand Down

0 comments on commit 9b9adec

Please sign in to comment.