Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature (296629): Faire la page de notifications #136

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

ZouidiSamih
Copy link

No description provided.


<TouchableOpacity
style={[styles.tab, activeTab === 'Historique' && styles.activeTab]}
onPress={() => setActiveTab('Historique')}

Choose a reason for hiding this comment

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

Utiliser setActiveTab(t('Screens.History') genre comme en haut

Comment on lines 44 to 45
fontSize: TextTheme.labelTitle.fontSize,
fontWeight: TextTheme.labelTitle.fontWeight,

Choose a reason for hiding this comment

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

Tu peux le remplace par ...Texttheme.labelTitle

{t('Screens.Notifications')}
</Text>
{notificationCount > 0 && (
<View style={styles.badge}>

Choose a reason for hiding this comment

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

Est-ce qu'il ne faudrait pas le positionner en position absolue? De quoi ça à l'air sur une tablet le badge?

return sections
}

type sectionType = { title: string; data: NotificationReturnType }

Choose a reason for hiding this comment

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

SectionType

const styles = StyleSheet.create({
separator: {
borderBottomWidth: 1,
borderBottomColor: ColorPallet.grayscale.lightGrey,

Choose a reason for hiding this comment

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

#DAE6F0

Comment on lines 76 to 78
fontSize: TextTheme.labelTitle.fontSize,
fontWeight: TextTheme.labelTitle.fontWeight,
color: TextTheme.labelTitle.color,

Choose a reason for hiding this comment

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

Tu peux le remplacer par ...TextTheme.labelTitle

},
sectionSeparator: {
height: 1,
backgroundColor: ColorPallet.grayscale.lightGrey,

Choose a reason for hiding this comment

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

#DAE6F0

Copy link

@fc-santos fc-santos left a comment

Choose a reason for hiding this comment

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

Regarde mes commentaires

Signed-off-by: Jean-Christophe Drouin <[email protected]>
@jcdrouin21 jcdrouin21 merged commit 42b7940 into main Oct 9, 2024
12 checks passed
@jcdrouin21 jcdrouin21 deleted the feature-296629-Faire-la-page-de-notifications branch October 9, 2024 14:58
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