@@ -109,6 +109,8 @@ export const FeedList = ({
109
109
const [ showOnlyMVRFeeds , setShowOnlyMVRFeeds ] = useState ( false )
110
110
const [ showOnlyMVRFeedsTestnet , setShowOnlyMVRFeedsTestnet ] = useState ( false )
111
111
const [ showOnlySVR , setShowOnlySVR ] = useState ( false )
112
+ const [ showOnlyDEXFeeds , setShowOnlyDEXFeeds ] = useState ( false )
113
+ const [ showOnlyDEXFeedsTestnet , setShowOnlyDEXFeedsTestnet ] = useState ( false )
112
114
const paginate = ( pageNumber ) => setCurrentPage ( String ( pageNumber ) )
113
115
const addrPerPage = 8
114
116
const lastAddr = Number ( currentPage ) * addrPerPage
@@ -439,6 +441,20 @@ export const FeedList = ({
439
441
</ button >
440
442
) }
441
443
</ form >
444
+ < div className = { feedList . checkboxContainer } >
445
+ < label className = { feedList . detailsLabel } >
446
+ < input
447
+ type = "checkbox"
448
+ style = "width:15px;height:15px;display:inline;margin-right:8px;"
449
+ checked = { showOnlyDEXFeeds }
450
+ onChange = { ( ) => {
451
+ setShowOnlyDEXFeeds ( ( old ) => ! old )
452
+ setCurrentPage ( "1" ) // Reset to first page when filter changes
453
+ } }
454
+ />
455
+ Show DEX State Price streams
456
+ </ label >
457
+ </ div >
442
458
</ div >
443
459
{ mainnetFeeds . length ? (
444
460
mainnetFeeds . map ( ( network ) => (
@@ -454,6 +470,7 @@ export const FeedList = ({
454
470
showExtraDetails = { showExtraDetails }
455
471
showOnlySVR = { showOnlySVR }
456
472
showOnlyMVRFeeds = { showOnlyMVRFeeds }
473
+ showOnlyDEXFeeds = { showOnlyDEXFeeds }
457
474
dataFeedType = { dataFeedType }
458
475
ecosystem = { ecosystem }
459
476
lastAddr = { lastAddr }
@@ -503,6 +520,20 @@ export const FeedList = ({
503
520
</ button >
504
521
) }
505
522
</ form >
523
+ < div className = { feedList . checkboxContainer } >
524
+ < label className = { feedList . detailsLabel } >
525
+ < input
526
+ type = "checkbox"
527
+ style = "width:15px;height:15px;display:inline;margin-right:8px;"
528
+ checked = { showOnlyDEXFeedsTestnet }
529
+ onChange = { ( ) => {
530
+ setShowOnlyDEXFeedsTestnet ( ( old ) => ! old )
531
+ setTestnetCurrentPage ( "1" ) // Reset to first page when filter changes
532
+ } }
533
+ />
534
+ Show DEX State Price streams
535
+ </ label >
536
+ </ div >
506
537
</ div >
507
538
{ testnetFeeds . length ? (
508
539
testnetFeeds . map ( ( network ) => (
@@ -519,6 +550,7 @@ export const FeedList = ({
519
550
: [ ]
520
551
}
521
552
showOnlyMVRFeeds = { showOnlyMVRFeedsTestnet }
553
+ showOnlyDEXFeeds = { showOnlyDEXFeedsTestnet }
522
554
firstAddr = { testnetFirstAddr }
523
555
lastAddr = { testnetLastAddr }
524
556
addrPerPage = { testnetAddrPerPage }
@@ -805,6 +837,7 @@ export const FeedList = ({
805
837
showExtraDetails = { showExtraDetails }
806
838
showOnlySVR = { showOnlySVR }
807
839
showOnlyMVRFeeds = { showOnlyMVRFeeds }
840
+ showOnlyDEXFeeds = { false }
808
841
dataFeedType = { dataFeedType }
809
842
ecosystem = { ecosystem }
810
843
lastAddr = { lastAddr }
0 commit comments