Skip to content

feat: Base home screen#25

Open
tevincent wants to merge 21 commits intomainfrom
base-home-screen
Open

feat: Base home screen#25
tevincent wants to merge 21 commits intomainfrom
base-home-screen

Conversation

@tevincent
Copy link
Contributor

@tevincent tevincent commented Jan 28, 2026

@tevincent tevincent changed the base branch from main to bottom-bar January 28, 2026 14:46
@github-actions
Copy link

This PR/issue depends on:

@LunarX LunarX self-requested a review January 29, 2026 09:44
@tevincent tevincent force-pushed the base-home-screen branch 2 times, most recently from 247fcd1 to bc6422f Compare January 29, 2026 12:18
@tevincent tevincent force-pushed the bottom-bar branch 3 times, most recently from 18f674b to cf0a7d4 Compare February 3, 2026 07:25
Base automatically changed from bottom-bar to main February 3, 2026 08:54
@tevincent tevincent mentioned this pull request Feb 3, 2026
Comment on lines 31 to 32


Choose a reason for hiding this comment

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

Suggested change

FloatingActionButton(
onClick = onClick,
containerColor = AuthenticatorTheme.materialColors.primaryContainer,
shape = RoundedCornerShape(16.dp),

Choose a reason for hiding this comment

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

You can use our Dimens.largeCornerRadius

.clickable(onClick = {}),
colors = CardDefaults.cardColors(containerColor = AuthenticatorTheme.colors.actionRequiredBackground),
border = BorderStroke(1.dp, AuthenticatorTheme.colors.actionRequiredBorder),
shape = RoundedCornerShape(16.dp),

Choose a reason for hiding this comment

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

Use largeCornerRadius

Icon(
painter = painterResource(R.drawable.alert),
contentDescription = null,
tint = AuthenticatorTheme.colors.actionRequiredBorder,

Choose a reason for hiding this comment

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

It's a bit weird to have the color named border here.
Maybe we could have a name along the line of "actionRequiredPrimary" or "onActionRequiredSurface"

Icon(
modifier = Modifier.padding(end = Margin.Mini),
painter = painterResource(id = account.securityLevel.iconResId),
contentDescription = null,

Choose a reason for hiding this comment

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

We should add a contentDescription for this icon, as there are no other way to know if the account is "blocked"

@@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"

Choose a reason for hiding this comment

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

Missing copyright for this and the others drawable

android:pathData="M3.375,7.892C3.375,8.991 3.81,10.045 4.584,10.821C5.357,11.598 6.406,12.035 7.5,12.035C8.594,12.035 9.643,11.598 10.417,10.821C11.19,10.045 11.625,8.991 11.625,7.892C11.625,6.794 11.19,5.74 10.417,4.963C9.643,4.186 8.594,3.75 7.5,3.75C6.406,3.75 5.357,4.186 4.584,4.963C3.81,5.74 3.375,6.794 3.375,7.892Z"
android:strokeLineJoin="round"
android:strokeWidth="1.5"
android:fillColor="#00000000"

Choose a reason for hiding this comment

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

Remove the 4 useless fill color

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"

Choose a reason for hiding this comment

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

I think to better follow the icon naming guidelines, it should be "shield_bang" or "shield_exclamation_mark"

<string name="appAccessIsSecure">Der Zugriff auf Authenticator ist sicher</string>
<string name="authorizationCodeTitle">Ihr Autorisierungscode</string>
<string name="autoCloseTitle">Diese Information schliesst sich automatisch nach 15 Sekunden.</string>
<string name="avatarContentDescription">Avatar du compte</string>

Choose a reason for hiding this comment

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

This string is in french for all languages

tevincent and others added 3 commits February 6, 2026 11:10
Co-authored-by: Fabian Devel <fabian.devel@infomaniak.com>
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.

2 participants