WIP: refactor: profiles in the store #12
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!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "profile"
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 introduces a "Profile" struct and refactors the code to store these in the store alongside their avatar. Profiles have a UUID (See #11) , which are now referred to as the sender in MessageData
Depends on: #9
messagesproperty withchat-datain ChatView 5dd12eed44chat-dataandviewsproperties to MainWindow 25eeaa3228chat-dataandviewswith placeholder data. a175555031ChatDataandMessageDatawith conversion traits to Slint types e5aefe9fbduuiddependency for generating unique identifiers 382b66c928Storetrait for long-term chat data storage c1adf8cc8bPlaceholderStorefor demonstration and testing purposes dcfd32850bPlaceholderStorec5edbfc777ChatUuidnewtype for safer UUID handling 6952bf9009ChatData8b2d286990Profilestruct. 4c0329610ccandycane.pngto UI assets 876639fdbecreate_sample_profilesfunction to generate predefined profiles 5e46ed1e5cMessageDatato refer to the sender by uuid. 90e91c2d9crefactor: profiles in the storeto WIP: refactor: profiles in the store35d69ac0beto619236bf9eView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.