teloscan icon indicating copy to clipboard operation
teloscan copied to clipboard

#780 | Search bar (part 1) - create basic search UI with address support

Open Viterbo opened this issue 7 months ago • 5 comments

Fixes #780

Draft: this PR is completely included in the second part: https://github.com/telosnetwork/teloscan/pull/800

Description

This PR implements a functional search UI that supports address searches. The search bar is now displaying correct results for all categories, but only addresses and transactions are correctly displayed.

Note: Error handling and adaptation to small resolutions are still missing.

Test Scenarios

  • go to home page
  • test the following search queries:
    • 0x0190DaB99276dC42Cf5b7340749B59c7c49A840C
      • 1 result
    • 0x0190DaB99276dC42Cf5b7340749B59c7c49A840w
      • no results
    • 0x0190D
      • multiple category results
      • resize the browser to a small height to be able to test auto-scroll by pressing the category tabs
      • clicking on any of the results should take you to the correct page
  • go to bloks page
    • repeat the tests getting the same results
  • go to testnet deployment
  • Search for 0x0190DaB99276dC42Cf5b7340749B59c7c49A840C
    • this time you should get no results

Viterbo avatar Jul 23 '24 01:07 Viterbo