|
28 | 28 | <label for="checkbox-all" class="sr-only">checkbox</label> |
29 | 29 | </div> |
30 | 30 | </th> |
31 | | - <th scope="col" class="px-4 py-2 w-2/3">Message</th> |
| 31 | + <th scope="col" class="px-4 py-2 w-2/5">Message</th> |
32 | 32 | <th scope="col" class="px-4 py-2 w-1/6">Last seen</th> |
33 | | - <th scope="col" class="px-4 py-2 w-1/6">Status</th> |
| 33 | + <th scope="col" class="px-4 py-2 w-1/6">First seen</th> |
| 34 | + <th scope="col" class="px-4 py-2 w-1/6">Count</th> |
34 | 35 | </tr> |
35 | 36 | </thead> |
36 | 37 | </table> |
|
65 | 66 | <label for="checkbox-all" class="sr-only">checkbox</label> |
66 | 67 | </div> |
67 | 68 | </th> |
68 | | - <th scope="col" class="px-4 py-2 w-2/3">Message</th> |
| 69 | + <th scope="col" class="px-4 py-2 w-2/5">Message</th> |
69 | 70 | <th scope="col" class="px-4 py-2 w-1/6">Last seen</th> |
70 | | - <th scope="col" class="px-4 py-2 w-1/6">Status</th> |
| 71 | + <th scope="col" class="px-4 py-2 w-1/6">First seen</th> |
| 72 | + <th scope="col" class="px-4 py-2 w-1/6">Count</th> |
71 | 73 | </tr> |
72 | 74 | </thead> |
73 | 75 | <tbody> |
|
83 | 85 | <td class="px-4 py-2 font-medium text-gray-900 truncate"> |
84 | 86 | <a href="@errorGroup.ApplicationUrl" class="font-medium text-blue-600 hover:underline">@errorGroup.Message</a> |
85 | 87 | </td> |
86 | | - <td class="px-4 py-2 whitespace-nowrap text-red-600"> |
| 88 | + <td class="px-4 py-2 whitespace-nowrap text-gray-600"> |
87 | 89 | @{ |
88 | 90 | var lastSeenText = errorGroup.LastOccurredAt.ToHumanReadableTimeAgo(); |
89 | 91 | } |
90 | 92 | @lastSeenText |
91 | 93 | </td> |
92 | | - <td class="px-4 py-2 whitespace-nowrap"> |
93 | | - @(errorGroup.ResolvedIn != null ? "Resolved" : "Active") |
| 94 | + <td class="px-4 py-2 whitespace-nowrap text-gray-600"> |
| 95 | + @{ |
| 96 | + var firstSeenText = errorGroup.CreatedAt.ToHumanReadableTimeAgo(); |
| 97 | + } |
| 98 | + @firstSeenText |
| 99 | + </td> |
| 100 | + <td class="px-4 py-2 whitespace-nowrap text-gray-700 font-semibold" |
| 101 | + hx-get="/crashreporting/error-group-count" |
| 102 | + hx-vals='{"applicationIdentifier": "@Context.Request.Query["applicationIdentifier"]", "errorGroupId": "@errorGroup.Identifier", "startTime": "@Context.Request.Query["startTime"]", "endTime": "@Context.Request.Query["endTime"]"}' |
| 103 | + hx-trigger="intersect once" |
| 104 | + hx-target="#count-@errorGroup.Identifier" |
| 105 | + hx-indicator=".no-global-indicator"> |
| 106 | + <span id="count-@errorGroup.Identifier" class="text-gray-400 animate-pulse">–</span> |
94 | 107 | </td> |
95 | 108 | </tr> |
96 | 109 | } |
|
0 commit comments