From 6949dc8b2a3d9e62ab9096e90262dbc285e25283 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 10:01:37 +0530 Subject: [PATCH 01/10] docs: add clevercoderjoy as a contributor for code (#1441) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> --- .all-contributorsrc | 9 +++++++++ README.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 16653b722..796e02e1f 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -670,6 +670,15 @@ "contributions": [ "code" ] + }, + { + "login": "clevercoderjoy", + "name": "clevercoderjoy", + "avatar_url": "https://avatars.githubusercontent.com/u/74505057?v=4", + "profile": "http://clevercoderjoy.bio.link", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index 0c55312db..d09f0d40f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ReactPlay(Repo: `react-play`) -[![All Contributors](https://img.shields.io/badge/all_contributors-74-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-75-orange.svg?style=flat-square)](#contributors-)

@@ -370,6 +370,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d nrshnaik
nrshnaik

πŸ’» Jannik Schmidtke
Jannik Schmidtke

πŸ’» Md. Saddam Hossain
Md. Saddam Hossain

πŸ’» + clevercoderjoy
clevercoderjoy

πŸ’» From 39e591e961901a3fe686a3b507a79332d8e07fa1 Mon Sep 17 00:00:00 2001 From: Siddharth Tiwari <71864026+Siddh744542@users.noreply.github.com> Date: Wed, 14 Feb 2024 10:06:08 +0530 Subject: [PATCH 02/10] fix : #1442 added instargam and linkedin icons to the footer (#1446) Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> --- src/common/footer/ExtendedFooter.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/common/footer/ExtendedFooter.jsx b/src/common/footer/ExtendedFooter.jsx index 12cb7c93c..d35d34304 100644 --- a/src/common/footer/ExtendedFooter.jsx +++ b/src/common/footer/ExtendedFooter.jsx @@ -4,6 +4,8 @@ import { MdManageSearch } from 'react-icons/md'; import { FaDiscord } from 'react-icons/fa'; import { BsGithub } from 'react-icons/bs'; import { FaXTwitter } from 'react-icons/fa6'; +import { FaLinkedin } from 'react-icons/fa'; +import { FaInstagram } from 'react-icons/fa6'; import LogoLight from 'images/img-logo-light.svg'; import { useSearchContext } from 'common/search/search-context'; import { CREATE_PLAY_DOC_LINK } from 'constants'; @@ -34,6 +36,18 @@ const ExtendedFooter = () => { url: 'https://blog.reactplay.io/', icon: , title: 'Blog Page' + }, + { + name: 'Linkedin', + url: 'https://www.linkedin.com/company/reactplay/', + icon: , + title: 'Linkedin Page' + }, + { + name: 'Instagram', + url: 'https://www.instagram.com/reactplayio/', + icon: , + title: 'Instagram Page' } ]; From 073793ef4cd3a99680efe5a6bcf6495e3436bafb Mon Sep 17 00:00:00 2001 From: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:14:28 +0530 Subject: [PATCH 03/10] feat(ci): add release-drafter ci/cd github action for automatic releases (#1457) * feat(ci): add release-drafter ci/cd github action for automatic releases #1455 * chore: added another label * chore: added required code --- .github/release-drafter.yml | 31 ++++++++++++++++++++ .github/workflows/release-drafter.yml | 41 +++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..c8cbc081d --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,31 @@ +name-template: 'v$RESOLVED_VERSION 🌈' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: 'πŸš€ Features' + labels: + - '✨ goal: improvement' + - '⭐ goal: addition' + - title: 'πŸ› Bug Fixes' + labels: + - 'πŸ›  goal: fix' + - title: '🧰 Maintenance' + labels: + - 'chore' + - 'πŸ›  goal: refactor' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## Changes + + $CHANGES \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..439cae130 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,41 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - main + # pull_request event is required only for autolabeler + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + # pull_request_target event is required for autolabeler to support PRs from forks + # pull_request_target: + # types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write + runs-on: ubuntu-latest + steps: + # (Optional) GitHub Enterprise requires GHE_HOST variable set + #- name: Set GHE_HOST + # run: | + # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV + + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml + # with: + # config-name: my-config.yml + # disable-autolabeler: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 1f1c168baac548e2dbb5f1d06d0581a4b2d8463d Mon Sep 17 00:00:00 2001 From: Prince Ramraj Sen <63097064+clavy123@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:20:54 +0530 Subject: [PATCH 04/10] chore: replace the meetup link #1451 (#1456) Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> --- src/common/header/HeaderNav.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/header/HeaderNav.jsx b/src/common/header/HeaderNav.jsx index 90e4d5ac7..e7c99aebb 100644 --- a/src/common/header/HeaderNav.jsx +++ b/src/common/header/HeaderNav.jsx @@ -92,7 +92,7 @@ const HeaderNav = ({ showBrowse }) => { From 2bab7a62f45e6cc949f9c2a6b1fd6402f854f2c3 Mon Sep 17 00:00:00 2001 From: Shivam Katare <91705825+Shivam-Katare@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:29:02 +0530 Subject: [PATCH 05/10] refactor: navbar's social icons items (#1454) * Refactor the navbar's social icons * Rename the links to NavLinks --------- Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> --- src/common/header/HeaderNav.jsx | 132 +++++++++++++++++--------------- 1 file changed, 72 insertions(+), 60 deletions(-) diff --git a/src/common/header/HeaderNav.jsx b/src/common/header/HeaderNav.jsx index e7c99aebb..ef5954b1a 100644 --- a/src/common/header/HeaderNav.jsx +++ b/src/common/header/HeaderNav.jsx @@ -30,6 +30,55 @@ const HeaderNav = ({ showBrowse }) => { const modalClose = () => setShowShareModal(!showShareModal); + const NavLinks = [ + { + type: 'Link', + testId: 'leaderboard-btn', + title: 'Leader Board', + to: '/leaderboard', + icon: BsTrophyFill, + iconClass: 'icon idea-icon', + label: 'Leader Board' + }, + { + type: 'Link', + testId: 'ideas-btn', + title: 'Play Ideas', + to: '/ideas', + icon: FaLightbulb, + iconClass: 'icon idea-icon', + label: 'Idea' + }, + { + type: 'a', + testId: 'github-btn', + event: 'github-button', + href: 'https://github.com/reactplay/react-play', + title: 'GitHub page', + icon: BsGithub, + iconClass: 'icon github-icon', + label: 'GitHub' + }, + { + type: 'a', + testId: 'twitter-btn', + href: 'https://twitter.com/reactplayio', + title: 'Twitter Page', + icon: FaXTwitter, + iconClass: 'icon twitter-icon', + label: 'Twitter' + }, + { + type: 'button', + testId: 'share-btn', + title: 'Show love', + onClick: handleClick, + icon: IoHeartSharp, + iconClass: 'icon share-icon', + label: 'Share' + } + ]; + return (