-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed merge conflicts with main
- Loading branch information
Showing
199 changed files
with
7,471 additions
and
2,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: "🐛 Bug Report" | ||
description: Create a bug report to help us improve. | ||
title: "🐛 [BUG] - <title>" | ||
labels: [ | ||
"bug" | ||
] | ||
body: | ||
- type: textarea | ||
id: expected-behaviour | ||
attributes: | ||
label: "Expected Behaviour" | ||
description: Please describe the behavior you are expecting | ||
placeholder: Short and explicit description of your desired behaviour... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: current-behaviour | ||
attributes: | ||
label: "Current Behaviour" | ||
description: Please describe the current behavior | ||
placeholder: What is the current behavior?... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reprod | ||
attributes: | ||
label: "Reproduction steps" | ||
description: Please enter an explicit description of your issue | ||
value: | | ||
1. Go to '...' | ||
2. Invoke function '...' | ||
3. See error | ||
render: bash | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshot | ||
attributes: | ||
label: "Screenshots" | ||
description: If applicable, add screenshots to help explain your problem. | ||
value: | | ||
![DESCRIPTION](LINK.png) | ||
render: bash | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: "Relevant Logs" | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: bash | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: dapp-env | ||
attributes: | ||
label: "Dapp Env" | ||
description: What is the impacted DApp environment ? | ||
multiple: true | ||
options: | ||
- Prod (app.push.org) | ||
- Staging (staging.push.org) | ||
- Dev (dev.push.org) | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browsers | ||
attributes: | ||
label: "Browsers" | ||
description: What browsers are you seeing the problem on ? | ||
multiple: true | ||
options: | ||
- Firefox | ||
- Chrome | ||
- Safari | ||
- Microsoft Edge | ||
- Opera | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: "✏️ Documentation/Readme Enhancement" | ||
description: Suggest an enhancement in documentation/readme. | ||
title: "✏️ [Documentation/Readme Enhancement] - <title>" | ||
labels: [ | ||
"documentation" | ||
] | ||
body: | ||
- type: textarea | ||
id: expected-behaviour | ||
attributes: | ||
label: "Expected Behaviour" | ||
description: Please describe the behavior you are expecting | ||
placeholder: Short and explicit description of your desired behaviour... | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: current-behaviour | ||
attributes: | ||
label: "Current Behaviour" | ||
description: Please describe the current behavior | ||
placeholder: What is the current behavior?... | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: reprod | ||
attributes: | ||
label: "Steps to Reproduce" | ||
description: Please enter an explicit description of your issue | ||
value: | | ||
1. Go to '...' | ||
2. Invoke function '...' | ||
3. See error | ||
render: bash | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "😈 Improvement Proposal" | ||
description: Suggest improvement,whether new or built upon existing features. | ||
title: "😈 [Improvement Proposal] - <title>" | ||
labels: [ | ||
"Improvement proposal" | ||
] | ||
body: | ||
- type: input | ||
id: proposal-name | ||
attributes: | ||
label: "Proposal name" | ||
description: Brief title or summary of the proposed improvement. | ||
placeholder: Summary of the proposal improvement. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Describe the Proposal" | ||
description: Please describe detailed description of the improvement, including the problem it solves and the benefits it brings. | ||
placeholder: Detailed description of your desired proposal... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: usecase | ||
attributes: | ||
label: "Use Case" | ||
description: Please explain the specific use cases or scenarios where this improvement would be valuable.. | ||
placeholder: List down the use case. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: current-limitations | ||
attributes: | ||
label: "Current Limitations" | ||
description: Any existing limitations, issues, or challenges with the SDK that the proposed improvement aims to address. | ||
placeholder: Overview for the current problem/limitations. | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "👾 Other" | ||
description: Something that doesn't belong elsewhere. | ||
title: "👾 [Other] - <title>" | ||
labels: [ | ||
"Other" | ||
] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Description" | ||
description: Please describe something | ||
placeholder: Detailed description of what you wanna share... | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: dapp-env | ||
attributes: | ||
label: "Dapp Env" | ||
description: What is the impacted DApp environment ? | ||
multiple: true | ||
options: | ||
- Prod (app.push.org) | ||
- Staging (staging.push.org) | ||
- Dev (dev.push.org) | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "❓ Question or Support Request" | ||
description: Questions and requests for support. | ||
title: "❓ [Question/Support] - <title>" | ||
labels: [ | ||
"support" | ||
] | ||
body: | ||
- type: textarea | ||
id: support-request | ||
attributes: | ||
label: "Question or Support Request" | ||
description: Describe your question or ask for support. | ||
placeholder: Detailed description of your question/support request... | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
EXAMPLE USAGE: | ||
|
||
Refer for explanation to following link: | ||
https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md | ||
|
||
pre-push: | ||
commands: | ||
packages-audit: | ||
tags: frontend security | ||
run: yarn audit | ||
gems-audit: | ||
tags: backend security | ||
run: bundle audit | ||
|
||
pre-commit: | ||
parallel: true | ||
commands: | ||
eslint: | ||
glob: "*.{js,ts,jsx,tsx}" | ||
run: yarn eslint {staged_files} | ||
rubocop: | ||
tags: backend style | ||
glob: "*.rb" | ||
exclude: "application.rb|routes.rb" | ||
run: bundle exec rubocop --force-exclusion {all_files} | ||
govet: | ||
tags: backend style | ||
files: git ls-files -m | ||
glob: "*.go" | ||
run: go vet {files} | ||
scripts: | ||
"hello.js": | ||
runner: node | ||
"any.go": | ||
runner: go run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PRIVATE_KEY=your_private_key | ||
RPC=your_rpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Notification Setting Example | ||
|
||
|
||
## Usecase highlighted | ||
|
||
This example shows the end-to-end process of | ||
- Creating a channel | ||
- Defining the setting, | ||
- Make user subscribe to the channel for the settings they are interested, | ||
- Trigger a notification | ||
- At last list down the notifications | ||
|
||
Note: It is recommended to use the `.env` to put your private key for testing and make sure the wallet is funded with ether and PUSH tokens. For this, rename `.env.sample` to `.env`. | ||
|
||
## Install instructions | ||
1. Navigate to this directory from the terminal | ||
2. do `npm install` or `yarn install` | ||
3. do `yarn start` |
Oops, something went wrong.