Skip to content

chore: Remove lastLoginAt#765

Merged
tevincent merged 2 commits into
mainfrom
remove-last-login-at
May 12, 2026
Merged

chore: Remove lastLoginAt#765
tevincent merged 2 commits into
mainfrom
remove-last-login-at

Conversation

@tevincent
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 12, 2026 15:01
@tevincent tevincent enabled auto-merge May 12, 2026 15:01
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the lastLoginAt field from OrganizationPreference in both the Auth and Legacy user preference models, and updates dependent preview/test fixtures and Room schema/migration artifacts accordingly.

Changes:

  • Removed lastLoginAt from OrganizationPreference (Auth + Legacy).
  • Updated call sites (Compose preview parameter + Auth unit test) to match the new constructor signature.
  • Updated Auth Room migration annotations and the exported Room schema snapshot.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Ui/Compose/Preview/.../UserListPreviewParameterProvider.kt Updates preview dummy user generation for the new OrganizationPreference constructor.
Legacy/.../OrganizationPreference.kt Removes lastLoginAt from the Legacy preferences model.
Auth/src/test/.../BaseAccountUtilsTest.kt Updates test fixture user creation for the new OrganizationPreference constructor.
Auth/src/main/.../UserMigration.kt Adds a Room @DeleteColumn for the removed embedded column.
Auth/src/main/.../OrganizationPreference.kt Removes lastLoginAt from the Auth preferences model.
Auth/schemas/.../6.json Updates exported Room schema snapshot to remove the column and reflect new identity hash.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Auth/schemas/com.infomaniak.core.auth.room.UserDatabase/6.json
Comment thread Auth/src/main/kotlin/com/infomaniak/core/auth/room/UserMigration.kt
@tevincent tevincent merged commit a609ec3 into main May 12, 2026
7 checks passed
@tevincent tevincent deleted the remove-last-login-at branch May 12, 2026 15:08
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