Skip to content

feat: bump to [email protected] [email protected] #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MartinCupela
Copy link
Contributor

Changes Summary

1. Dependency Updates

  • Upgraded stream-chat-react from v12.12.0 to v13.0.0-rc.2
  • Upgraded stream-chat from v8.56.0 to v9.0.0-rc.15

2. Type System Changes

  • Removed custom StreamChatType type definitions
  • Added new type definitions in types.stream.d.ts:
    interface CustomChannelData {
      name?: string;
      demo?: string;
    }
    interface CustomUserData {
      title: string;
    }
    interface CustomMessageData {
      show_in_channel: boolean;
      up_votes: string[]
    }
    interface CustomMessageComposerData {
      command: 'giphy' | null;
    }
  • Simplified type usage across components by removing generic type parameters

3. Message Input Improvements

  • Refactored MessageInputUI component to use new message composer hooks
  • Added character counter component
  • Improved command handling and Giphy integration
  • Added new middleware for Giphy command injection and control

4. Component Refactoring

  • Simplified MessageUI component by removing type parameters
  • Updated ParticipantSearch to filter out current user from results
  • Refactored SuggestionList to use new suggestion components
  • Removed useOverrideSubmit hook in favor of new middleware approach

5. New Features

  • Added Giphy command injection middleware
  • Added Giphy command control middleware
  • Improved command handling in message input
  • Added character counter to message input

6. UI Improvements

  • Updated button styles in message input
  • Improved command button styling
  • Better handling of Giphy state in message input

7. Code Cleanup

  • Removed unused imports and type definitions
  • Simplified component props and state management
  • Improved type safety across the application

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.

1 participant