Expose lastActivityAt and lastSignInAt in the Users GraphQL API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description:

It has been noticed that a couple of useful features available in the REST API, specifically lastActivityAt and lastSignInAt fields on the User object, are not currently exposed in the GraphQL API.

The lastActivityAt field provides valuable information on when a user was last active on the platform, and the lastSignInAt field indicates the last time a user signed into their account. These data points are crucial for monitoring user engagement and understanding usage patterns. At present, to retrieve these data points, one has to resort to the REST API, which might complicate the implementation by mixing different types of API requests in the same codebase.

By including lastActivityAt and lastSignInAt fields in the User object within the GraphQL API, GitLab could significantly streamline data retrieval process and increase the overall usefulness of the GraphQL API for a broad range of users.

Edited by 🤖 GitLab Bot 🤖