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

🎨🔥 change la recherche d'entreprise #705

Merged
merged 3 commits into from
Oct 7, 2019
Merged

Conversation

johangirod
Copy link
Contributor

@johangirod johangirod commented Oct 1, 2019

  • On utilise un nouveau composant qui se base sur la dernière version de l'api SIRENE
  • On sépare les données entre la simulation des cotisations et la création d'entreprise

chrome-capture (2)

- On utilise un nouveau composant qui se base sur la dernière version de l'api SIRENE
- On sépare les données entre la simulation des cotisations et la création d'entreprise
- On gagne des lignes !
@johangirod johangirod force-pushed the nouvelle-recherche branch 2 times, most recently from f05ae98 to a967a8f Compare October 1, 2019 16:51
@mquandalle
Copy link
Contributor

Le bouton « J'ai déjà déclaré mon entreprise » ne fonctionne pas sur https://deploy-preview-705--syso.netlify.com/entreprise/statut-juridique

@johangirod
Copy link
Contributor Author

Je le supprime, il n'a pas de logique de l'afficher à ce moment là.

@johangirod johangirod merged commit 08a1dc9 into master Oct 7, 2019
@mquandalle
Copy link
Contributor

J'ai oublié de te faire le retour suivant :

image

Ce numéro seul n'est pas très clair, ajouter un label "SIREN" ?

mquandalle added a commit that referenced this pull request Oct 7, 2019
type: 'EXISTING_COMPANY::SET_SIREN',
siren
})
const companyDetails = await fetchCompanyDetails(siren)
Copy link
Contributor

Choose a reason for hiding this comment

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

Il est possible que companyDetails soit null ce qui fait planter le site.

https://sentry.data.gouv.fr/betagouvfr/mon-entreprise/issues/1862838/

Une solution triviale c'est de rajouter un if (companyDetails === null) return mais il y a peut-être mieux pour gérer l'ensemble des requêtes réseau ?

@mquandalle mquandalle mentioned this pull request Nov 12, 2019
@johangirod johangirod deleted the nouvelle-recherche branch January 27, 2020 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants