chioroglo / chioroglo/myBlog

EmptyReelPlate component behavior when there was no posts at the start.

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement frontend
Dominant language
C#
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Please make the text, that is being displayed on empty reel depending on amount of posts that were. The idea is to not congratulate the user for reading all reel when there were no posts =).

The solution would be to add an prop to this component, named "thereWasNoPostsInReel" with default value = true and in every usage of this component pass the boolean value, for example

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the EmptyReelPlate component and every usage of it, then inspect how the empty-reel text is selected. Update the component behavior and its callers so the no-posts case is distinguished from a reel that has been fully read. Verify both cases display the appropriate text.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, react
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.