Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add to cart api added #938

Merged
merged 14 commits into from
Aug 10, 2023
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "[BUG] Write a small description here"
labels:
[
"👷🏻‍♂️ status: awaiting triage",
"🛠 goal: fix"
"📈 Patch"
]
body:
- type: textarea
Expand Down Expand Up @@ -43,10 +43,10 @@ body:
attributes:
label: "Checklist ✅"
options:
- label: "I checked and didn't find similar [issue](https://github.com/tamalCodes/Milan/issues)"
- label: "I checked and didn't find similar [issue](https://github.com/MilanCommunity/Milan/issues)"
required: true

- label: "I have read the [Contributing Guidelines](https://github.com/tamalCodes/Milan/blob/main/CONTRIBUTING.md)"
- label: "I have read the [Contributing Guidelines](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md)"
required: true

- label: "I am willing to work on this issue (blank for no)."
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ body:
attributes:
label: "Checklist ✅"
options:
- label: "I checked and didn't find similar [issue](https://github.com/tamalCodes/Milan/issues)"
- label: "I checked and didn't find similar [issue](https://github.com/MilanCommunity/Milan/issues)"
required: true

- label: "I have read the [Contributing Guidelines](https://github.com/tamalCodes/Milan/blob/main/CONTRIBUTING.md)"
- label: "I have read the [Contributing Guidelines](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md)"
required: true

- label: "I am willing to work on this issue (blank for no)"
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "[FEATURE] write a small description here"
labels:
[
"👷🏻‍♂️ status: awaiting triage",
"⭐ goal: addition"
"📈 Minor"
]
body:
- type: textarea
Expand Down Expand Up @@ -43,10 +43,10 @@ body:
attributes:
label: "Checklist ✅"
options:
- label: "I checked and didn't find similar [issue](https://github.com/tamalCodes/Milan/issues)"
- label: "I checked and didn't find similar [issue](https://github.com/MilanCommunity/Milan/issues)"
required: true

- label: "I have read the [Contributing Guidelines](https://github.com/tamalCodes/Milan/blob/main/CONTRIBUTING.md)"
- label: "I have read the [Contributing Guidelines](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md)"
required: true

- label: "I am willing to work on this issue (blank for no)"
Expand Down
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/invitation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 📢 Invitation to the MilanCommunity Organization

description: I would like to be a part of the Milan community.

title: "Please invite me to the GitHub Community Organization"

labels: [invite me to the organisation]

body:
- type: input
id: name
attributes:
label: Name
placeholder: Insert your Full name here
validations:
required: true

- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist ✅"
options:
- label: "I have followed the [organisation](https://github.com/MilanCommunity)."
required: true

- label: "I will abide by all the [global rules](https://github.com/MilanCommunity/.github/blob/main/CODE_OF_CONDUCT.md) stated here."
required: true

- label: "NOTE: Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. Do this by finding your name in the [GitHub organisation list](https://github.com/orgs/MilanCommunity/people) and change the dropdown to public."
required: true


4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ body:
attributes:
label: "Checklist ✅"
options:
- label: "I checked and didn't find similar [issue](https://github.com/tamalCodes/Milan/issues)"
- label: "I checked and didn't find similar [issue](https://github.com/MilanCommunity/Milan/issues)"
required: true

- label: "I have read the [Contributing Guidelines](https://github.com/tamalCodes/Milan/blob/main/CONTRIBUTING.md)"
- label: "I have read the [Contributing Guidelines](https://github.com/MilanCommunity/Milan/blob/main/CONTRIBUTING.md)"
required: true

- label: "I am willing to work on this issue (blank for no)"
Expand Down
6 changes: 3 additions & 3 deletions .github/labeler-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ filters:
events: [pull_request]
targets: [title]

- label: "⭐ goal: addition"
- label: "📈 Minor"
regexs:
- /feat/i
events: [pull_request]
Expand All @@ -29,7 +29,7 @@ filters:
- /fix/i
events: [pull_request]
targets: [title]
- label: "🛠 goal: fix"
- label: "📈 Patch"
regexs:
- /fix/i
events: [pull_request]
Expand All @@ -41,7 +41,7 @@ filters:
- /build/i
events: [pull_request]
targets: [title]
- label: "🛠 goal: fix"
- label: "📈 Patch"
regexs:
- /build/i
events: [pull_request]
Expand Down
66 changes: 35 additions & 31 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: "🚀 Features"
labels:
- "⭐ goal: addition"
- "enhancement"
- title: "🐛 Bug Fixes"
labels:
- "🛠 goal: fix"
- "bugfix"
- "bug"
- title: "🧰 Maintenance"
label: "chore"
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
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: "🚧 Huge Updates"
labels:
- "📈 Major"
- title: "🚀 New Features"
labels:
- "📈 Minor"
- title: "🐛 Bug Fixes"
labels:
- "📈 Patch"
- "📄 aspect: docs"
- title: "🧰 Maintenance"
labels:
- "chore"
- "dependencies"
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"
- "dependencies"
- "📄 aspect: docs"
default: patch
template: |

$CHANGES
6 changes: 4 additions & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Welcome to MilanCommunity

on:
fork:
push:
Expand All @@ -18,7 +20,7 @@ jobs:
issue-message: |
### Hello @${{ github.actor }}, thank you for raising the issue. </br></br>

Currently, the issue is marked as https://github.com/tamalCodes/Milan/labels/%F0%9F%91%B7%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8F%20status%3A%20awaiting%20triage which means that work for this issue is on hold and we are waiting for the maintainers/owner to review it and provide you with feedback/suggestions to proceed further.
Currently, the issue is marked as https://github.com/MilanCommunity/Milan/labels/%F0%9F%91%B7%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8F%20status%3A%20awaiting%20triage which means that work for this issue is on hold and we are waiting for the maintainers/owner to review it and provide you with feedback/suggestions to proceed further.


Feel free to reach out to [Tamal](https://twitter.com/tamalCodes) on **Twitter**, or drop a mail at tamalcodes@gmail.com if you think that this issue is of critical priority. </br></br>
Expand All @@ -29,7 +31,7 @@ jobs:
pr-message: |
### Hello @${{ github.actor }}, thank you for raising a pull request. </br></br>

Currently, the pull request is marked as https://github.com/tamalCodes/Milan/labels/%F0%9F%91%B7%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8F%20status%3A%20awaiting%20triage which means that work for this issue is on hold and we are waiting for the maintainers/owner to review it and provide you with feedback/suggestions to proceed further.
Currently, the pull request is marked as https://github.com/MilanCommunity/Milan/labels/%F0%9F%91%B7%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8F%20status%3A%20awaiting%20triage which means that work for this issue is on hold and we are waiting for the maintainers/owner to review it and provide you with feedback/suggestions to proceed further.


Feel free to reach out to [Tamal](https://twitter.com/tamalCodes) on **Twitter**, or drop a mail at tamalcodes@gmail.com if you think that this pull request is of critical priority. </br></br>
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/invite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
issues:
types: [labeled]

jobs:
automate_invite:
runs-on: ubuntu-latest
steps:
- name: Invite on label
uses: vj-abigo/invite-on-label@v1.4
with:
organization: MilanCommunity
label: invite me to the organisation
repo-token: ${{ secrets.GITHUB_TOKEN }}
comment:
"<b>Hi @${{ github.actor }}, We just made a new organization, and
have sent you an invite. Welcome to the community
🎉</b><br><br>Don't forget after accepting to make it public so it
appears on your GitHub profile for everyone else to see. You can do
this by finding your name in the GitHub organisation list and change
the dropdown to public
https://github.com/orgs/MilanCommunity/people<br>"
env:
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}
82 changes: 41 additions & 41 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,41 +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.NPM_TOKEN }}
name: 📢 Draft Release Notes
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 }}
19 changes: 11 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"aos": "^2.3.4",
"axios": "^1.4.0",
"cypress": "^12.17.2",
"dotenv": "^16.0.3",
"dotenv": "^16.3.1",
"js-cookie": "^3.0.5",
"jsonschema": "^1.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-icons": "^4.8.0",
"react-icons": "^4.10.1",
"react-js-loader": "^0.1.0",
"react-router-dom": "^6.11.2",
"react-scripts": "^5.0.1",
Expand Down
Loading
Loading