-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BO - signalement] Créer la modale d'upload de photos/documents #2298
Conversation
assets/controllers/back_signalement_view/back_signalement_view.js
Outdated
Show resolved
Hide resolved
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.
@hmeneuvrier pour te répondre point par point :
|
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.
A voir avec @mathildepoulpux
J’enlèverai le bouton valider, ça peut laisser penser que les fichiers n'ont pas été envoyé.
Quant à la sauvegarde des désordres elle se ferait instantanément (à la sélection) ça va sans doute demander à ce qu'on envoi un feedback pour dire le désordre est bien sauvegardé
J'ai pas compris de quoi on parle 😁 |
Notes faisant suite à la discussion en stand up :
|
|
Point dev UX :
|
En principe tout fonctionne |
Quand je ferme la modale sans Valider après avoir ajouté des photos, les photos sont qwuand même ajoutées au signalement (idem pour les documents) |
} | ||
let div = document.createElement('div') | ||
div.classList.add('fr-alert', 'fr-alert--error', 'fr-alert--sm') | ||
div.innerHTML = `Le type du fichier ${file.name} n'est pas accepté (acceptés : ".jpg", ".png", ".gif")`; |
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.
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.
Comme tout dépend de la taille de l'écran j'ai plutôt fait en sorte que le contenu de la modale remonte
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.
je ne vois pas de différence avec avant 🤔
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.
J'ai mis le message au dessus
C'est inversé |
OK |
OK maintenant |
assets/controllers/back_signalement_view/back_signalement_view.js
Outdated
Show resolved
Hide resolved
c1e8cc3
to
fdf821e
Compare
|
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.
Lecture et test OK
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.
Relecture et test OK
Ticket
#2200
Description
FEATURE_DOCUMENTS_ENABLE
FEATURE_DOCUMENTS_ENABLE
Pré-requis
make load-migrations
make npm-build
Tests
FEATURE_DOCUMENTS_ENABLE
FEATURE_DOCUMENTS_ENABLE