cartesi / explorer

Cartesi Blockchain Explorer
https://explorer.cartesi.io
Apache License 2.0
9 stars 12 forks source link

Issues with search input on blocks page #171

Open nevendyulgerov opened 16 hours ago

nevendyulgerov commented 16 hours ago

Which network is that happening?

Mainnet, Sepolia

Which Explorer is that Bug happening?

Staking

๐Ÿ™‚ Expected behavior

When in light mode, the search text is in color that is in good contrast with the background, for example gray.900.

๐Ÿซ  Actual behavior

When in light mode, the search text is the same color as the background and it's not visible.

๐Ÿงช Minimal test case

  1. Open the staking app
  2. Switch to light mode
  3. Go to /blocks page
  4. Type some text in the search input
nevendyulgerov commented 16 hours ago

Also, there's no debouncing for the search input so on each key stroke, we are doing a request for getting some blocks. Let's debounce it to reduce server load.

Additionally, I think we should also change the placeholder text for the search from Search to Search by producer to make it clear what type of text you need to insert in the search input.

nevendyulgerov commented 16 hours ago

Hi, @brunomenezes , please let me know if this was the issue you mentioned about the blocks search on our last call.