archethic-foundation / archethic-foundation/archethic-node

Explorer: some pages are doing twice the work

Open
#1,091 1 comment 0 reactions 0 assignees View on GitHub
bug UI
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

Example page: https://testnet.archethic.net/explorer/transaction/000004ED230762C7E08D4438221AC1850409F061BC552DBD8B25A678FEEA7FD235C4

when reloading this page, the handle_params is called twice, resulting in 2 `search_transaction`.

There is probably the same behaviour on multiple pages.

### Describe the solution you'd like

Reloading the page should trigger `search_transaction` only once.

### Epic

#146

Contributor guide

Open the contributing guide

Research direction

Start with the Explorer transaction page shown in the example URL and trace the handle_params call that leads to search_transaction. Check why reloading invokes the handler twice, then verify that a reload produces only one search_transaction call and consider whether the same behavior affects other Explorer pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.