Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Conversation

@GreenTeaCake
Copy link
Contributor

Add initial version of documentation for creation operator 'empty'.
closes #76

@ladyleet
Copy link
Member

Thx @grumblerchester!

@codecov-io
Copy link

codecov-io commented Nov 16, 2017

Codecov Report

Merging #147 into master will decrease coverage by 2.56%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage   91.02%   88.46%   -2.57%     
==========================================
  Files           7        7              
  Lines          78       78              
  Branches        5        7       +2     
==========================================
- Hits           71       69       -2     
  Misses          6        6              
- Partials        1        3       +2
Impacted Files Coverage Δ
src/app/operators/operators.component.ts 80.48% <0%> (-4.88%) ⬇️

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 03bc259...6d8a3c2. Read the comment docs.

extras: [
{
type: 'Tip',
text: `Just emits 'complete', and nothing else.`
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this comes from the rxjs 5 docs but I believe this could cause confusion. To me a beginner may think this actually emits the string 'complete' and not understand the complete notification.

For instance, if I'm a new user and read this:

Just emits 'complete', and nothing else.

Then look above:

Creates an Observable that emits no items

This could be frustrating. Is there a way we can enhance the wording here? Or maybe this one is better without the extra tip?

Choose a reason for hiding this comment

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

I would remove the tip indeed @btroncone to avoid confusion as you mentioned.

Copy link

@xlozinguez xlozinguez left a comment

Choose a reason for hiding this comment

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

Remove tip for this operator as it is not providing additional value and introduces confusion

@ashwin-sureshkumar
Copy link
Collaborator

@grumblerchester - Could please update the commit message and PR title to be

docs(operators): add documentation for operator empty

@GreenTeaCake GreenTeaCake changed the title docs(empty): add documentation for operator docs(operators): add documentation for operator empty Nov 17, 2017
@GreenTeaCake
Copy link
Contributor Author

Rebased and updated according to comments.
@btroncone @xlozinguez @ashwin-sureshkumar Please take a look.

@sumitarora
Copy link
Collaborator

@grumblerchester Please rebase.

Add initial version of documentation for creation operator 'empty'.
@GreenTeaCake
Copy link
Contributor Author

@sumitarora The code is rebased now.

@ladyleet ladyleet merged commit 980bd0b into ReactiveX:master Nov 21, 2017
@ladyleet
Copy link
Member

thx @grumblerchester! great PR! :)

@GreenTeaCake GreenTeaCake deleted the doc-creation-empty branch November 21, 2017 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add docs for operator : creation - empty

8 participants