Progress Update

I wasn't able to get as much done this sprint as I hoped. Here's what I did: chatcraft.org I tried doing some work in chatcraft.org but got stuck. I was trying to refactor the code to use a custom hook to manage state instead of prop drilling. Refactor Code To Use `useChat()` Hook #835 mulla028 posted on Feb 20, 2025 Description Since @humphd landed #822, introduced ChatProvider & useChat() hook. We need to refactor code to stop passing chat on props in components and utilize useChat() hook wherever it's possible . View on GitHub Unfortunately I ran into some trouble with the types. The hook can potentially return undefined, which the code doesn't handle, since when it's being passed through props that's not something that needs to be handled. I'll need to dedicate some more time to this. Mattermost I did some fixes on my PR in Mattermost. [MM-53650] Add disable emoticon rendering setting to webapp #29414 uday-rana posted on Nov 28, 2024 Summary This pull request adds a user setting to the webapp to toggle rendering emoticons (:D) as emojis (

Mar 13, 2025 - 16:14
 0
Progress Update

I wasn't able to get as much done this sprint as I hoped. Here's what I did:

chatcraft.org

I tried doing some work in chatcraft.org but got stuck. I was trying to refactor the code to use a custom hook to manage state instead of prop drilling.

Refactor Code To Use `useChat()` Hook #835

Description

Since @humphd landed #822, introduced ChatProvider & useChat() hook. We need to refactor code to stop passing chat on props in components and utilize useChat() hook wherever it's possible .

Unfortunately I ran into some trouble with the types. The hook can potentially return undefined, which the code doesn't handle, since when it's being passed through props that's not something that needs to be handled.

Image description

I'll need to dedicate some more time to this.

Mattermost

I did some fixes on my PR in Mattermost.