@@ -27,7 +27,7 @@ import { EntityList } from "../EntityList";
27
27
import {
28
28
ExplainPermissioned ,
29
29
ExplainActive ,
30
- ExplainInactive ,
30
+ ExplainRanking ,
31
31
} from "../Explanations" ;
32
32
import { NoResults } from "../NoResults" ;
33
33
import { PublisherTag } from "../PublisherTag" ;
@@ -49,7 +49,6 @@ type Publisher = {
49
49
ranking : number ;
50
50
permissionedFeeds : number ;
51
51
activeFeeds : number ;
52
- inactiveFeeds : number ;
53
52
averageScore : number ;
54
53
} & (
55
54
| { name : string ; icon : ReactNode }
@@ -106,7 +105,6 @@ const ResolvedPublishersCard = ({
106
105
case "ranking" :
107
106
case "permissionedFeeds" :
108
107
case "activeFeeds" :
109
- case "inactiveFeeds" :
110
108
case "averageScore" : {
111
109
return (
112
110
( direction === "descending" ? - 1 : 1 ) * ( a [ column ] - b [ column ] )
@@ -139,7 +137,6 @@ const ResolvedPublishersCard = ({
139
137
averageScore,
140
138
permissionedFeeds,
141
139
activeFeeds,
142
- inactiveFeeds,
143
140
...publisher
144
141
} ) => ( {
145
142
id,
@@ -165,14 +162,6 @@ const ResolvedPublishersCard = ({
165
162
{ activeFeeds }
166
163
</ Link >
167
164
) ,
168
- inactiveFeeds : (
169
- < Link
170
- href = { `/publishers/${ cluster } /${ id } /price-feeds?status=Inactive` }
171
- invert
172
- >
173
- { inactiveFeeds }
174
- </ Link >
175
- ) ,
176
165
averageScore : (
177
166
< Score score = { averageScore } width = { PUBLISHER_SCORE_WIDTH } />
178
167
) ,
@@ -236,7 +225,6 @@ type PublishersCardContentsProps = Pick<Props, "className" | "explainAverage"> &
236
225
| "name"
237
226
| "permissionedFeeds"
238
227
| "activeFeeds"
239
- | "inactiveFeeds"
240
228
| "averageScore"
241
229
> & { textValue : string } ) [ ] ;
242
230
}
@@ -314,7 +302,6 @@ const PublishersCardContents = ({
314
302
{ id : "averageScore" , name : "Average Score" } ,
315
303
{ id : "permissionedFeeds" , name : "Permissioned Feeds" } ,
316
304
{ id : "activeFeeds" , name : "Active Feeds" } ,
317
- { id : "inactiveFeeds" , name : "Inactive Feeds" } ,
318
305
] }
319
306
isLoading = { props . isLoading }
320
307
rows = {
@@ -340,7 +327,12 @@ const PublishersCardContents = ({
340
327
columns = { [
341
328
{
342
329
id : "ranking" ,
343
- name : "RANKING" ,
330
+ name : (
331
+ < >
332
+ RANKING
333
+ < ExplainRanking />
334
+ </ >
335
+ ) ,
344
336
width : 25 ,
345
337
loadingSkeleton : < Ranking isLoading /> ,
346
338
allowsSorting : true ,
@@ -357,7 +349,7 @@ const PublishersCardContents = ({
357
349
id : "permissionedFeeds" ,
358
350
name : (
359
351
< >
360
- FEEDS
352
+ PERMISSIONED
361
353
< ExplainPermissioned />
362
354
</ >
363
355
) ,
@@ -374,19 +366,7 @@ const PublishersCardContents = ({
374
366
</ >
375
367
) ,
376
368
alignment : "center" ,
377
- width : 30 ,
378
- allowsSorting : true ,
379
- } ,
380
- {
381
- id : "inactiveFeeds" ,
382
- name : (
383
- < >
384
- INACTIVE
385
- < ExplainInactive />
386
- </ >
387
- ) ,
388
- alignment : "center" ,
389
- width : 30 ,
369
+ width : 24 ,
390
370
allowsSorting : true ,
391
371
} ,
392
372
{
0 commit comments