|
|
5ebe87dbc2
|
refactor: Optimize nodes() calls and simplify function in Article
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 03:50:10 +00:00 |
|
|
|
a8a36b693e
|
fix: Render void elements correctly and copy all attributes
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 03:12:51 +00:00 |
|
|
|
60eefb4b27
|
refactor: Implement recursive rendering to detect and convert code blocks
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 02:52:07 +00:00 |
|
|
|
8f5dae4bdc
|
fix: Unwrap single-child wrapper elements in nodes function
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 02:46:20 +00:00 |
|
|
|
89a511efc0
|
chore: Add debug log to isCodeBlock function
|
2025-12-03 02:46:18 +00:00 |
|
|
|
504fe745ea
|
fix: Relax isCodeBlock check for nested code elements
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 02:37:58 +00:00 |
|
|
|
762e8a9a2e
|
refactor: Refactor nodes logic from useMemo to a regular function
|
2025-12-03 02:37:56 +00:00 |
|
|
|
6dc47f6672
|
refactor: Extract code block detection into isCodeBlock function
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 01:46:19 +00:00 |
|
|
|
da108f25d4
|
fix: Detect code blocks nested in pre tags for conversion
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 01:43:33 +00:00 |
|
|
|
a2303841ec
|
fix: Show 'Convert Code to Paragraph' button for <code> elements
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 01:37:08 +00:00 |
|
|
|
0e7aedbc5e
|
fix: Adjust spacing below comment text content
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 01:28:10 +00:00 |
|
|
|
ec7d395407
|
fix: Wrap text in <pre> blocks to prevent horizontal overflow
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 00:58:39 +00:00 |
|
|
|
fd5acd4861
|
refactor: Convert 'show more' div to semantic button
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 00:50:58 +00:00 |
|
|
|
b1d4fc2903
|
refactor: Convert collapser span to button for accessibility
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-03 00:48:22 +00:00 |
|
|
|
0f87d47536
|
refactor: Remove unnecessary useCallback from comment functions
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 23:53:40 +00:00 |
|
|
|
8472907730
|
Mark deleted / empty comments
|
2025-12-02 23:39:24 +00:00 |
|
|
|
482753e96a
|
Add a copy button to the article title
|
2025-12-02 23:19:31 +00:00 |
|
|
|
169a84faa1
|
fix: Align article title and copy button, correct icon font
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 23:19:31 +00:00 |
|
|
|
6fa929fb1f
|
style: Update copy link button font
|
2025-12-02 23:19:31 +00:00 |
|
|
|
5f02a95cf3
|
fix: Improve copy button icon display and alignment
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 23:19:31 +00:00 |
|
|
|
1789f88d4d
|
style: Style copy button icon
|
2025-12-02 23:19:31 +00:00 |
|
|
|
f5eab47496
|
feat: Use icons for copy link button feedback
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 23:19:31 +00:00 |
|
|
|
985e596790
|
feat: Add button to copy article title and URL to clipboard
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 23:19:31 +00:00 |
|
|
|
30298928f3
|
Move static build directory to apiserver/
|
2025-12-02 22:38:49 +00:00 |
|
|
|
8d7d692d9c
|
refactor: Iterate through stories in order for prioritized updates
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 22:37:58 +00:00 |
|
|
|
bd85127613
|
fix: Unregister service worker
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 17:13:52 +00:00 |
|
|
|
4c9d5eede1
|
Revert ScrollToTop component back to class-based
|
2025-12-02 17:02:03 +00:00 |
|
|
|
bf3e6bbc28
|
Don't setStories every loop iteration
|
2025-12-02 16:52:32 +00:00 |
|
|
|
856c360d98
|
feat: Add loading progress indicator to Feed
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
|
2025-12-02 01:20:27 +00:00 |
|
|
|
1ce55e6d1f
|
feat: Add fetching stories placeholder
|
2025-12-02 01:20:25 +00:00 |
|
|
|
6a329e3ba9
|
Misc fixes
|
2025-12-01 21:07:01 +00:00 |
|
|
|
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 |
|