MetaMask / MetaMask/metamask-extension

[Bug]: Clicking an order in the activity list opens Market Details instead of Order Details

Open
#43,492 1 comment 0 reactions 1 assignee Claimed by @Bigshmow View on GitHub
INVALID-ISSUE-TEMPLATE regression-RC-13.36.0 Sev2 Sev2-normal ta-needs-engineer-escalation ta-triaged team-perps type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

When the user clicks on an activity list item that is an **order**, the **Market Details page** is displayed instead of the **Order Details** for that specific order.

### Expected behavior

Clicking an order item in the activity list should open the **Order Details** view for that specific order.

https://www.loom.com/share/23547d0a45ef42c2803149695da24360

### Steps to reproduce

1. Open MetaMask Extension
2. Navigate to the **Perps Market Details** page
3. Click the **Activity** tab
4. Filter by Order
5. Click on an activity item
6. Observe that the **Market Details page** is displayed instead of the Order Details
### Error messages or log output

_No error message displayed._

### Where was this bug found?

Internal release testing

### Version

13.36.0

### Build type

_No response_

### Browser

Chrome

### Operating system

MacOS

### Hardware wallet

_No response_

### Additional context

- The tap/click handler for order items in the activity list appears to be navigating to the wrong destination
- Related: [#43490](https://github.com/MetaMask/metamask-extension/issues/43490) (Activity items not clickable in Perps Market Details)
- Team: Social

### Severity

_To be filled by internal support / PM_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.