From f2c88e0cf0a7732ee395f40fb9bf46106f6ada74 Mon Sep 17 00:00:00 2001 From: Gab <24553253+gabrix73@users.noreply.github.com> Date: Mon, 9 Jun 2025 17:16:15 +0200 Subject: Create TODO --- TODO | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 TODO 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 + 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 -- cgit v1.2.3