Skip to content

Commit 5e78f62

Browse files
committed
docs(github-jobs): add todos
1 parent 04f915f commit 5e78f62

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

legacy/github-jobs/TODO.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# TODO
2+
3+
## FIX
4+
5+
- `?q=web&location=New+York` returns error `No jobs found for: web`
6+
7+
Correct response:
8+
9+
```json
10+
{
11+
"search_metadata": {
12+
"id": "69533c8802ab8cbefce33a92",
13+
"status": "Success",
14+
"json_endpoint": "https://serpapi.com/searches/5207db3214fadf61/69533c8802ab8cbefce33a92.json",
15+
"created_at": "2025-12-30 02:44:24 UTC",
16+
"processed_at": "2025-12-30 02:44:24 UTC",
17+
"google_jobs_url": "https://www.google.com/search?q=web&uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&hl=en&gl=us&udm=8",
18+
"raw_html_file": "https://serpapi.com/searches/5207db3214fadf61/69533c8802ab8cbefce33a92.html",
19+
"total_time_taken": 2.25
20+
},
21+
"search_parameters": {
22+
"q": "web",
23+
"engine": "google_jobs",
24+
"location_requested": "New York, United States",
25+
"location_used": "New York,United States",
26+
"google_domain": "google.com",
27+
"hl": "en",
28+
"gl": "us"
29+
}
30+
}
31+
```
32+
33+
Error response:
34+
35+
```json
36+
{
37+
"search_metadata": {
38+
"id": "69533c56ac17659c3750f859",
39+
"status": "Success",
40+
"json_endpoint": "https://serpapi.com/searches/65be5ba33ce26616/69533c56ac17659c3750f859.json",
41+
"created_at": "2025-12-30 02:43:34 UTC",
42+
"processed_at": "2025-12-30 02:43:34 UTC",
43+
"google_jobs_url": "https://www.google.com/search?q=web&uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&udm=8",
44+
"raw_html_file": "https://serpapi.com/searches/65be5ba33ce26616/69533c56ac17659c3750f859.html",
45+
"total_time_taken": 2.06
46+
},
47+
"search_parameters": {
48+
"q": "web",
49+
"engine": "google_jobs",
50+
"location_requested": "New York",
51+
"location_used": "New York,United States",
52+
"google_domain": "google.com"
53+
},
54+
"search_information": {
55+
"jobs_results_state": "Fully empty"
56+
},
57+
"error": "Google hasn't returned any results for this query."
58+
}
59+
```

legacy/github-jobs/src/Home.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const Home = () => {
1818
<SearchOptions />
1919
<main>
2020
{status === STATUS.LOADING && <RingSpinner size="large" />}
21+
{/* TODO: add styles for error, similar to .remaining-searches__error */}
2122
{status === STATUS.ERROR && <p className="error">{error.message}</p>}
2223
{status === STATUS.SUCCESS && <Results jobs={jobs} />}
2324
{pages > 1 && <Pagination />}

0 commit comments

Comments
 (0)