GithubHelp home page GithubHelp logo

reactplay / react-play Goto Github PK

View Code? Open in Web Editor NEW
1.3K 19.0 796.0 114.95 MB

react-play is an opensource platform that helps you learn ReactJS faster with hands-on practice model. It is a collection of projects that you can use to learn ReactJS.

Home Page: https://reactplay.io

License: MIT License

HTML 0.16% CSS 21.97% JavaScript 55.38% TypeScript 18.79% SCSS 3.69% Shell 0.01%
react reactjs javascript react-hooks open-source opensource hacktoberfest

react-play's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-play's Issues

๐Ÿ› [Bug report]: Meta tags not being properly detected in some sites

Describe the bug

The new way of handling meta tags doesn't work in some sites/apps.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any site that supports embeds
  2. Paste any link from the site
  3. See that no embed data shows up

Expected behavior

The embed data is supposed to show up without any issues.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome (irrelevant to problem)

Additional context

I'm assuming this is caused by the meta tags initially not being available inside the index.html file.

I will start working on fixing this issue ASAP

โœจ [Feature request]: Design the play not found page

Is your feature request related to a problem? Please describe.
The play not found page is not so designed, and there should also a button to navigate to all plays.

Describe the solution you'd like
Design the play not found page when didn't find any play and make it attractive.

Describe alternatives you've considered
Also add button to the page to navigate to all plays.

If this needs to be added, then I would like to work on this issue.

โœจ [Feature request]: Create a list of Play ideas

Is your feature request related to a problem? Please describe.
Create a page with a list of play ideas and categorize them by levels(Beginner, Intermediate, Advanced). It will help anyone to look into the list and create a play based on it.

Describe the solution you'd like
A separate page that lists all the play ideas wth descriptions.

Describe alternatives you've considered
NA

Additional context
NA

๐Ÿ› Clear Search and Filter when switching between pages

Describe the bug
Clear Search and Filter when switching between plages.

To Reproduce
Steps to reproduce the behavior:

  • From the landing page search/filter a play
  • Now click on a play to go to the play details. See the search is still retained.
  • It should be created. If you hit the back button of the browser, it still shows the searched/filtered list. Not the original list of play.

Expected behavior
Clear the search and filter when we go from the play listing to the play details page(on route change).

Screenshots
None

Additional context
Please reach out to @atapas if any clarifications needed.

โœจ [Feature request]: Upgrade to Raect v18

Is your feature request related to a problem? Please describe.
NO

Describe the solution you'd like
Upgrade React to its latest version.

Describe alternatives you've considered
NA

Additional context
NA

โœจ [Feature request]: Add shimmer effect for the play thumbnails

Is your feature request related to a problem? Please describe.
On the first load the images takes some time to get added to the DOM. We can use shimmer effect to make it look more pleasant.

Describe the solution you'd like
We can create our own Image component with a shimmer as a fallback or use any well reputated NPM package that does it well.

Describe alternatives you've considered
None

Additional context
None

โœจ [Feature request]: Generate a Readme.md file for each play

Is your feature request related to a problem? Please describe.
Each of the play can have its own documentation to tell what it is about, some code level details. So generate a Readme.md file as part of the play creation process.

Describe the solution you'd like
Create a automatic Readme file per play

Describe alternatives you've considered
Alternative is creating the read me manually

Additional context
None

[Add a Play]: Expanding Cards

Thank You!

What's the Play about?

What ReactJS concept will be used to create this play?

Are you willing to take it up for implementation?

๐Ÿ’… Style the Home Page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Todo List App

Thank You!

What's the Play about?

It is a ReactJs based Todo List Web app

What ReactJS concept will be used to create this play?

useState and useEffect hooks will be used.

โœจ [Feature request]: Create a Password Generator

Is your feature request related to a problem? Please describe.
Create a password generator with different complexities.

Describe the solution you'd like

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

[Add a Play]: Add a Social Card

Thank You!

What's the Play about?

The Play builds a Social Card with name, email, photo, social handles, etc.

What ReactJS concept will be used to create this play?

ReactJs Form handling, State handling, Context, Event Handling

Are you willing to take it up for implementation?

Yes.

Create a better 404 page

Is your feature request related to a problem? Please describe.
We have a 404 page but it is not that great. Make it better.

image

โœจ [Feature request]: Filter Plays by Language

Is your feature request related to a problem? Please describe.
As we support both JS and TS BASED plays, provide ability to filter based on language.

Describe the solution you'd like
Add one more filter option for language with the existing filters.

Describe alternatives you've considered
None

Additional context
None

[Add a Play]: TicTacToe

What's the Play about?

2 players Tic Tac Toe Game

What ReactJS concept will be used to create this play?

useState, react basics

Are you willing to take it up for implementation?

Yes

[Add a Play]: Keeper App

What's the Play about?

The name of the play is "Keeper". In this app, you can save and delete your notes. This will save your notes until you delete them.

What ReactJS concept will be used to create this play?

  • React Functional Components
  • useState and useEffect
  • React DOM

Are you willing to take it up for implementation?

Yes, I am willing to take it up for implementation.

ScreenShots

2022-04-20 (4)

2022-04-20 (1)

[Add a Play]: State of Component

Thank You!

What's the Play about?

It will tell about the state of react Components, what happens when you change a state in a functional component

What ReactJS concept will be used to create this play?

hooks, state management, state

Are you willing to take it up for implementation?

Yes

๐Ÿ› [Bug report]: Deep Linking for the Plays fails. It shows a blank page.

Describe the bug
If you hit any play URL directly, it gives a blank page. It should show the play details page.

To Reproduce
Steps to reproduce the behavior:

  1. Open your browser
  2. Paste this URL: https://www.reactplay.io/plays/social-card and hit enter
  3. You will see a blank screen
  4. Error in the browser console

image

Expected behavior
The Play should be accessible with deep linking

Screenshots
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):
All

Smartphone (please complete the following information):
All

Additional context
Moving to play detail from the play list works well.

Hooks in Actions

Thank You!

What's the Play about?

Combination of various inbuilt hooks to see how they work together.

What ReactJS concept will be used to create this play?

Hooks, Async/Await

Are you willing to take it up for implementation?

Yes

โœจ [Feature request]: Change meta information based on the route

Is your feature request related to a problem? Please describe.
What we share a play with its deep link URL, it takes the Reactplay platform's meta(og, Twitter) image, title, and description. Rather, it should display the cover image, title, and description of the play that we are sharing on social media.

Describe the solution you'd like
I do not have a solution proposed yet but the contributor can start a discussion with me to brainstorm.

Describe alternatives you've considered
None

Additional context
None

Quizeo App

Thank You!

What's the Play about?

A react application of quizzes about favorite movies and series.

What ReactJS concept will be used to create this play?

Hooks, react-redux, reselect, and react-router

Are you willing to take it up for implementation?

yes

๐Ÿ› [Bug report]:

Describe the bug
There is a typo in CREATE-PLAY.md. in line 87 as can be seen below

That's it. Now start coding yor Play using your favorite code editor!

๐Ÿ› [Bug report]: create-play not working with lower node versions

Describe the bug
In lower node versions (< 16), there is an issue with creating a new play by running yarn create-play or npm run create-play. The script works fine with node version 16.14.0.

To Reproduce
Steps to reproduce the behavior:

  1. Using nvm try to use a node version lower than 16 (probably 14) and run npm run create-play or yarn create-play.
  2. Fill necessary details.
  3. An error might be evident stating trim(...).replaceAll() is not a function!

Expected behavior
To create a play

Screenshots
Code_jzJJI3SB2p

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]

[Bug]: The puppeteer error while building

Discussed in #112

Originally posted by atapas April 28, 2022
@erayalkis

I am seeing this intermittent error in the log and it fails the build. Do you think, we have a fix for it? Starting this discussion, if you want to get to a root-cause, welcome. When you have a fix, let's convert this one to an issue.

image

๐Ÿ› [Bug report]: Cancel button text

Description
The cancel button text is not visible.

Steps to reproduce the behaviour:

  1. Go to '/plays
  2. Click on filter plays
  3. See an error on filter modal

Expected behaviour
Cancel button text

Screenshots
Screenshot 2022-05-07 at 8 33 47 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome

๐Ÿ› [Bug report]: Twitter meta tags don't work properly

Describe the bug

While embeds work on other sites, Twitter doesn't seem to be able to get the information it needs, and embed images do not work.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Twitter.com
  2. Paste any link from reactplay.io
  3. See that while all other info is there, the embed image doesn't show up

Expected behavior

The embed image is supposed to work properly along with other info.

Screenshots

Embeds currently don't show any images.
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 100.0.4896.127

Will start working on this ASAP!

[Add a Play]: A Typescript based play

Thank You!

What's the Play about?

A good-first play based on TS

What ReactJS concept will be used to create this play?

TypeScript

Are you willing to take it up for implementation?

Yes

โœจ [Feature request]: Add the number badge to the comment icon

Is your feature request related to a problem? Please describe.
Currently, each of the plays has a way to provide and view comments

image

It will be great if the icon indicates the number of comments a play has.

Describe the solution you'd like
The solution is to use the GitHub GraphQL API to fetch the number of discussions for a discussion id and show as a badge. The JSX part of the code is already there but commented.

Describe alternatives you've considered
If we can't show the number, let us at least indicate if the play has a comment or not with a visual clue.

Additional context
Read more about the comment system implementation from here: https://blog.greenroots.info/comment-system-using-react-and-github-discussions

โœจ [Feature request]: Update Wiki

Is your feature request related to a problem? Please describe.

I was looking to add documentation for the new PlayMeta component, but I found out very quickly that github doesn't let you create a PR for wiki pages, so I have to do this instead

Describe the solution you'd like

Updating Wiki to include documentation for PlayMeta with text from here
( I will paste the raw text here as a comment if it looks good!)

Additional context
Maybe we could start adding propTypes to components for easier readability?
A propTypes object for PlayMeta would look like this:

PlayMeta.propTypes = {
  id: PropTypes.number, 
  name: PropTypes.string, 
  description: PropTypes.string, 
  path: PropTypes.string, 
  cover: PropTypes.string, 
  component: PropTypes.func 
}

โœจ [Feature request]: Create a Home page section for Twitter mentions

Is your feature request related to a problem? Please describe.
We need a place on the home page that brings the mentions we get for the ReactPlayIO Twitter handle.

Describe the solution you'd like
Make the Twitter API cal to fetch last 10 Tweets that mentioned the @ReactPlayIO handle and show them like cards,

Describe alternatives you've considered
NONE

Additional context
The Twitter API Key will be supplied by Admin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.