-
Notifications
You must be signed in to change notification settings - Fork 815
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
Message posting clean-up #4256
Merged
Merged
Message posting clean-up #4256
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f0dfa4c
Tidy up a couple of typing issues in the Collapsible tests
davep 49b03d5
Correct a Collapsible's test description
davep 79341a5
Add a test for getting a message when changing collapsible via reactive
davep 6b96f20
Correct a Collapsible's test description
davep f45df6a
Add a test for getting a message when changing collapsible via reactive
davep 25e3780
Ensure Collapsed/Expanded message get sent on reactive change
davep 161576a
Add a test for Markdown.TableOfContentsUpdated being posted
davep 8fd51d2
Ensure that TableOfContentsUpdated is always posted
davep d284ada
Add a test for getting Select.Changed on value change
davep f8dfe82
Ensure Select.Changed is posted when value is changed
davep 4a3fbe6
Add a test that SelectionList.toggle results in SelectionToggled
davep 01f09da
Ensure SelectionList.SelectionChanged gets posted in all DOM shapes
davep 09bc439
Ensure SelectionList.SelectionToggled is posted when calling toggle
davep 40a40d8
Update snapshot tests
davep 1872057
Fix the sender for Cleared when calling clear_panes
davep 6b30ff2
Fix the sender for Cleared when calling remove_pane
davep e245562
Ensure correct sender for Tabs.TabHidden in all DOM shapes
davep 51aa01e
Ensure correct sender for Tabs.TabShown in all DOM shapes
davep 5bb61a7
Tidy up trailing whitespace
davep 5acdee9
Post TextArea.Changed when TextArea.text is assigned
davep 8e630d7
Ensure correct sender when posting TextArea.Changed
davep 99928bc
Move posting TextArea.Changed to TextArea.load_text
davep bc74e1d
Ensure Tree.NodeExpanded is bubbbled in all DOM shapes
davep f8303af
Allow different expanded states in the extended tree tester
davep d95c3e9
Merge branch 'main' into message-tidy
davep b73f9c5
Ensure Tree.NodeCollapsed is bubbbled in all DOM shapes
davep f6651ec
Remove a message we're not testing
davep ec2677c
Merge branch 'main' into message-tidy
davep a4d123b
Mention the message changes in the ChangeLog
davep 0d4de0b
Swap to using update
davep 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 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 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 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 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 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 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 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 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 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 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 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.
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.
Isn't
.update
better in terms of speed while being the same in terms of readability?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.
Off the top of my head I don't know the speed difference; it feels like you are right, do you have a reference?
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.
I don't have a reference, no, it's just an educated guess.
I was just surprised you spelled this out 🤷
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.
I'd probably go with update. It would be faster, but doubt the difference would be measurable. It's more that
update
expresses intent better.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.
Cool. Will tweak it.