@@ -598,10 +598,10 @@ defmodule AlgoraWeb.Org.JobLive do
598598
599599 defp assign_applicants ( socket ) do
600600 all_applicants = Jobs . list_job_applications ( socket . assigns . job )
601-
601+
602602 # Get total matches count first (efficient query)
603603 total_matches_count = Settings . get_job_matches_count ( socket . assigns . job )
604-
604+
605605 # Load only the matches we need to display (limit to 9)
606606 limited_matches = Settings . get_job_matches ( socket . assigns . job , limit: 9 )
607607
@@ -623,10 +623,8 @@ defmodule AlgoraWeb.Org.JobLive do
623623
624624 # Trigger async sync for missing heatmaps if connected
625625 if connected? ( socket ) do
626- missing_heatmap_users =
627- developers
628- |> Enum . reject ( & Map . has_key? ( heatmaps_map , & 1 . id ) )
629-
626+ missing_heatmap_users = Enum . reject ( developers , & Map . has_key? ( heatmaps_map , & 1 . id ) )
627+
630628 if length ( missing_heatmap_users ) > 0 do
631629 enqueue_heatmap_sync ( missing_heatmap_users )
632630 end
@@ -954,6 +952,8 @@ defmodule AlgoraWeb.Org.JobLive do
954952 </ . button >
955953 </ div >
956954
955+ < . heatmap_display :if = { @ heatmap_data } heatmap_data = { @ heatmap_data } />
956+
957957 < div :if = { @ contributions != [ ] } class = "mt-4 " >
958958 < p class = "text-xs text-muted-foreground uppercase font-semibold " >
959959 Top contributions
@@ -1005,8 +1005,6 @@ defmodule AlgoraWeb.Org.JobLive do
10051005 <% end %>
10061006 </ div >
10071007 </ div >
1008-
1009- < . heatmap_display :if = { @ heatmap_data && not @ anonymized } heatmap_data = { @ heatmap_data } />
10101008 </ div >
10111009 </ div >
10121010 """
0 commit comments