Closed Sven-TBD closed 2 months ago
BTW,A Not Found Page is also needed when there is no result while searching a String without click on the dropbox.
How is it going @PainterPuppets
https://github.com/nervosnetwork/ckb-explorer/pull/1790
# single_query
GET /api/v1/suggest_queries?q=?
# aggregate_query
GET /api/v1/suggest_queries?q=?&filter_by=0
@PainterPuppets How‘s it going with this feature
@PainterPuppets How‘s it going with this feature
Just noticed that the backend is ready, I'll start working on this issue today and expect it to take 2 days
@PainterPuppets How‘s it going with this feature
Just noticed that the backend is ready, I'll start working on this issue today and expect it to take 2 days
How is it going
nervosnetwork/ckb-explorer#1790
# single_query GET /api/v1/suggest_queries?q=? # aggregate_query GET /api/v1/suggest_queries?q=?&filter_by=0
Hi @rabbitz
I noticed that the search currently returns token_collection
type data, but there's no typehash
field in the return data, so there's no way to make a jump
Do we have any plans to add the this fields?
@PainterPuppets
https://github.com/nervosnetwork/ckb-explorer/pull/1838
Field sn
was added to token collection response.
@PainterPuppets
nervosnetwork/ckb-explorer#1838
Field
sn
was added to token collection response.
Accessing https://testnet-api.explorer.nervos.org/api/v1/suggest_queries?q=Spore&filter_by=0 doesn't seem to have the sn
field returned, which url should I use?
@PainterPuppets nervosnetwork/ckb-explorer#1838 Field
sn
was added to token collection response.Accessing testnet-api.explorer.nervos.org/api/v1/suggest_queries?q=Spore&filter_by=0 doesn't seem to have the
sn
field returned, which url should I use?
Please check this @rabbitz
Hi @rabbitz
There are some search keywords that do not seem to have any results at the moment, like:
Btc address: tb1qwq82nch2wc0jtymavfv2cxsju9trghn0ykhqx8
BTC Tx :4ea970151577aff9f134bd50ce666d304c979f8d204c4fa8f4cd0a1bf7c3bbd1
.bit did: test.bit
Can you check it out for me?
Hi @rabbitz There are some search keywords that do not seem to have any results at the moment, like:
Btc address: tb1qwq82nch2wc0jtymavfv2cxsju9trghn0ykhqx8
BTC Tx :4ea970151577aff9f134bd50ce666d304c979f8d204c4fa8f4cd0a1bf7c3bbd1
.bit did: test.bit
Can you check it out for me?
.bit
was not supported in the backend, so it's calling .bit indexer directly at https://github.com/nervosnetwork/ckb-explorer-frontend/blob/develop/src/components/Search/index.tsx#L218-L227
Verified.
Search box will show all of result by different types together, and the "by Name" and "by ID" are no longer a necessary option but just a location where the specific type is.