-
Notifications
You must be signed in to change notification settings - Fork 73
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
[DONE] Feature : Add favorite videos #820
[DONE] Feature : Add favorite videos #820
Conversation
…ttps://github.com/SebastienCozeDev/Esup-Pod into SebastienCozeDev_AymericJak/feature_favorite_videos
…ttps://github.com/SebastienCozeDev/Esup-Pod into SebastienCozeDev_AymericJak/feature_favorite_videos
Je viens de régler ce soucis. |
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.
ok pour moi, merci !
…ttps://github.com/SebastienCozeDev/Esup-Pod into SebastienCozeDev_AymericJak/feature_favorite_videos
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 serai d'avis de mettre également le bouton "retirer des favoris" sur la liste des vidéos.
- autres remarques ci-dessous :
…ttps://github.com/SebastienCozeDev/Esup-Pod into SebastienCozeDev_AymericJak/feature_favorite_videos
…ttps://github.com/SebastienCozeDev/Esup-Pod into SebastienCozeDev_AymericJak/feature_favorite_videos
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.
Bravo pour le cadre, c'est bien visuel, on comprend mieux où va se placer la vidéo qu'on réorganise !
Plus que quelques petites corrections et ca devrait le faire ;)
|
||
.shake-effect:active { | ||
cursor: grabbing; | ||
} |
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.
:active
ne fonctionne pas pour détecter un élément en cours de déplacement.
Je pense qu'il faut ajouter via JS une classe CSS à l'objet quand on commence le drag, et le retirer quand c'est terminé.
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 soucis avec ça, lorsque l'on maintient la video, le cursor: grabbing
fonctionne parfaitement.
Puis le cursor se met bien à jour en fonction de si :
- nous sommes sur une autre video : grabbing avec un petit plus.
- nous ne sommes pas sur une vidéo : grabbing normal
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.
En effet, sur Firefox (113) le curseur "grabbing" s'affiche bien, par contre sur Safari (16.4) ce n'est pas le cas.
Sur chrome (Version 113), le curseur "grabbing" s'affiche furtivement, et est rapidement remplacé par le curseur "+", sans aucun grab ni grabbing (ca donne l'impression qu'on va ajouter la vidéo, voir la dupliquer)
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'envoie une copie d'écran sur Rocket ;)
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.
Ah ok, j'étais sur chrome [Ubuntu].
J'ai pas testé sur Safari :(
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.
Normalement, c'est fix ;)
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.
Alors je viens de tester et :
- Sur Safari : pas de changement, grab au survol puis curseur classique pendant le drag.
- Sur Firefox : le curseur reste toujours en mode "grab", qu'on survole ou qu'on drag.
- Sur Chrome : on a simplement perdu le "grabbing", le reste n'a pas changé :/
USE_STATS_VIEW
).