aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/pages
diff options
context:
space:
mode:
authorMax Nanis2026-09-13 10:41:49 -0700
committerMax Nanis2026-09-13 10:41:49 -0700
commit83821dff9984fb950e53f23baf99d7a74fb88abd (patch)
treedc1246129c546e5519480db2e0500a01cd0f866f /jb-ui/src/pages
parentb2261f9101480afb31322cf620f028cdade0671c (diff)
downloadamt-jb-83821dff9984fb950e53f23baf99d7a74fb88abd.tar.gz
amt-jb-83821dff9984fb950e53f23baf99d7a74fb88abd.zip
refrences to HIT removed. Still can't test. Basic CashoutMethod retrival until backup updated. use of the new Wallets endpoint.
Diffstat (limited to 'jb-ui/src/pages')
-rw-r--r--jb-ui/src/pages/Preview.tsx8
-rw-r--r--jb-ui/src/pages/Result.tsx18
-rw-r--r--jb-ui/src/pages/Work.tsx33
3 files changed, 24 insertions, 35 deletions
diff --git a/jb-ui/src/pages/Preview.tsx b/jb-ui/src/pages/Preview.tsx
index 85e49f2..900621e 100644
--- a/jb-ui/src/pages/Preview.tsx
+++ b/jb-ui/src/pages/Preview.tsx
@@ -378,10 +378,10 @@ const Preview = () => {
Get paid to take surveys. Our algorithm attempts to pair you with
the highest paying survey available at the moment (right now, the
highest paying survey is {survey_max_cpi_f}) that you are eligible
- for, each attempt is a valid HIT. Try as many as you can, our system
- will self regulate you: we want to ensure you have a high chance of
- being paired with a survey based on what surveys are available, as
- their availability constantly changes.
+ for. Try as many as you can, our system will self regulate you: we
+ want to ensure you have a high chance of being paired with a survey
+ based on what surveys are available, as their availability
+ constantly changes.
</p>
</div>
</div>
diff --git a/jb-ui/src/pages/Result.tsx b/jb-ui/src/pages/Result.tsx
index 477f77e..6385bc7 100644
--- a/jb-ui/src/pages/Result.tsx
+++ b/jb-ui/src/pages/Result.tsx
@@ -21,9 +21,7 @@ export const Complete = () => {
<p className="text-emerald-700 text-2xl font-bold">
{ts?.user_payout_string}
</p>
- <p className="text-slate-300">
- You may close this tab and return to submit the HIT
- </p>
+ <p className="text-slate-300">You may close this tab</p>
</>
);
};
@@ -35,9 +33,7 @@ export const Enter = () => {
<p className="text-slate-800 text-lg font-bold">
You're currently in the Survey
</p>
- <p className="text-slate-300">
- You may close this tab and return to submit the HIT
- </p>
+ <p className="text-slate-300">You may close this tab</p>
</>
);
};
@@ -50,13 +46,11 @@ export const InComplete = () => {
return (
<>
- <h2 className="text-lg">HIT Complete</h2>
+ <h2 className="text-lg">Attempt Complete</h2>
<p className="text-rose-800 text-lg font-bold">
Survey terminated the attempt.
</p>
- <p className="text-slate-300">
- You may close this tab and return to submit the HIT
- </p>
+ <p className="text-slate-300">You may close this tab</p>
</>
);
};
@@ -68,9 +62,7 @@ export const Unknown = () => {
<p className="text-rose-800 text-lg font-bold">
You're not currently eligible for any Surveys
</p>
- <p className="text-slate-300">
- You may close this tab and return to submit the HIT
- </p>
+ <p className="text-slate-300">You may close this tab</p>
</>
);
};
diff --git a/jb-ui/src/pages/Work.tsx b/jb-ui/src/pages/Work.tsx
index dbe3601..50ed930 100644
--- a/jb-ui/src/pages/Work.tsx
+++ b/jb-ui/src/pages/Work.tsx
@@ -1,4 +1,5 @@
import { useGetMeQuery } from "@/models/authAPI";
+import { Link } from "react-router-dom";
import {
BucketTask,
OfferwallApi,
@@ -183,7 +184,7 @@ const Report = ({ onClose }: { onClose: () => void }) => {
hover:cursor-pointer hover:bg-rose-400 hover:text-rose-50"
onClick={clicked_submit}
>
- Submit and Complete HIT
+ Submit and Complete Attempt
</Button>
</div>
</div>
@@ -306,7 +307,7 @@ const SurveyMonitor = () => {
}
// This is if they have finished a survey complete and it resulted in a
- // COMPLETE or a INCOMPLETE (doesn't matter). They can now submit the HIT.
+ // COMPLETE or a INCOMPLETE (doesn't matter). They can now submit the Attempt.
//
// 2 - INCOMPLETE, 3 - COMPLETE
return (
@@ -326,7 +327,7 @@ const SurveyMonitor = () => {
py-2
text-zinc-500 text-md font-medium text-center"
>
- You may now submit the HIT.
+ You may now submit the attempt.
</p>
)}
</div>
@@ -351,7 +352,9 @@ const SurveyMonitor = () => {
pt-0 pb-4
text-red-950 text-sm font-semibold text-center"
>
- Please return the HIT to avoid having your assignment rejected.
+ <Link to="/" reloadDocument>
+ Click to Refresh and Try Again
+ </Link>
</p>
</div>
</>
@@ -368,7 +371,7 @@ const SurveyMonitor = () => {
hover:cursor-pointer hover:bg-emerald-400 hover:text-emerald-50"
onClick={() => setShowComplete(true)}
>
- Submit HIT
+ Finish Attempt
</button>
<button
@@ -393,15 +396,7 @@ const SurveyMonitor = () => {
className="
text-red-600 text-lg font-semibold text-center"
>
- Your balance is low. You cannot submit the HIT at this time.
- </p>
-
- <p
- className="
- pt-0 pb-4
- text-red-950 text-sm font-semibold text-center"
- >
- Please return the HIT to avoid having your assignment rejected.
+ Your balance is low.
</p>
</div>
)}
@@ -709,6 +704,8 @@ const SurveyEnter = () => {
new OfferwallApi()
.topNPlusBlockOfferwallProductIdOfferwallD48cce47Get(
bpid, // productId
+ // "7d9240132c695c05cd0ba47e2580158719f8215b",
+ // "71.225.51.26",
user.product_user_id,
undefined, // ip
undefined, // countryIso
@@ -760,12 +757,12 @@ const SurveyEnter = () => {
Your balance is low.
</h2>
<p className="px-4 py-2 text-center text-sm font-medium text-white">
- You may continue to attempt surveys, but you will be advised to
- return the HIT if your survey attempt does not result in a complete.
+ You may continue to attempt surveys, but you will not earn an
+ attempt credit if your survey attempt does not result in a complete.
</p>
<p className="px-4 py-2 text-center text-sm font-bold text-white">
- HIT submissions with a balance exceeding -$1.00 will return in
- rejected assignments.
+ Attempts with a balance exceeding -$1.00 will not be issued an
+ attempt credit.
</p>
</div>
)}