Skip to content

Conversation

@wiggin77
Copy link
Member

@wiggin77 wiggin77 commented Nov 8, 2025

Summary

Migrate sidebar_header component to TypeScript:

  • Convert sidebar_header.jsx to sidebar_header.tsx with proper TypeScript interfaces
  • Migrate index.js to index.ts with GlobalState typing
  • Add missing 'connected' prop that was added to master after original PR
  • Use getConnected selector for better type safety
  • Fix interface formatting (proper spacing and semicolons)

Addresses feedback from PR #450 and resolves issue #431.

Based on a PR submitted by @Willy-Wakam

Ticket Link

fixes #431

   - Convert sidebar_header.jsx to sidebar_header.tsx with proper TypeScript interfaces
   - Migrate index.js to index.ts with GlobalState typing
   - Add missing 'connected' prop that was added to master after original PR
   - Use getConnected selector for better type safety
   - Fix interface formatting (proper spacing and semicolons)

   Addresses feedback from PR #450 and resolves issue #431.
Use 'mattermost-redux/selectors/entities/preferences' instead of
'mattermost-redux/types/preferences' to be consistent with all other
TypeScript files in the codebase.
@wiggin77 wiggin77 requested a review from a team November 28, 2025 18:58
@wiggin77 wiggin77 added the 2: Dev Review Requires review by a core committer label Nov 28, 2025
@wiggin77
Copy link
Member Author

/update-branch

Copy link

@nevyangelova nevyangelova left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @wiggin77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2: Dev Review Requires review by a core committer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert sidebar_header component to typescript

5 participants