summaryrefslogtreecommitdiffstats
path: root/TODO
blob: a862e1f04cb0547292def5d4296f3bfe37fb3d92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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