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

Add final page fail #73

Merged
merged 4 commits into from
Jul 5, 2023
Merged

Add final page fail #73

merged 4 commits into from
Jul 5, 2023

Conversation

fsoussand
Copy link
Collaborator

@fsoussand fsoussand commented Jul 3, 2023

What is this pull request doing ?

This PR regroups the creation of the egg page and the final page in case of failure
#41
#50
#62

Screenshot

Capture d’écran 2023-07-04 à 11 31 14 Capture d’écran 2023-07-03 à 15 08 26

How is it done ?

How to test ?

Go to https://deploy-preview-73--a11yinyerface.netlify.app/egg and add one egg to your cart
Go to https://deploy-preview-73--a11yinyerface.netlify.app/final : you should see the failure page indicating you that you have no flour or apple
Go to https://deploy-preview-73--a11yinyerface.netlify.app/fruits and to https://deploy-preview-73--a11yinyerface.netlify.app/flour, add the right ingredients and then check that the final page is the success one

@netlify
Copy link

netlify bot commented Jul 3, 2023

Deploy Preview for a11yinyerface ready!

Name Link
🔨 Latest commit e3a81bf
🔍 Latest deploy log https://app.netlify.com/sites/a11yinyerface/deploys/64a51beb3b120c00080e6224
😎 Deploy Preview https://deploy-preview-73--a11yinyerface.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@RobinCar
Copy link
Collaborator

RobinCar commented Jul 4, 2023

Sur la page oeufs on ne devrait pas avoir les noms des ingrédients ?


const isCartValid = missingCartTitles.length == 0;

const textSuccess = (
Copy link
Collaborator

Choose a reason for hiding this comment

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

C'est bizarre de l'appeler textSuccess alors que c'est tout un composanst avec un logo aussi non ? On peut peut-être l'exporter dans un composant SuccessComponent, t'en pense quoi ?

</Container>
);

const textFailure = (
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here

@fsoussand fsoussand force-pushed the add-final-page-fail branch 3 times, most recently from 38812a4 to ff9196e Compare July 5, 2023 07:13
@fsoussand fsoussand force-pushed the add-final-page-fail branch from 2affabc to e3a81bf Compare July 5, 2023 07:29
@fsoussand fsoussand merged commit c5c6b81 into main Jul 5, 2023
@fsoussand fsoussand deleted the add-final-page-fail branch July 5, 2023 08:18
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