-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor(lbac-2370): PERFORMANCE - global refactoring for performance enhancement #1763
Merged
+1,493
−1,581
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a606662
feat: update sentry ui & next config mjs
kevbarns ab36ce1
fix: remove double footer
antoinebigard d702987
chore: reduce package size
moroine dcc9e4b
Merge remote-tracking branch 'origin/feat-update-sentry-ui' into feat…
moroine 26698c5
chore: optimisation de la page d'accueil
moroine 6ad7894
chore: reduction taille du build
moroine 8f017f9
chore: upgrade react-notion-x
moroine 948a3cf
fix: dedupe
kevbarns 6dbb72f
chore: trim sentry build
moroine ada9fc8
fix: typecheck sentry
kevbarns 59c2999
fix: fetchTrainingDetail type
kevbarns b4f7d8c
fix: docker nextjs build
kevbarns de9db70
chore: optim
moroine 5c69dac
Merge remote-tracking branch 'origin/feat-update-sentry-ui' into feat…
moroine 49b813b
feat: suppression round
alanlr e89621c
feat: suppression lodash.round
alanlr 063f786
feat: remplacement lodash get par js
alanlr 8b2bc9a
feat: remplacement lodash find et sortBy par js
alanlr 88b4211
feat: remplacement lodash pick
alanlr 0bf7424
feat: remplacement lodash includes par js
alanlr 27564b7
feat: add loading skeleton
kevbarns 2d36856
feat: remove partialright
alanlr 6589833
Merge remote-tracking branch 'refs/remotes/origin/feat-update-sentry-…
alanlr 63c705a
feat: utilisation debounce made in lba
alanlr 231dd7e
feat: omit from lodash-es
alanlr a50191e
fix: layout shift
kevbarns c616ab1
feat: omit et kebabCase from lodash-es
alanlr 4a39174
Merge remote-tracking branch 'refs/remotes/origin/feat-update-sentry-…
alanlr 8b614c1
fix: formik onSubmit
kevbarns b3b8651
Merge branch 'feat-update-sentry-ui' of github.com:mission-apprentiss…
kevbarns 3649f12
fix: convert to lodash-es
kevbarns 37f5686
feat: last lodash
alanlr db04159
feat: optimize homepage load
kevbarns 5be4a57
Merge branch 'main' into feat-update-sentry-ui
kevbarns File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
server/src/http/controllers/etablissementRecruteur.controller.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
ui/components/HomeComponents/HomeCircleImageDecoration.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Box } from "@chakra-ui/react" | ||
import NextImage from "next/image" | ||
|
||
const circleImgCssProperties = { | ||
position: "absolute", | ||
zIndex: 0, | ||
} | ||
|
||
export function HomeCircleImageDecoration() { | ||
return ( | ||
<> | ||
<Box sx={circleImgCssProperties} top="60px" left="50px"> | ||
<NextImage src="/images/howtocircle1.png" alt="" width={70} height={70} /> | ||
</Box> | ||
<Box sx={circleImgCssProperties} bottom="-28px" left="444px"> | ||
<NextImage src="/images/howtocircle2.png" alt="" width={56} height={56} /> | ||
</Box> | ||
<Box sx={circleImgCssProperties} top="182px" right="512px"> | ||
<NextImage src="/images/howtocircle3.png" alt="" width={80} height={80} /> | ||
</Box> | ||
<Box sx={circleImgCssProperties} top="12px" right="312px"> | ||
<NextImage src="/images/howtocircle4.png" alt="" width={50} height={50} /> | ||
</Box> | ||
<Box sx={circleImgCssProperties} bottom="112px" right="-12px"> | ||
<NextImage src="/images/howtocircle5.png" alt="" width={89} height={77} /> | ||
</Box> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import { Box, Container, Grid, GridItem, Image, Show, Text } from "@chakra-ui/react" | ||
import React from "react" | ||
|
||
const HowTo = () => { | ||
return ( | ||
<> | ||
<Container variant="responsiveContainer"> | ||
<Grid templateColumns={{ base: "1fr", md: "repeat(3, 1fr)" }} gap={{ base: "10", md: "24" }}> | ||
<GridItem position="relative" width={{ base: "200px", md: "auto" }} mx="auto"> | ||
<Image src="/images/howto1.svg" alt="" zIndex="2" position="inherit" /> | ||
<Image fetchPriority="low" src="/images/howto1.svg" alt="" zIndex="2" position="inherit" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dépriorise le chargement de l'image (chargeait très en amont de pageload initial) |
||
<Show above="md"> | ||
<Image src="/images/howtoline1.svg" alt="" position="absolute" top="85px" left="-162px" /> | ||
<Image fetchPriority="low" src="/images/howtoline1.svg" alt="" position="absolute" top="85px" left="-162px" /> | ||
</Show> | ||
<Box> | ||
<Text as="h3" fontSize="1.25rem" fontWeight="500" mb="3"> | ||
|
@@ -19,9 +18,9 @@ const HowTo = () => { | |
</Box> | ||
</GridItem> | ||
<GridItem position="relative" width={{ base: "200px", md: "auto" }} mx="auto"> | ||
<Image src="/images/howto2.svg" alt="" zIndex="2" position="inherit" /> | ||
<Image fetchPriority="low" src="/images/howto2.svg" alt="" zIndex="2" position="inherit" /> | ||
<Show above="md"> | ||
<Image src="/images/howtoline2a.svg" alt="" position="absolute" top="47px" left="-208px" /> | ||
<Image fetchPriority="low" src="/images/howtoline2a.svg" alt="" position="absolute" top="47px" left="-208px" /> | ||
</Show> | ||
<Box> | ||
<Text as="h3" fontSize="1.25rem" fontWeight="500" mb="3"> | ||
|
@@ -31,10 +30,10 @@ const HowTo = () => { | |
</Box> | ||
</GridItem> | ||
<GridItem position="relative" width={{ base: "200px", md: "auto" }} mx="auto" mb="12"> | ||
<Image src="/images/howto3.svg" alt="" zIndex="2" position="inherit" /> | ||
<Image fetchPriority="low" src="/images/howto3.svg" alt="" zIndex="2" position="inherit" /> | ||
<Show above="md"> | ||
<Image src="/images/howtoline3a.svg" alt="" position="absolute" top="47px" left="-200px" /> | ||
<Image src="/images/howtoline3b.svg" alt="" position="absolute" top="47px" left="158px" /> | ||
<Image fetchPriority="low" src="/images/howtoline3a.svg" alt="" position="absolute" top="47px" left="-200px" /> | ||
<Image fetchPriority="low" src="/images/howtoline3b.svg" alt="" position="absolute" top="47px" left="158px" /> | ||
</Show> | ||
<Box> | ||
<Text as="h3" fontSize="1.25rem" fontWeight="500" mb="3"> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
le package execute du code dès son import. Le préciser ici évite qu'il soit tree-shacker