forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[explorer] Reinstate test suite, fix latency issues and split view/fe…
…tch logic (MystenLabs#1070) * bring all changes to explorer from explorer-rest branch * remove commented out code * remove unused vars in rpc.ts * remove more dead code in rpc * fix sui addr regex in rpc lib * fix indentation for isValidHttpUrl * clarify TODOs in rpc * use unattached var in constructor * fix equality check with SUI_ADDRESS_LEN * remove unused type param U in modifyForDemo * make setShowDescription call a const ()=> * make setShowProperties call a const ()=> * make setShowConnectedEntities call a const ()=> * convert onClick functions from arrow func to function() * remove return statements from void functions * jsx-no-bind back to error * Delete rpc_basictest.ts * remove console.logs and dead code * remove console log in address result * remove utility file console logs * convert functions to useCallback() memoized versions * export isValidSuiIdBytes * restore copyright in head and footer.tsx * restore copyright to App.tsx * removes conversion scripts folder * resolves lint messages including error that hooks were conditionally called * prevents display of Address Results pages with no objects * remove SuiParentChildRef * remove modifyForDemo * add var for data.data.contents * move string utils into their own file * cleanup ObjectResult imports * split utility funcs file into search and mock * change searchUtil formatting * improve searchUtil TODO * remove duplicate hexToAscii function * move isValidHttpUrl to stringUtils * change unused map vars to _ * move rpc settings handling into separate file, rpc -> SuiRpcClient * fix imports with new rpc file * move isSuiAddressHex into file and fix length * SuiAddressBytes -> AddressBytes * remove isValidSuiIdBytes * SuiAddressHexStr -> AddressHexStr * fix rpc setting import * remove two unused rpc types * update MoveVec type, remove unused const * allow any[] type in moveCall * demo_types -> demoTypes * prettier changes * static transactions data displays only when tests are run * static address data displays only when tests are run * search says Please Wait while data is loading * objectId and category being objects have same effect thus rationalized * longtext clickable links say Please Wait while data is loading * split Object data extraction from view * standardize data fetching for object and address result * ObjectResult Types in one place * static object data displays only when tests are run * removes warnings from tests * creates placeholder for smart contract data * reapply naming convention from explorer-merge * reapply removal of rpc * resolves missing link when clicking through levels of ownership of monster * implements 'No Image was Found' rather than 'Please Wait' when image is missing * reintroduce refactoring from explorer-merge * comments out CSS code for smart contract display * updates README to provide guidance * reintroduce license details * removes dollar sign from README Co-authored-by: Stella Cannefax <[email protected]>
- Loading branch information
Showing
29 changed files
with
1,005 additions
and
755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.