Commit Graph

42 Commits

Author SHA1 Message Date
Tanner 87f74e4422 fix: Extend direct HTML rendering to math elements
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:24:08 +00:00
Tanner 78f09ab937 fix: Prevent React warnings for SVG attributes
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:23:08 +00:00
Tanner a173858629 fix: Refine code block detection to ignore inline <code>
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-03 03:57:08 +00:00
Tanner ddb969125d fix: Refine code block detection to exclude inline code
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-03 03:55:18 +00:00
Tanner edc312b5be fix: Use textContent for code block conversion to prevent content loss
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-03 03:51:33 +00:00
Tanner d66747fdb1 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
Tanner b798fd7456 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
Tanner 721af4beca 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
Tanner 8c0caf1c39 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
Tanner 28e92a057f chore: Add debug log to isCodeBlock function 2025-12-03 02:46:18 +00:00
Tanner 9840859aff 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
Tanner 98e9f64f1f refactor: Refactor nodes logic from useMemo to a regular function 2025-12-03 02:37:56 +00:00
Tanner c78cdf2c4d 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
Tanner d99144f4d8 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
Tanner 6060acb676 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
Tanner 2c86b4d144 Add a copy button to the article title 2025-12-02 23:19:31 +00:00
Tanner 66deed7544 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
Tanner e117ffe56c style: Update copy link button font 2025-12-02 23:19:31 +00:00
Tanner adf1f079e4 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
Tanner e756545d2c 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
Tanner 97e15be797 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
Tanner 1fad0459b8 refactor: Improve article loading error and cache messages 2025-11-21 22:45:54 +00:00
Tanner 8df6cb7b36 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
Tanner 79b857548b feat: Persist new stories and improve layout consistency 2025-11-21 22:39:32 +00:00
Tanner c1a6938a50 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
Tanner Collin (aider) 135146d8ee refactor: Refactor Article component to use hooks 2025-11-19 19:17:38 +00:00
Tanner c1aede8f1f Adjust title 2022-06-30 00:05:15 +00:00
Tanner 0d00ec40b0 Change header based on page 2022-06-30 00:00:30 +00:00
Tanner 6cc24281d9 Add index / noindex to client 2022-06-29 23:30:39 +00:00
Tanner 0ac23028b2 Fix bug with rendering text nodes 2020-10-26 21:58:36 +00:00
Tanner 56302077ad Add buttons to convert <pre> to <p> 2020-10-03 23:23:25 +00:00
Tanner 7719acee01 Fix cache load race condition bug 2020-01-28 04:20:48 +00:00
Tanner 700fd8d6a6 Get rid of lint warnings 2019-10-22 07:31:59 +00:00
Tanner 5de8631115 Cache articles in memory for speed 2019-10-18 21:26:22 +00:00
Tanner 6bd3bf1090 Cache all articles in IndexedDB 2019-10-12 23:41:31 +00:00
Tanner f798c06a9b Move archive to Whoosh and add search 2019-10-12 05:32:17 +00:00
Tanner d49e686f8f Set title on article and comment pages, add comment anchors 2019-10-10 21:52:28 +00:00
Tanner 9a2854c735 Add site logos, keep displaying news on error 2019-09-24 08:23:14 +00:00
Tanner 5f999b6263 Snip deeply nested comments 2019-08-26 01:37:50 +00:00
Tanner 64d29c8e77 Add a button to toggle between article and comments 2019-08-25 08:50:49 +00:00
Tanner 7b97ca6786 Add fonts, fix styling issues 2019-08-25 07:46:58 +00:00
Tanner 7bb72f9b96 Finish prototype web client 2019-08-24 05:04:51 +00:00