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

Sollicitation : trouver son siret par le nom de son entreprise #1376

Merged
merged 1 commit into from Nov 16, 2020

Conversation

clairezed
Copy link
Collaborator

@clairezed clairezed commented Nov 4, 2020


fixes #1247

Copy link
Collaborator

@n-b n-b left a comment

Choose a reason for hiding this comment

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

Ça m’a l’air cool à part ça. J’ai l’impression qu’il se passe des trucs bizarres quand on lance une recherche avec un seul caractère, une requête est faite mais on n’affiche rien. Peut-être qu’en plus du debounce, on devrait de toute façon éviter de faire une requête s’il y a moins de trois caractères.

app/assets/javascripts/pages/autocomplete.js Outdated Show resolved Hide resolved
}

function isSiretSearch(str) {
return str.match(/^\d+$/g);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comme on disait ce matin, on veut aussi tolérer les espaces dans le siret

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oui, c'est bien pris en compte à présent

vendor/assets/stylesheets/autocomplete.css Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
@LucienMLD
Copy link
Collaborator

Tu n'affiches pas l'adresse de l'entreprise finalement ?

@clairezed
Copy link
Collaborator Author

... vous êtes en train de regarder un ancien commit...

@clairezed
Copy link
Collaborator Author

Je comprends pas comment je peux avoir des conflits avec ma propre branche, bon sang

Copy link
Collaborator

@LucienMLD LucienMLD left a comment

Choose a reason for hiding this comment

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

Quand je fais inspecter sur le champ du siret j'ai ce span qui a une description en anglais

Capture d’écran 2020-11-16 à 11 01 51

.autocomplete__hint
-webkit-appearance: none
border: 1px solid #adb9c9
border: 1px solid var(--theme-border)
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 pas lié uniquement à cette PR mais je me demande parfois pourquoi on s'ennuie à mettre des variables qui ne sont pas reconnu par certains navigateurs que l'on doit doubler avec un code couleur, en cas de changement de couleur on doit repasser partout quand même.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

C'est vrai. C'est en attente que tous les navigateurs reconnaissent les variables css, quoi. Y'a pas un polyfil qui existerait ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@clairezed clairezed merged commit 3f10f18 into master Nov 16, 2020
@clairezed clairezed deleted the find_siret_with_name branch November 16, 2020 10:06
@clairezed
Copy link
Collaborator Author

Quand je fais inspecter sur le champ du siret j'ai ce span qui a une description en anglais

Capture d’écran 2020-11-16 à 11 01 51

ah purée, bien vu

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.

Permettre de chercher son entreprise par nom à la sollicitation
3 participants