You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref(issue-views): Overhaul issue views state and logic to a new context (#82429)
This PR makes a major code refactor to the Issue Views family of
components. No functionality should be broken or otherwise altered.
The purpose of this refactor was to move lots of reused code and
duplicated state into one unified context, `IssueViews.tsx`. This allows
the displayed components to be much much cleaner and easier to
understand while making it easier to add new functionality in the
future. The two primary things it does are:
1. **Creates a new context, `IssueViews`, that extends the old `Tabs`
context. This new context now contains the views and temporary tabs
state**
2. **Delegates almost all tab alteration logic to a `useReducer` within
the `IssueViews` context**
0 commit comments