Skip to content

Conversation

@ameliedefrance
Copy link

@ameliedefrance ameliedefrance commented Apr 16, 2024

Screenshot 2024-04-16 at 16 06 42
  • Replace restaurants with food options
  • Rename components
  • Update theme & components styling

@ameliedefrance ameliedefrance changed the title Change restaurants for food options and replace MUI components Replace restaurants with food options and update components styles Apr 16, 2024
@ameliedefrance ameliedefrance marked this pull request as ready for review April 16, 2024 15:11
@LedruRomane LedruRomane force-pushed the refacto-vite-react-ts branch from 4a75272 to b1dde0f Compare May 16, 2024 14:13
Base automatically changed from refacto-vite-react-ts to main May 16, 2024 14:15
Copy link
Contributor

@LedruRomane LedruRomane left a comment

Choose a reason for hiding this comment

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

Great 👍

@@ -1,20 +1,17 @@
import '@assets/app.scss'
import AppLayout from '@app/layouts/AppLayout.tsx';
import AppLayout from '@app/layouts/app-layout.tsx';
Copy link
Contributor

Choose a reason for hiding this comment

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

C'est une nouvelle pratique d'ajouter des tirets et retirer les majuscules ? :o Je découvre

Copy link
Author

@ameliedefrance ameliedefrance May 17, 2024

Choose a reason for hiding this comment

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

Ah bah alors aucune idée, c'est comme ça sur Rigby et je sais pas si ça vient de nos pratiques ou des leurs ! Là bas les noms de fichiers sont en kebab case et les composants en pascal case, j'ai fait pareil 🙈

Copy link
Author

Choose a reason for hiding this comment

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

J'invoque @ogizanagi 🧞

Copy link
Member

@ogizanagi ogizanagi May 17, 2024

Choose a reason for hiding this comment

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

Ah non, ce sont des pratiques propres à Rigby (une préférence de Guillaume par rapport à des soucis de casse sur Windows qu'il a pu rencontrer). On s'est alignés sur le projet, mais je suis pour conserver du PascalCase pour les composants et leurs noms de fichier chez nous 😃

(le kebab-case peut-être conservé mais plutôt pour des dossiers, pas des fichiers)

Copy link
Contributor

Choose a reason for hiding this comment

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

Team Pascal et pas kebab, c'est noté 🌮

import { Button, Card, CardActions, CardContent, CardMedia, Typography } from '@mui/material'
import ToggleSwitch from '@app/components/UI/toggle-switch.tsx'

// TODO: Unused component, keep for future version ?
Copy link
Contributor

Choose a reason for hiding this comment

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

Oui, au cas où... M'enfin ça partira dans l'été si on n'en a pas l'utilité 👍

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