-
Notifications
You must be signed in to change notification settings - Fork 100
Add Draft Messages Support #775
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fab0d80
WIP w/ channel view model
nuno-vieira 8ddbf9e
WIP without channel view model env object
nuno-vieira 4043f06
Fill the draft attachments to the composer
nuno-vieira 6e93ef9
Fix commands not showing in draft message
nuno-vieira a0154f2
Add draft previews to channel list item and thread list item
nuno-vieira d136a4e
Delete draft message when publishing message or erasing input
nuno-vieira dc51245
Add draftMessagesEnabled flag
nuno-vieira 9789941
Update composer draft message when draft is updated from event
nuno-vieira 4829f77
Fix forgotten env object from channel view model
nuno-vieira ce87d7e
Remove unnecessary deleteDraftMessage call since publishing a message…
nuno-vieira f57903a
Simplify the composer view model draft update event logic
nuno-vieira 47c0a02
Add Message Composer View Model Tests
nuno-vieira 23f57c5
Add composer view test coverage
nuno-vieira ff442ca
Improve the composer view model code by having a fillDraftMessage and…
nuno-vieira 5975ef6
Add test coverage to previews
nuno-vieira 76cb87c
Update CHANGELOG.md
nuno-vieira a1fab89
Merge branch 'develop' into add/drafts-support
nuno-vieira 767eedb
Fix snapshot tests
nuno-vieira fdd6e64
Merge branch 'develop' into add/drafts-support
nuno-vieira df6ee32
Fix broken compilation caused by new formatter
nuno-vieira 5fd0699
Merge branch 'develop' into add/drafts-support
testableapple 84168e5
Update CHANGELOG.md
nuno-vieira c7a1158
Clear composer input data if draft was deleted from other device
nuno-vieira 963141c
Fix delete draft request being fired multiple times
nuno-vieira 3593335
Fix not removing attachments from the previous draft
nuno-vieira 0eccc10
Only delete draft message if content is all empty
nuno-vieira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.