Commit Graph

208 Commits

Author SHA1 Message Date
3acaf230c4 fix: Improve submit error handling on API and refactor client with async/await
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 23:02:29 +00:00
7b84573dd8 fix: Improve error handling for non-JSON server responses in Submit
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:59:15 +00:00
7523426f15 feat: Display detailed submission errors to user
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:56:48 +00:00
b2ec85cfa5 feat: Display detailed, expandable connection error in Comments component
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:51:14 +00:00
8c201d5c2e fix: Conditionally render error details to avoid layout gap
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:45:58 +00:00
a21c84efc6 refactor: Improve article loading error and cache messages 2025-11-21 22:45:54 +00:00
15aa413584 fix: Prevent layout shift when error message appears
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:39:34 +00:00
e9ee231954 feat: Persist new stories and improve layout consistency 2025-11-21 22:39:32 +00:00
62d5915133 feat: Add detailed, expandable error messages to Article component
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:34:24 +00:00
61ec583882 feat: Show preload progress on fetch failure
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 00:59:14 +00:00
1443fdcc32 style: Improve error messages and loading text, add spacing to error details 2025-11-21 00:59:12 +00:00
f2310b6925 fix: Provide detailed error for story fetch failures
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 00:50:58 +00:00
aa80570da4 fix: Display network error on API fetch failure
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 00:49:14 +00:00
7d0e60f5f0 fix: Provide detailed error messages for network failures
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 00:45:59 +00:00
21b5d67052 feat: Show detailed connection errors in collapsible section 2025-11-21 00:41:57 +00:00
53468c8ccd feat: Add 10s timeout and early exit for story preloading on error
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 00:34:17 +00:00
6cfb4b317f feat: Immediately display stories on first load
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-20 23:02:59 +00:00
f08202d592 fix: Always fetch full story and update existing in feed
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-20 22:58:44 +00:00
5a7f55184d Begin stats API route 2025-11-20 22:25:26 +00:00
e84062394b Ignore aider files 2025-11-20 22:25:20 +00:00
e867d5d868 Add debug logging, debug add manual submissions to feed 2025-11-20 21:55:45 +00:00
845d87ec55 Logging 2025-11-19 19:17:38 +00:00
e18aaad741 fix: Batch story list updates and limit length
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-19 19:17:38 +00:00
02e86efb4f chore: Add console log for stories 2025-11-19 19:17:38 +00:00
b85d879ae7 fix: Fix infinite loop in Feed by removing stories from useEffect deps
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-19 19:17:38 +00:00
55bf75742e refactor: Refactor Feed story fetching for improved network resilience
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-19 19:17:38 +00:00
83cb6fc0ae chore: Disable story updates and preloading logic 2025-11-19 19:17:38 +00:00
667c2c5eaf refactor: Refactor dot components to functional 2025-11-19 19:17:38 +00:00
1df1c59d61 refactor: Refactor Submit component to use hooks 2025-11-19 19:17:38 +00:00
c4f2e7d595 refactor: Refactor Search component to use hooks 2025-11-19 19:17:38 +00:00
f61cfc09b0 refactor: Convert ScrollToTop to functional component with hooks 2025-11-19 19:17:38 +00:00
366e76e25d refactor: refactor Results component to functional component 2025-11-19 19:17:38 +00:00
6f1811c564 Update webclient dependencies 2025-11-19 19:17:38 +00:00
443115ac0f refactor: Refactor Feed component to functional with hooks 2025-11-19 19:17:38 +00:00
034c440e46 refactor: Convert Comments class to functional using hooks 2025-11-19 19:17:38 +00:00
26a6353ca5 refactor: Rename Article component to Comments 2025-11-19 19:17:38 +00:00
7ac4dfa01c refactor: Refactor Article component to use hooks 2025-11-19 19:17:38 +00:00
633429c976 refactor: Convert App class component to functional component 2025-11-19 19:17:38 +00:00
5cdbf6ef54 Ignore blank hackernews titles 2025-11-19 19:17:38 +00:00
f1a30d0af2 Skip "Removed by moderator" stories 2025-09-27 17:38:50 +00:00
9ec61ea5bc Ignore dead and political stories 2025-05-27 18:47:17 +00:00
bdc7a6c10d Fix Better HN api content extraction 2025-02-01 22:39:13 +00:00
4858516b01 Add Better HN as an API backup 2025-02-01 21:42:06 +00:00
f10e6063fc Bug fixes 2025-02-01 20:31:35 +00:00
249a616531 Alert on story update error 2024-03-16 20:41:24 +00:00
ab92bd5441 Adjust score and comment thresholds 2024-03-08 03:08:18 +00:00
6b16a768a7 Fix deletion script 2024-03-08 03:08:03 +00:00
57de076fec Increase database timeout 2024-02-27 18:48:56 +00:00
074b898508 Fix lobsters comment parsing 2024-02-27 18:47:00 +00:00
f049d194ab Move scripts into own folder 2024-02-27 18:32:29 +00:00