Skip to content

Conversation

@DonJayamanne
Copy link

Rather than having a developer call create and then arg.queue, this replaces that with one function.
Hides the intricacies of how something is posted or queued.
Also allows us to add additional logic to control what messages can be posted (for synchronization) instead of developer having to do this in every reducer.

Simple harmless refactor

@DonJayamanne DonJayamanne changed the title Refactor Refactor how messages are posted to reducers and to the extension Feb 10, 2020
@DonJayamanne DonJayamanne added the no-changelog No news entry required label Feb 10, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov-io
Copy link

codecov-io commented Feb 10, 2020

Codecov Report

❗ No coverage uploaded for pull request base (ds/custom_editor@97ad678). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             ds/custom_editor   #10019   +/-   ##
===================================================
  Coverage                    ?    60.8%           
===================================================
  Files                       ?      564           
  Lines                       ?    29882           
  Branches                    ?     4492           
===================================================
  Hits                        ?    18171           
  Misses                      ?    10718           
  Partials                    ?      993

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97ad678...60f8fb7. Read the comment docs.

Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@DonJayamanne DonJayamanne merged commit 70e2431 into microsoft:ds/custom_editor Feb 10, 2020
@DonJayamanne DonJayamanne deleted the phase11 branch February 10, 2020 18:16
DonJayamanne added a commit that referenced this pull request Feb 12, 2020
* Some how I had not included some of the other remaining arg.queueAction into the original
PR #10019

* This PR merely brings them from (I had these in the same branch, but failed to include them).
* Same as #10019, just a refactor to use a common function to create an action and dispatch it in one step. & removed some of the old syncing stuff.
@lock lock bot locked as resolved and limited conversation to collaborators Feb 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants