summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2025-06-09 17:16:15 +0200
committerGitHub <noreply@github.com>2025-06-09 17:16:15 +0200
commitf2c88e0cf0a7732ee395f40fb9bf46106f6ada74 (patch)
treefcaa68ff7f90a82c4dabd0ba2bd3b2db039dbbdc
parent53fc812667b41efefc9f6b3372b2dd1574d7ce5d (diff)
downloadonion-newsreader-f2c88e0cf0a7732ee395f40fb9bf46106f6ada74.tar.gz
onion-newsreader-f2c88e0cf0a7732ee395f40fb9bf46106f6ada74.tar.xz
onion-newsreader-f2c88e0cf0a7732ee395f40fb9bf46106f6ada74.zip
Create TODO
-rw-r--r--TODO77
1 files changed, 77 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..a862e1f
--- /dev/null
+++ b/TODO
@@ -0,0 +1,77 @@
+๐Ÿ“‹ TODO List - Newsreader Improvements
+๐Ÿงต PRIORITY 1: Threading Implementation
+โŒ Current Issue
+
+Articles and replies appear as separate posts
+No visual thread grouping
+No hierarchical display of conversations
+Missing parent-child relationship indication
+
+โœ… Required Changes
+1.1 Backend Threading Logic
+
+ Parse References header to build thread relationships
+ Parse In-Reply-To header for direct parent identification
+ Create thread structure with parent-child mapping
+ Implement thread sorting (chronological within threads)
+ Add thread depth calculation for indentation levels
+ Handle orphaned messages (references to non-existent articles)
+
+1.2 Frontend Thread Display
+
+ Visual thread indentation (CSS margins based on depth)
+ Thread collapse/expand functionality
+ Thread navigation (jump to parent/child)
+ Visual thread indicators (lines, arrows, icons)
+ Thread statistics (replies count, participants)
+ Sort options (by thread, by date, by activity)
+๐Ÿ”— PRIORITY 2: Reply Field Population
+โŒ Current Issue
+
+Reply button opens m2usenet but fields remain empty
+No automatic data transfer between applications
+Manual copy-paste required for all reply data
+
+โœ… Required Solutions
+2.1 JavaScript Field Population
+
+ Implement URL parameter parsing in m2usenet client
+ Add JavaScript field population on page load
+ Handle URL encoding/decoding properly
+ Test cross-browser compatibility
+
+๐Ÿ’ฌ PRIORITY 3: Proper Reply Data Format
+โŒ Current Implementation
+Subject: Re: Re: Original Subject (duplicated Re:)
+References: [empty or incorrect format]
+Message: [no quoted content]
+โœ… Required Format
+3.1 Subject Handling
+
+ Smart "Re:" detection (case-insensitive, handle spaces)
+ Prevent "Re: Re:" duplication
+ Handle international "Re:" variants (Fw:, Fwd:, Aw:, etc.)
+ Preserve original subject encoding
+
+3.2 References Header Format
+
+ Ensure Message-ID has angle brackets <message-id>
+ Build complete References chain for proper threading
+ Handle multiple references (space-separated)
+ Validate Message-ID format before adding
+
+3.3 Quoted Message Format
+
+ Proper attribution line with author and date
+ Quote original message with ">" prefix
+ Handle signature separation (don't quote signatures)
+ Preserve original formatting while quoting
+ Add reply cursor position after quoted text
+
+๐Ÿ”ง PRIORITY 4: Technical Implementation
+4.1 URL Parameter Method (Recommended)
+
+ Modify m2usenet to read URL parameters on page load
+ Update newsreader reply URL with proper encoding
+ Test parameter limits (URL length restrictions)
+ Handle special characters in subject/content