This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 827
Handle command completions in RTE #10521
Merged
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
02939fe
pass handleCommand prop down and use it in WysiwygAutocomplete
d4cadad
allow a command to generate a query from buildQuery
4fe0077
port command functionality into the sendMessage util
6b623d0
tidy up comments
e056d5d
remove use of shouldSend and update comments
c0668f4
remove console log
212a998
make logic more explicit and amend comment
c65a1b7
uncomment replyToEvent block
f4c272d
update util test
6f46bf8
remove commented out test
0db94cb
use local text over import from current composer
f8bddc0
expand tests
735e8a8
expand tests
b0c62a3
handle the FocusAComposer action for the wysiwyg composer
86347a4
remove TODO comment
0282c14
remove TODO
377e191
test for action dispatch
66f8380
fix failing tests
8cddb25
tidy up tests
000d744
fix TS error and improve typing
a1a5917
Merge remote-tracking branch 'origin/develop' into alunturner/handle-…
b1ca999
fix TS error
4abd905
amend return types for sendMessage, editMessage
fa13702
fix null content TS error
01fa6a7
fix another null content TS error
cd4ce1b
use as to correct final TS error
63579d0
Merge branch 'develop' into alunturner/handle-command-completions
45cc670
remove undefined argument
b77025b
try to fix TS errors for editMessage function usage
91ba491
Merge remote-tracking branch 'origin/develop' into alunturner/handle-…
2863b3d
tidy up
61946a1
add TODO
a72b837
Merge remote-tracking branch 'origin/develop' into alunturner/handle-…
276f4f7
improve comments
425d946
Merge branch 'develop' into alunturner/handle-command-completions
artcodespace eb4e1a8
update comment
c08290f
Merge remote-tracking branch 'origin/develop' into alunturner/handle-…
b523ef7
Merge branch 'develop' into alunturner/handle-command-completions
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
handle the FocusAComposer action for the wysiwyg composer
- Loading branch information
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the action that is fired when a user enters a bad command and then makes a decision from the dialog they're presented with - it ensures that we put the cursor back in the composer when the dialog closes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that documented in the actions file? Would be good to if not