Commit Graph

283 Commits

Author SHA1 Message Date
Tanner 8036fc9c1b fix: Remove single dollar sign math rendering due to false positives
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-05 17:24:40 +00:00
Tanner bdf5c5b533 Fix dt dd tags margin 2025-12-05 00:59:02 +00:00
Tanner 735165b4e5 fix: Adjust comment metadata indentation in comments
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-05 00:49:13 +00:00
Tanner a405d2276f fix: Refactor comments with DL/DD for text browser compatibility
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-05 00:45:00 +00:00
Tanner b3fc59f60a chore: Remove unused nojs div 2025-12-05 00:44:58 +00:00
Tanner ac0436e997 Fix buttons in color themes 2025-12-05 00:35:06 +00:00
Tanner c9ebc60087 Clear stories first on checkbox change 2025-12-04 23:12:30 +00:00
Tanner 546285d7f3 Don't setStories when existing list is empty 2025-12-04 22:57:26 +00:00
Tanner 1b1b938ac7 Style checkbox 2025-12-04 22:55:23 +00:00
Tanner fa7354a376 fix: Implement custom transparent checkbox for dark mode visibility
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 22:31:11 +00:00
Tanner 01b0e87a79 style: Apply transparent background to checkboxes 2025-12-04 22:31:07 +00:00
Tanner 32e438d15a fix: Cancel pending story fetches on filter change to prevent UI jumps
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 22:24:28 +00:00
Tanner 32355ff408 feat: Fetch smallweb stories iteratively until limit met
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 22:18:22 +00:00
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