-
Notifications
You must be signed in to change notification settings - Fork 7
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
Onglet satisfaction #3463
Onglet satisfaction #3463
Conversation
44c6ec3
to
ca9a61b
Compare
1beeaec
to
41d50ff
Compare
@LucienMLD tu pourras faire ta revue avec le cache activé ? J'ai pas pensé à le faire de mon côté |
41d50ff
to
07c72df
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.
Il manque une traduction dans le message d'ActiveAdmin
Tous les utilisateurs vont se retrouver avec un onglet "Retours" et une bonne partie n'aura sans doute jamais rien dans cet onglet. Alors qu'il est mentionné dans le message que les entreprises peuvent donner leur avis avec quand le besoins est cloturé avec aide. Ca va peut-être paraitre bizarre pour certains qu'ils n'ont jamais rien alors qu'ils clôturent bien avec aide.
On sait pas trop à quoi correspond la date en haut à gauche des cartes, surtout s'il y a de l'écart avec le besoins. Peut être indiqué "Partagé le .." ?
- content_for :menu, render('menu', collections_count: @satisfaction_collections_count) | ||
- content_for :callout, render('callout') | ||
|
||
- if @needs.to_a.size == 0 |
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 sert à quoi de mettre .size
?
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.
il me semble que c'est + rapide / déjà chargé en mémoire, un truc du genre. On avait commencé à le rajouter avec Julien, non ?
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 me suis trompé, c'etait pourquoi mettre to_a
?
spec/controllers/conseiller/shared_satisfactions_controller_spec.rb
Outdated
Show resolved
Hide resolved
Tu veux revoir la revue de la revue, @LucienMLD ? |
Deuxième revu avec le cache activé ok |
86091ca
to
74838a2
Compare
Les cases non cochées : j'avais listé tous les tests possibles, mais me suis concentrée sur ceux qui, à mon sens, apportaient vraiment de la valeur |
close #3451
Tests
company_satisfaction.rb
expert.rb
need.rb
shared_satisfaction.rb
user.rb
shared_satisfactions_controller.rb
Context :
- un besoin unseen user A
- 2 besoins seen user A
- 1 besoin unseen user B