Skip to content

Commit da1cd27

Browse files
authored
Merge pull request #15 from roast-dev/2-implement-paywall-logic-in-browser-ext
Paywall Logic & UI
2 parents 8cb8a6d + a973f21 commit da1cd27

34 files changed

+1195
-128
lines changed

.github/workflows/apps_stripe_customer_verification_publish_preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches-ignore:
66
- main
7+
paths:
8+
- 'apps/stripe-customer-verification/**'
79

810
jobs:
911
deploy:

apps/browser-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"dev": "vite dev --port 5174",
7-
"build-extension": "vite build && tsc ./build/*.ts && zip -r ./roast-extension.zip ./build",
7+
"build:extension": "vite build && tsc ./build/*.ts && zip -r ./roast-extension.zip ./build",
88
"preview": "vite preview",
99
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1010
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default [
2+
`You're on fire today! Ready for unlimited roasts? 🔥`,
3+
`You've used up your free roasts! Ready to go unlimited? 🔥`,
4+
`Enjoyed the roasts? There's plenty more where that came from 🔥`,
5+
`Your code deserves unlimited roasts! (Your team will thank you) 🔥`,
6+
`High five for 10 roasts! Ready to make every PR awesome? ✨`,
7+
`Save hours of review time for just $9? That's a steal! 🎯`
8+
];

apps/browser-extension/src/lib/config/initial-prompt-claude.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ At the same time I want you to be constructive - point out issues and provide re
88
99
Also, if you see that the code is well-written, point it out just at the end, but do this in a funny way.
1010
11-
Overall, try not to be too verbose, but take your time with the roasting.`;
11+
And one last important thing is — if you have a hard time finding issues, don't make them up. Just say that the code is good and you're impressed. But if you do find issues, don't hold back.
12+
13+
Overall, try not to be too verbose and take your time with the roasting.`;

apps/browser-extension/src/lib/config/initial-prompt-gemini.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ At the same time I want you to be constructive - point out issues and provide re
1515
1616
Also, if you see that the code is well-written, point it out just at the end, but do this in a funny way.
1717
18+
And one last important thing is — if you have a hard time finding issues, don't make them up. Just say that the code is good and you're impressed. But if you do find issues, don't hold back.
19+
1820
Overall, try not to be too verbose, but take your time with the roasting.
1921
2022
You don't need to be super polite, actually be a bit cocky and funny, but don't be rude. The goal is to make the code author laugh and learn from the feedback.

apps/browser-extension/src/lib/config/initial-prompt-gpt.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ At the same time I want you to be constructive - point out issues and provide re
1414
1515
Also, if you see that the code is well-written, point it out just at the end, but do this in a funny way.
1616
17+
And one last important thing is — if you have a hard time finding issues, don't make them up. Just say that the code is good and you're impressed. But if you do find issues, don't hold back.
18+
1719
Overall, try not to be too verbose, but take your time with the roasting.
1820
1921
You don't need to be super polite, actually be a bit cocky and funny, but don't be rude. The goal is to make the code author laugh and learn from the feedback.

0 commit comments

Comments
 (0)