diff --git a/.github/.ubiquibot-config.yml b/.github/.ubiquibot-config.yml index 33ed93c4..170c646a 100644 --- a/.github/.ubiquibot-config.yml +++ b/.github/.ubiquibot-config.yml @@ -1,31 +1,31 @@ plugins: - uses: - - plugin: https://ubiquibot-command-wallet-development.ubiquity.workers.dev + - plugin: https://ubiquibot-command-wallet-development.ubiquity.workers.dev - uses: - - plugin: https://ubiquibot-command-query-user-development.ubiquity.workers.dev - with: - allowPublicQuery: true + - plugin: https://ubiquibot-command-query-user-development.ubiquity.workers.dev + with: + allowPublicQuery: true - uses: - - plugin: https://ubiquibot-assistive-pricing-development.ubiquity.workers.dev - with: - labels: - time: - - "Time: <1 Hour" - - "Time: <2 Hours" - - "Time: <4 Hours" - - "Time: <1 Day" - - "Time: <1 Week" - - "Time: <1 Month" - priority: - - "Priority: 1 (Normal)" - - "Priority: 2 (Medium)" - - "Priority: 3 (High)" - - "Priority: 4 (Urgent)" - - "Priority: 5 (Emergency)" - basePriceMultiplier: 2 - publicAccessControl: - setLabel: true - fundExternalClosedIssue: false + - plugin: https://ubiquibot-assistive-pricing-development.ubiquity.workers.dev + with: + labels: + time: + - "Time: <1 Hour" + - "Time: <2 Hours" + - "Time: <4 Hours" + - "Time: <1 Day" + - "Time: <1 Week" + - "Time: <1 Month" + priority: + - "Priority: 1 (Normal)" + - "Priority: 2 (Medium)" + - "Priority: 3 (High)" + - "Priority: 4 (Urgent)" + - "Priority: 5 (Emergency)" + basePriceMultiplier: 2 + publicAccessControl: + setLabel: true + fundExternalClosedIssue: false - skipBotEvents: false uses: - plugin: ubiquibot/conversation-rewards@development @@ -44,7 +44,7 @@ plugins: enabled: true formattingEvaluator: multipliers: - - role: [ ISSUE_SPECIFICATION ] + - role: [ISSUE_SPECIFICATION] multiplier: 3 rewards: regex: @@ -67,47 +67,47 @@ plugins: li: 1 td: 1 hr: 0 - - role: [ ISSUE_AUTHOR ] + - role: [ISSUE_AUTHOR] multiplier: 1 rewards: regex: "\\b\\w+\\b": 0.2 - - role: [ ISSUE_ASSIGNEE ] + - role: [ISSUE_ASSIGNEE] multiplier: 1 rewards: regex: "\\b\\w+\\b": 0.1 - - role: [ ISSUE_COLLABORATOR ] + - role: [ISSUE_COLLABORATOR] multiplier: 1 rewards: regex: "\\b\\w+\\b": 0.1 - - role: [ ISSUE_CONTRIBUTOR ] + - role: [ISSUE_CONTRIBUTOR] multiplier: 0.25 rewards: regex: "\\b\\w+\\b": 0.1 - - role: [ PULL_SPECIFICATION ] + - role: [PULL_SPECIFICATION] multiplier: 0 rewards: regex: "\\b\\w+\\b": 0 - - role: [ PULL_AUTHOR ] + - role: [PULL_AUTHOR] multiplier: 0 rewards: regex: "\\b\\w+\\b": 0.2 - - role: [ PULL_ASSIGNEE ] + - role: [PULL_ASSIGNEE] multiplier: 1 rewards: regex: "\\b\\w+\\b": 0.1 - - role: [ PULL_COLLABORATOR ] + - role: [PULL_COLLABORATOR] multiplier: 1 rewards: regex: "\\b\\w+\\b": 0.1 - - role: [ PULL_CONTRIBUTOR ] + - role: [PULL_CONTRIBUTOR] multiplier: 0.25 rewards: regex: @@ -118,32 +118,32 @@ plugins: post: true debug: false - uses: - - plugin: ubiquibot/user-activity-watcher@development - with: - watch: - optOut: - - ubiquibot - - launch-party - - staging - - production + - plugin: ubiquibot/user-activity-watcher@development + with: + watch: + optOut: + - ubiquibot + - launch-party + - staging + - production - uses: - - plugin: ubiquibot/automated-merging@development - with: - approvalsRequired: - collaborator: 1 - mergeTimeout: - collaborator: "3.5 days" - repos: - ignore: - - ubiquibot - - launch-party - - staging - - production + - plugin: ubiquibot/automated-merging@development + with: + approvalsRequired: + collaborator: 1 + mergeTimeout: + collaborator: "3.5 days" + repos: + ignore: + - ubiquibot + - launch-party + - staging + - production - uses: - - plugin: https://ubiquibot-command-start-stop-development.ubiquity.workers.dev - with: - reviewDelayTolerance: "3 Days" - taskStaleTimeoutDuration: "30 Days" - startRequiresWallet: true # default is true + - plugin: https://ubiquibot-command-start-stop-development.ubiquity.workers.dev + with: + reviewDelayTolerance: "3 Days" + taskStaleTimeoutDuration: "30 Days" + startRequiresWallet: true # default is true - uses: - - plugin: ubiquibot/issue-comment-embeddings@development + - plugin: ubiquibot/issue-comment-embeddings@development diff --git a/.github/workflows/sync-template.yml b/.github/workflows/sync-template.yml index dc92ad59..8b6c4358 100644 --- a/.github/workflows/sync-template.yml +++ b/.github/workflows/sync-template.yml @@ -3,7 +3,7 @@ name: Sync branch to template on: workflow_dispatch: schedule: - - cron: '14 0 1 * *' + - cron: "14 0 1 * *" jobs: sync: @@ -23,7 +23,7 @@ jobs: with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - + - name: Sync branch to template env: GH_TOKEN: ${{ steps.get_installation_token.outputs.token }} @@ -45,5 +45,3 @@ jobs: git commit -m "chore: sync template" git push "$original_remote" "$pr_branch" gh pr create --title "Sync branch to template" --body "This pull request merges changes from the template repository." --head "$pr_branch" --base "$branch_name" - - diff --git a/README.md b/README.md index 6fc48aed..786c985f 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,18 @@ A vanilla Typescript dApp for claiming Ubiquity Rewards. It also includes tools RPC_PROVIDER_URL="http://127.0.0.1:8545" PAYMENT_TOKEN_ADDRESS="0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d" + # Storing tx data is not required to test locally although you do need to fill these with valid values + # unless working on this feature specifically you won't need to build a supabase instance + SUPABASE_URL=https://.supabase.co # used for storing permit tx data + SUPABASE_ANON_KEY="...." # used for storing permit tx data + # Variables depending on spender (bounty hunter) AMOUNT_IN_ETH="1" BENEFICIARY_ADDRESS="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" + + # Legacy env vars (only used when invalidating **REAL** permits via /scripts/solidity/getInvalidateNonceParams.ts) + NONCE="0" + NONCE_SIGNER_ADDRESS="0x" ``` ## Local Testing diff --git a/package.json b/package.json index 6906f1b4..320cf0f0 100644 --- a/package.json +++ b/package.json @@ -91,4 +91,4 @@ "@commitlint/config-conventional" ] } -} \ No newline at end of file +} diff --git a/static/styles/rewards/pay.css b/static/styles/rewards/pay.css index 38dafb7e..a72e81d2 100644 --- a/static/styles/rewards/pay.css +++ b/static/styles/rewards/pay.css @@ -24,12 +24,13 @@ } html { - display:block; + display: block; width: 100%; height: 100%; } -body, main { +body, +main { width: 100%; height: 100%; }