Commit Graph

320 Commits

Author SHA1 Message Date
Tanner d2aab946dc feat: Add domain exclusion to smallweb list loading 2025-12-04 22:18:19 +00:00
Tanner cf092908eb feat: Add smallweb filter checkbox and server-side filtering
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 22:09:11 +00:00
Tanner ab48c8ab1e Put the loading status down below 2025-12-04 21:10:20 +00:00
Tanner 56f27efa68 fix: Detect and render inline math using single dollar delimiters
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:56:14 +00:00
Tanner b36b437c19 fix: Convert inline align environments to display math
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:50:48 +00:00
Tanner 86b9ab6479 chore: Adjust console.log placement in Article component 2025-12-04 20:45:21 +00:00
Tanner a6537e27d3 chore: Add debug log for math block detection 2025-12-04 20:42:55 +00:00
Tanner bbe02400e8 fix: Render LaTeX expressions that are entire element contents
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:35:51 +00:00
Tanner 283952a31b Add latex packages 2025-12-04 20:31:40 +00:00
Tanner 15314874b5 feat: Add LaTeX math rendering support
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 20:29:13 +00:00
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 78734b1dc9 Move logos into public directory 2025-12-04 19:54:56 +00:00
Tanner dc5aca5999 Downgrade humanize 2025-12-04 19:53:13 +00:00
Tanner b58610cf19 Freeze requirements 2025-12-04 19:51:42 +00:00
Tanner b476741b96 Don't locate css file on server 2025-12-04 19:49:19 +00:00
Tanner 07b2a702f8 chore: Remove conditional CSS import and improve alt attributes 2025-12-04 19:29:04 +00:00
Tanner dae6f831c3 feat: Display relative time on non-JS article info line
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 19:11:27 +00:00
Tanner 021c6cab59 style: Remove zero-width spaces from story info 2025-12-04 19:11:24 +00:00
Tanner 30fde32b28 feat: Render homepage feed server-side
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:42:14 +00:00
Tanner 7839fced8d feat: Include QotNews header for non-JS users
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:38:19 +00:00
Tanner 099d777faa feat: Add relative timestamps and permalinks to comments
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:35:43 +00:00
Tanner 518c9fe765 fix: Widen comments container on story page
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:32:57 +00:00
Tanner cf0fb085b6 refactor: Align non-JS comments page structure and style
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:29:41 +00:00
Tanner d1ec2a1a62 style: Match non-JS article page styling and layout to JS version
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:26:06 +00:00
Tanner e463a6da53 feat: Link compiled CSS bundle for non-JS client
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:16:50 +00:00
Tanner fe0a4dedb4 feat: Add static rendering for article pages
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:01:00 +00:00
Tanner d62d99f05c Only wrap code in comments 2025-12-03 04:18:36 +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 7db174a249 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
Tanner 4b10320a03 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
Tanner dc3583daaa 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
Tanner 9681b3b8e9 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
Tanner b606516ece 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
Tanner 2cb524d35e Mark deleted / empty comments 2025-12-02 23:39:24 +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