Skip to content

Fix block and address search#159

Merged
dylanjeffers merged 2 commits intomainfrom
fix-search
Mar 27, 2026
Merged

Fix block and address search#159
dylanjeffers merged 2 commits intomainfrom
fix-search

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Fixes explorer search:

  • typing in a block goes to /block/:block correctly
  • typing in an address goes to account/:account correctly

@dylanjeffers dylanjeffers changed the title Fix search Fix block and wallet search Mar 26, 2026
@dylanjeffers dylanjeffers changed the title Fix block and wallet search Fix block and address search Mar 26, 2026
Copy link
Copy Markdown
Contributor

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#158 this pr will fix teh broken test

event.preventDefault();
const trimmedQuery = this.query.trim();

// Route numeric input directly to block pages.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be a footgun if there's some other numeric thing to lookup, but i can't thiink of it so fine for now

@dylanjeffers dylanjeffers merged commit d92356a into main Mar 27, 2026
3 of 4 checks passed
@dylanjeffers dylanjeffers deleted the fix-search branch March 27, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants