diff --git a/react/src/DealDetail.js b/react/src/DealDetail.js index 5944d72c6..d7d84f9ae 100644 --- a/react/src/DealDetail.js +++ b/react/src/DealDetail.js @@ -500,74 +500,74 @@ export function DealStatusInfo(props) { The deal can be in one of the following states:

Transfer Queued
-

+ The storage deal proposal has been accepted, and Boost is about to start the data transfer. -

+

Awaiting Offline Data Import
-

+ The client has made an offline deal proposal, and Boost is waiting for the Storage Provider operator to import the deal data. -

+

- Transferring -

+ Transferring
+ The data for the deal is transferring. -

+

- Transfer Complete -

+ Transfer Complete
+ The data transfer is complete and Boost is verifying the data matches commp. -

+

- Ready to Publish -

+ Ready to Publish
+ The deal is in the batch publish queue, ready to be published. -

+

- Awaiting Publish Confirmation -

+ Awaiting Publish Confirmation
+ Boost sent a publish deal message for the deal and is waiting for on-chain confirmation. -

+

- Adding to Sector -

+ Adding to Sector
+ Boost is handing the deal off to the lotus-miner sealing subsystem to be added to a sector. -

+

- Indexing -

+ Indexing
+ Boost is indexing the deal in the Local Index Directory(LID) and will be announcing the deal to the network so that clients know where to retrieve it from. -

+

- IndexedAndAnnounced -

+ IndexedAndAnnounced
+ The deal has been indexed locally and announced to the network indexers. -

+

- Complete -

+ Complete
+ The deal has reached its duration and expired. -

+

- Cancelled -

+ Cancelled
+ The deal was cancelled. -

+

diff --git a/react/src/Deals.js b/react/src/Deals.js index a52d22037..cc94c6ad0 100644 --- a/react/src/Deals.js +++ b/react/src/Deals.js @@ -365,30 +365,15 @@ function DealRowAnnounceError({deal}) { }) return function () { - warningImg.removeEventListener("mouseover") - messageBox.removeEventListener("mouseleave") + warningImg.removeEventListener("mouseover", this) + messageBox.removeEventListener("mouseleave", this) } }) - const {data, loading, error} = useQuery(SectorStatusQuery, { - pollInterval: 10000, - fetchPolicy: 'network-only', - variables: { - sectorNumber: deal.Sector.ID - } - }) - - if (error) { - return Sealer: {error.message} - } - if (loading) { - return null - } - return
- Sealer: {data.sectorStatus.State} + Error: IndexingAndAnnouncing @@ -471,22 +456,22 @@ export function SealingStatusInfo(props) { The deal can be in one of the following sealing states:

To be Sealed
-

+ The storage deal is being processed by Boost before being handed off to the sealer. -

+

Sealer:
-

+ The deal has been handed off to the sealing subsystem and is being sealed. -

+

Complete
-

+ The sector containing the deal has expired or the deal errored out. -

+

@@ -498,15 +483,15 @@ export function SizeInfo(props) { Size column displays different sizes based on the deal type

Online Deals
-

+ Transfer Size or the car size specified in the deal proposal -

+

Offline
-

+ Piece size specified in the deal proposal -

+