Skip to content

Commit 7e0b9b5

Browse files
committed
Release v1.0.2: UX, reliability, adapters, sharing, and test hardening
1 parent c1ed9f7 commit 7e0b9b5

49 files changed

Lines changed: 6570 additions & 377 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

INSTALL.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Simple step-by-step instructions to install and use the Web2Comics Chrome extens
2222
```
2323

2424
4. **Select the extracted Web2Comics release folder**
25-
- Navigate to the extracted folder (for example `Web2Comics-v1.0.1`)
25+
- Navigate to the extracted folder (for example `Web2Comics-v1.0.2`)
2626
- Select the folder that contains `manifest.json`
2727
- Click "Select Folder" or "Open"
2828

@@ -91,8 +91,8 @@ The extension needs AI providers to generate comics. You must configure at least
9191
- Click `Save Providers`
9292

9393
4. **Note**
94-
- Cloudflare Workers AI is currently supported for text generation in this extension
95-
- Use another provider for image generation
94+
- Cloudflare Workers AI supports both text and image generation in this extension
95+
- Exact model availability may vary by account and region
9696

9797
---
9898

@@ -102,11 +102,7 @@ The extension needs AI providers to generate comics. You must configure at least
102102

103103
1. **Navigate to any article** (news, blog, etc.)
104104
2. **Click the Web2Comics extension icon** in the toolbar
105-
3. You'll see:
106-
- Extracted content preview
107-
- Panel count selector (3-12 panels)
108-
- Style presets (Noir, Manga, etc.)
109-
- Provider selection
105+
3. Click **Create Comic** in the launcher and use defaults for a fast first run, or expand options to customize.
110106
4. **Click "Generate Comic"**
111107
5. Wait for generation (progress shown)
112108
6. **Click "Open Comic Viewer"** to see your comic!
@@ -152,7 +148,7 @@ Check:
152148
1. API key is configured
153149
2. You haven't exceeded rate limits
154150
3. Network is working
155-
4. Using a provider that supports images (Gemini or OpenAI)
151+
4. Using a provider that supports images (Gemini, OpenAI, Cloudflare, OpenRouter, or Hugging Face depending on your account/model access)
156152
```
157153

158154
### Service worker errors
@@ -176,7 +172,7 @@ Check chrome://extensions > Service worker for logs.
176172
## What's Included
177173

178174
```
179-
Web2Comics-v1.0.1/
175+
Web2Comics-v1.0.2/
180176
├── manifest.json # Extension config
181177
├── popup/ # Main popup UI
182178
├── sidepanel/ # Comic viewer
@@ -200,4 +196,4 @@ Web2Comics-v1.0.1/
200196

201197
---
202198

203-
*Version 1.0.1 | Last Updated: 2026-02-26*
199+
*Version 1.0.2 | Last Updated: 2026-02-28*

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@ Web2Comics is a Chrome extension that:
1010
- generates panel images
1111
- shows the result in a comic viewer side panel
1212
- saves history and exports a single composite comic image
13+
- supports right-click selected-text flows (instant generate or open composer prefilled)
1314

1415
## Install (Release ZIP)
1516

1617
Release links:
1718
- [Releases page](https://github.com/ApartsinProjects/Web2Comics/releases)
18-
- [Current release (`v1.0.1`) ZIP](https://github.com/ApartsinProjects/Web2Comics/releases/download/v1.0.1/Web2Comics-v1.0.1-extension.zip)
19+
- [Current release (`v1.0.2`) ZIP](https://github.com/ApartsinProjects/Web2Comics/releases/download/v1.0.2/Web2Comics-v1.0.2-extension.zip)
1920

2021
1. Open the repository `Releases` page on GitHub (link above).
21-
2. Download the latest release asset ZIP (for example `Web2Comics-v1.0.1-extension.zip`).
22+
2. Download the latest release asset ZIP (for example `Web2Comics-v1.0.2-extension.zip`).
2223
3. Extract the ZIP to a folder (for example `C:\Web2Comics`).
2324
4. Open Chrome and go to `chrome://extensions`.
2425
5. Turn on `Developer mode` (top-right).
2526
6. Click `Load unpacked`.
26-
7. Select the extracted folder that contains `manifest.json` (for example `Web2Comics-v1.0.1`).
27+
7. Select the extracted folder that contains `manifest.json` (for example `Web2Comics-v1.0.2`).
2728
8. In `chrome://extensions`, confirm the `Web2Comics` card is enabled (toggle ON).
2829
9. Open the Chrome Extensions menu (puzzle icon), find `Web2Comics`, and click the pin icon to show it in the toolbar.
2930
10. Open the extension and configure a [`Google Gemini` API key (free tier)](docs/Gemini_key.md) in `Options -> Providers` (recommended first-run setup).
@@ -39,13 +40,14 @@ Note: `Code -> Download ZIP` downloads the full source repository. Use the relea
3940
- Track live progress (elapsed time + ETA)
4041
- Review history of generated comics
4142
- Export a single PNG comic sheet with captions and source URL
43+
- Share to Facebook, X, LinkedIn, WhatsApp, Telegram, Reddit, or Email (plus copy-link/caption flows)
4244

4345
## Supported Providers
4446

4547
Current provider support:
4648
- OpenAI
4749
- Google Gemini
48-
- Cloudflare Workers AI (text only in current extension build)
50+
- Cloudflare Workers AI (text + image)
4951
- OpenRouter (model/account dependent)
5052
- Hugging Face Inference API
5153

@@ -85,7 +87,7 @@ Some sample outputs may come from earlier probe/test runs and may not exactly ma
8587

8688
### Cloudflare Workers AI
8789

88-
Cloudflare support in the current extension is text generation only. This sample is kept as a reference artifact from prior provider testing/output workflows.
90+
Cloudflare Workers AI supports both text and image generation in the current extension build (account/token and model availability dependent).
8991

9092
![Cloudflare CNN comic sample](samplecomics/2026-02-25_13-38-32/cloudflare-cnn-comic-sheet.png)
9193

@@ -141,6 +143,11 @@ For step-by-step key/token instructions, see:
141143
7. Review the comic in the side panel.
142144
8. Click `Download` to export a single comic sheet PNG.
143145

146+
Optional selected-text right-click flow:
147+
1. Highlight text on any page.
148+
2. Right-click.
149+
3. Choose `Generate comic from selected text (Default)` for instant generation, or `Open Create Comic with selected text` to review/customize before generating.
150+
144151
## Project Structure (Quick Overview)
145152

146153
- `background/` - service worker, provider orchestration, generation pipeline

RELEASE_NOTES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Web2Comics Release Notes
2+
3+
## v1.0.2 (2026-02-28)
4+
5+
### Highlights
6+
- Improved context-menu generation reliability and settings propagation.
7+
- Added broader integration coverage for context-menu generation/composer flows.
8+
- Hardened popup integration tests to reduce readiness-related flakiness.
9+
- Expanded resilience checks for side-panel/popup fallback behavior.
10+
11+
### Quality
12+
- Full automated test suite executed:
13+
- `npm run test`
14+
- `npm run test:e2e`
15+
16+
### Packaging
17+
- Release artifact: `Web2Comics-v1.0.2-extension.zip`
18+
- Built via: `scripts/package-release.ps1`

background/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Extension background/service-worker logic: generation orchestration, provider routing, storage, progress, and diagnostics.
55

66
## Contents
7-
- `service-worker.js` : Main extension service worker. Handles message routing (`START_GENERATION`, `GET_STATUS`, `TEST_PROVIDER_MODEL`), provider selection, storyboard/image generation orchestration, retries/timeouts, progress updates, storage persistence/history, refusal-handling policy, and provider implementations (OpenAI, Gemini, Cloudflare, OpenRouter, Hugging Face).
7+
- `service-worker.js` : Main extension service worker. Handles message routing (`START_GENERATION`, `GET_STATUS`, `TEST_PROVIDER_MODEL`, panel edits, optional OAuth connection actions), provider selection, storyboard/image generation orchestration, retries/timeouts, progress updates, storage persistence/history, refusal-handling policy, context-menu flows for selected text (instant generate + open composer prefill), provider implementations (OpenAI, Gemini, Cloudflare, OpenRouter, Hugging Face), and optional Google Drive HTML backup upload.
88

99
## Artifacts
1010
- No generated artifacts are expected here. Runtime state (jobs, history, debug logs) is stored in `chrome.storage.local`, not as files in this folder.

brainstorm.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Web2Comics Brainstorm: Google PM x Meta PM
2+
3+
## Simulated Conversation
4+
5+
**Google PM:** We need to optimize first-run success. If users do not get value in under 15 seconds, retention drops hard.
6+
**Meta PM:** Agree. But success is not just generation speed, it is share-worthiness. The output must look post-ready immediately.
7+
8+
**Google PM:** Then default flow should be two clicks only: `Create Comic -> Generate`, with smart auto-selection of source content.
9+
**Meta PM:** Yes, and surface confidence before generation so users trust what is being summarized.
10+
11+
**Google PM:** We should add intent presets and tune prompts per intent.
12+
**Meta PM:** And pair that with lightweight, inline edits so creators can quickly polish before sharing.
13+
14+
**Google PM:** Reliability must be excellent on high-traffic domains and social pages.
15+
**Meta PM:** Plus explicit transparency: facts used, source attribution, and one-click jump back to source.
16+
17+
**Google PM:** Sharing should be one-tap presets for each platform format.
18+
**Meta PM:** Add remix loops and saved creator styles to drive repeat usage.
19+
20+
**Google PM:** We should instrument the full funnel deeply.
21+
**Meta PM:** Yes: creation, edit, share, and return behavior by domain and preset.
22+
23+
**Google PM:** Let us align on top ten and sequence by impact.
24+
**Meta PM:** Agreed. Let us ship these as focused change requests.
25+
26+
## Agreed Top 10 Change Requests
27+
28+
1. **CR-01: Two-click guided first run**
29+
- Force onboarding flow to `Create Comic -> Generate` with advanced options hidden until first successful comic.
30+
31+
2. **CR-02: Sub-15s first visible value**
32+
- Default to fastest model, 3 panels, lightweight image settings, and stream first panel as soon as available.
33+
34+
3. **CR-03: Auto-pick best source block with confidence**
35+
- Automatically select best content section; show High/Medium/Low grounding confidence and only show manual picker when confidence is low.
36+
37+
4. **CR-04: Intent presets with prompt tuning**
38+
- Add presets (`News Recap`, `ELI5`, `Learn Step-by-Step`, `Meeting Notes`, `Timeline`, `Compare Views`) with tuned generation defaults and prompts.
39+
40+
5. **CR-05: Domain reliability program (top sites + social)**
41+
- Ship robust adapters + fallback extraction for top-tier news, docs, wiki, and social domains; include automatic retries and clear fallback messaging.
42+
43+
6. **CR-06: Inline per-panel refinement controls**
44+
- Add `Regenerate panel`, `Regenerate caption`, `Make more factual`, `Make simpler`, without re-running entire comic.
45+
46+
7. **CR-07: Trust and attribution layer**
47+
- For each panel, show facts/entities/dates/numbers used and source snippet; provide one-click jump to source context.
48+
49+
8. **CR-08: Social-first export and sharing presets**
50+
- One-tap export/share presets for X, LinkedIn, Facebook, Instagram Story/Reel cover, and Email with title + source attribution card.
51+
52+
9. **CR-09: Remix and creator memory loop**
53+
- Add `Remix this page/comic`, save reusable theme/style presets, and support quick re-generation from prior outputs.
54+
55+
10. **CR-10: Funnel instrumentation and experiment framework**
56+
- Track `time-to-first-panel`, extraction success by domain, edit rate, share rate, and retention cohorts by preset; run A/B experiments on onboarding and defaults.
57+

content/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Content script code for extracting page text/content from the active tab.
55

66
## Contents
7-
- `content-script.js` : JavaScript source code.
7+
- `content-script.js` : Content extraction runtime with generic scoring fallback plus site adapters (including Wikipedia/news/social patterns such as Facebook/X/LinkedIn), candidate summaries, quality checks, and selected/full extraction modes.
88

99
## Artifacts
1010
- No obvious generated artifacts in this directory (or artifacts are stored elsewhere).

0 commit comments

Comments
 (0)