Closed sebastianjg closed 7 years ago
Merging #16 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #16 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 4 4
Lines 70 80 +10
Branches 23 25 +2
=====================================
+ Hits 70 80 +10
Impacted Files | Coverage Δ | |
---|---|---|
src/reducer.js | 100% <100%> (ø) |
:arrow_up: |
src/selectors.js | 100% <100%> (ø) |
:arrow_up: |
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 f666089...1dfaf88. Read the comment docs.
Hi, @sebastianjg. Excellent work. Thank you so much.
I'm just not sure about the name. My English isn't the best, but hasSuccess
seems strange. Do people say it has success...
?
What do you think?
cc/ @Geczy
isPending
hasFailed
isDone
for success
isComplete
for an always function
isDone
seems good.
What about just pending, failed, done, complete?
Without the prefix?
@Geczy I like it, but let's discuss that on another thread. For this PR, just changing hasSuccess
to isDone
is 👍.
@sebastianjg
Thanks for the feedback guys! I agree that isDone
is better (a bit hasty on my end as a non-native english speaker).
I have updated the PR.
edit: I also added a isComplete
selector, which will be true when it is either a failure or success.
Thank you, @sebastianjg
I encountered a case where it was suitable to solve with a hasSuccess-selector, as mentioned in #13, so I went ahead and added it.
Excellent work with the Arc repository, really appreciate it!