Fix empty user id clickhouse (#18238)

- Fixes:
- Make Workspace User select work; previously, it didn't work as we were
not fetching the workspace users correctly
  - Send Object Events with valid record id and object id

## Audit logs demo


https://github.com/user-attachments/assets/92437037-d253-4810-a138-7c709550755d
This commit is contained in:
Baptiste Devessier
2026-02-27 16:58:44 +01:00
committed by GitHub
parent 86fbf69e95
commit cfad24da48
29 changed files with 146 additions and 171 deletions
@@ -10,7 +10,6 @@ export type PartialWorkspaceMember = Omit<
| 'calendarStartDay'
| 'createdAt'
| 'updatedAt'
| 'userId'
>;
export type RoleWithPartialMembers = Omit<Role, 'workspaceMembers'> & {
@@ -9,5 +9,6 @@ export const PARTIAL_WORKSPACE_MEMBER_QUERY_FRAGMENT = gql`
}
avatarUrl
userEmail
userWorkspaceId
}
`;
@@ -11,6 +11,7 @@ export const WORKSPACE_MEMBER_QUERY_FRAGMENT = gql`
avatarUrl
locale
userEmail
userWorkspaceId
timeZone
dateFormat
timeFormat