WIP: feat: Add a callback to the message compose widget #16
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
nemalixi/chat-app!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "message-send-callback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a global callback to the Slint UI that is triggered whenever the user hits "send" on the message compose widget.
main.rsis modified with a simple println! that is triggered by the callback, providing a starting point for further integrationmessagesproperty withchat-datain ChatView 5dd12eed44chat-dataandviewsproperties to MainWindow 25eeaa3228chat-dataandviewswith placeholder data. a379a3f8fbChatDataandMessageDatawith conversion traits to Slint types ef2df8c5dbuuiddependency for generating unique identifiers 693c020095Storetrait for long-term chat data storage 49f8ec64c4PlaceholderStorefor demonstration and testing purposes 97e2d8c12fPlaceholderStore6da40d1abcChatUuidnewtype for safer UUID handling c2e3199cd8ChatDatac0fd4d941euuidfield toChatDataand map in Rust conversion 1e520716ecsend-messagecallback and bind to SendMessage button 51c67a501dSendMessageCBandLogicfromapp-window.slint00d589fabcfeat: Add a callbackk to the message compose widgetto WIP: feat: Add a callbackk to the message compose widgetWIP: feat: Add a callbackk to the message compose widgetto WIP: feat: Add a callback to the message compose widgetWIP: feat: Add a callbackk to the message compose widgetto WIP: feat: Add a callback to the message compose widget7e46714dfato6a61c67d666a61c67d66to39bc8d2f4839bc8d2f48to5f8631b93bView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.