File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 361361 --error-suggestion : # ffabab ;
362362 --affected : # ffabab ;
363363 --unaffected : # bfb ;
364+ --highlighted : # fcf9c4 ;
364365}
365366
366367body {
@@ -489,6 +490,18 @@ article .suggestion {
489490 flex-grow : 1 ;
490491}
491492
493+ @keyframes suggestion-quick-highlight {
494+ 0% {
495+ background : var (--highlighted );
496+ }
497+ 100% {
498+ }
499+ }
500+
501+ article .suggestion : target {
502+ animation : suggestion-quick-highlight 3s ;
503+ }
504+
492505article .row1 {
493506 display : flex;
494507 flex-direction : row;
Original file line number Diff line number Diff line change 11{% load viewutils %}
22
3- < article class ="suggestion " hx-target ="this ">
3+ < article class ="suggestion " hx-target ="this " id =" suggestion-{{ cached_suggestion.pk }} " >
44 < form
55 method ="post "
66 action =""
Original file line number Diff line number Diff line change @@ -684,9 +684,7 @@ def suggestion_view_context() -> dict:
684684 "title" : cached_suggestion .payload ["title" ],
685685 "status" : suggestion .status ,
686686 "old_status" : self .status_filter ,
687- "changed_suggestion_link" : self .status_route_dict [
688- suggestion .status
689- ],
687+ "changed_suggestion_link" : f"{ self .status_route_dict [suggestion .status ]} #suggestion-{ suggestion .pk } " ,
690688 "gh_issue_link" : gh_issue_link ,
691689 "csrf_token" : get_token (request ),
692690 },
You can’t perform that action at this time.
0 commit comments