You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Implementation.md
+25-7Lines changed: 25 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,15 +114,31 @@ Go back through Phases 2–7 and make sure every case in the PRD's error table i
114
114
115
115
---
116
116
117
-
## Phase 11 — QA Pass
117
+
## Phase 11 — Sync Past Submissions
118
+
119
+
1. Implement GraphQL/API scraping to fetch all previously "Accepted" submissions from LeetCode.
120
+
2. Inject scraping script into a foreground tab to securely use CSRF cookies.
121
+
3. Batch queue these historical solutions through the `sync-engine` to prevent duplicate spam and handle rate limiting gracefully.
122
+
123
+
---
124
+
125
+
## Phase 12 — Multi Platform Support
126
+
127
+
1. Refactor or extend `PlatformAdapter` to handle sites like GeeksForGeeks or HackerRank.
128
+
2. Implement specific `GeeksForGeeksAdapter` including DOM observation and code extraction.
129
+
3. Update Options UI so users can select which platforms to sync from.
130
+
131
+
---
132
+
133
+
## Phase 13 — QA Pass
118
134
119
135
1. Manual test matrix: multiple languages, all 3 difficulties, all 4 folder structures, re-submission (duplicate + version-bump paths), rate-limit simulation (mock 403 response), token revocation mid-session.
120
136
2. Memory/perf sanity check — nothing in this PRD's original targets was load-bearing, but do confirm the popup doesn't lag and the content script isn't leaking listeners on SPA navigation (LeetCode is a SPA — watch for content script re-injection issues across problem navigations).
121
137
3. Fresh-profile install test — the exact first-run flow a new user hits, no dev-console assists.
122
138
123
139
---
124
140
125
-
## Phase 12 — Chrome Web Store Packaging
141
+
## Phase 14 — Chrome Web Store Packaging
126
142
127
143
1. Write the store listing emphasizing the security model (fine-grained PAT, single repo, no OAuth, no telemetry) — this is your actual differentiator, lead with it.
128
144
2. Privacy policy page (even a static one) — required for Web Store listing, and directly reinforces the trust positioning from your Guiding Philosophy section.
Phases 2 and 3 can be built in parallel (or in either order) since neither depends on the other — they only meet at Phase 4. Everything from Phase 5 onward is strictly sequential.
Copy file name to clipboardExpand all lines: PRD.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,13 +259,11 @@ Users can change repository, disconnect repository, or switch repositories.
259
259
260
260
# 8. V1.5 / V2 Features
261
261
262
-
## Import Existing History
262
+
## Import Existing History (Moved to V1)
263
263
264
264
Fetch all past accepted submissions and upload them retroactively, using the same `_v1`, `_v2` suffix scheme for any problem with multiple historical submissions.
265
265
266
-
*(Deferred from V1 — not required to prove the core detect → commit → README loop; adds meaningfully to initial scope and GitHub API load.)*
**V1** — LeetCode, GitHub Sync, README, PAT, Logs, Retry Queue, Duplicate Detection, Version History (`_v1`/`_v2` suffixing)
425
+
**V1** — LeetCode, GitHub Sync, README, PAT, Logs, Retry Queue, Duplicate Detection, Version History, Import Existing History, Multi Platform (GeeksForGeeks, HackerRank)
428
426
429
-
**V1.5 / V2** — Import Existing History, Multiple Platforms, Statistics Dashboard, Study Notes, Revision Planner, Multi-language Solutions, AI Explanation
427
+
**V1.5 / V2** — Statistics Dashboard, Study Notes, Revision Planner, Multi-language Solutions, AI Explanation
430
428
431
429
**V3 (not scoped)** — Plugin Marketplace, Self-hosted Sync, VS Code Companion, Mobile Companion — revisit after V2 ships, no commitments made in this document.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@
14
14
- By Language (`javascript/1-two-sum.js`)
15
15
- Flat structure
16
16
-**Duplicate Detection**: Intelligently hashes your code to prevent spamming your repo with identical submissions if you click "Submit" multiple times.
17
+
-**Offline Retry Queue**: If your internet drops or GitHub's API rate limits you, your submissions are safely stored in a local queue and automatically retried later.
18
+
-**Popup Dashboard**: Click the extension icon to view your sync status, see detailed logs, and manage any pending commits directly from the queue.
17
19
-**Smart Versioning**: Optionally keep a history of your attempts (e.g., `_v1`, `_v2`) or choose to overwrite them in place.
18
20
-**Auto-generated README**: Automatically maintains a markdown table and difficulty stats right in your repository.
19
21
-**File Headers**: Automatically prepends metadata (Title, Difficulty, Runtime, Memory, LeetCode URL) to every uploaded file.
0 commit comments