Open Bug 1839347 Opened 10 months ago Updated 10 months ago

Move all debugger context menu implemented from React to become Redux actions

Categories

(DevTools :: Debugger, task)

task

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Depends on 2 open bugs)

Details

Bug 1836929 and bug 1836439 already migrated Tab and SourceTreeItem context menu to Redux actions.
It allows to drop all properties related to context menus, which often are numerous and causes unecessary reflows to the React component.
Also as part of bug 1822310, the data related to context menu could be updated as the contextmenu DOM event fires on user demand.
Fetching the data fresh from the selectors when the user trigger the context menu drop the requirement to use context assertions to prevent trigerring outdated action.
The selectors may throw or return inexistant data if the action became irrelevant.

Depends on: 1839408
Depends on: 1839409
Depends on: 1839410
Depends on: 1839411
Depends on: 1839412
Depends on: 1839414
You need to log in before you can comment on or make changes to this bug.