Commit a4c74b7
authored
* feat: add FlagIcon component
* feat: add ReportButton component
Opens a pre-filled Google Form with the chapter URL and current date
for users to report broken recaps.
* feat: show report button in popup on chapter pages
Detects the active tab URL and conditionally renders the ReportButton
in the popup header when the user is on a RoyalRoad chapter page.
* feat: wire up Google Form for popup report button
Replace placeholder form URL and field IDs with actual Google Form.
Remove date field since Google Sheets adds a timestamp automatically.
* feat: add openUrl message handler to background script
* feat: add report broken recap link to chapter pages
Inject a report link into the chapter page sidebar that opens
a pre-filled Google Form with the current chapter URL.
* chore: bump version to 1.7.0 and add patch notes
Add patch notes for bug reporting feature release.
* style: pnpm format
* refactor: extract shared report form config and remove unused handler
Move Google Form URL and builder to shared report-form.ts config.
Remove unused openUrl message handler from background script.
* chore: split host_permissions out of permissions in wxt.config
Required for proper MV3 compliance. Note: existing users will be
prompted to re-approve the royalroad.com host permission on update.
* feat: enrich broken-report with version/browser/type and blurb support
Extend buildReportFormUrl to prefill version, browser, and content type
alongside the chapter URL, and support reporting broken blurbs in
addition to recaps. Introduce a shared ContentType ("recap" | "blurb")
type, extract isChapterUrl into dom-utils, and expose the report link
placement in advanced settings. Adds unit tests for URL building.
NOTE: version/browser/type Google Form entry IDs are still placeholders
(entry.PLACEHOLDER_*) and must be replaced with real field IDs before
those prefills will populate.
* feat: wire real Google Form entry IDs for version/browser/type prefill
Replace placeholder entry IDs with the real field IDs from the report
form (Version, Browser type, Content Type), so all four values now
prefill correctly.
* chore: pin pnpm build-script approvals
Record approved dependency build scripts (esbuild enabled, spawn-sync
disabled) via pnpm approve-builds so contributors and CI share the same
build policy.
* chore: add .gitattributes to normalize line endings to LF
Pin text files to LF in the repo and working trees so Windows
core.autocrlf no longer produces phantom CRLF-only diffs. Mark binary
asset types so their bytes are left untouched.
* docs: update v1.7.0 patch notes date and content
Set release date to 2026-06-21 and reflect what actually shipped: blurb
reporting in addition to recaps, and auto-included version/browser
diagnostics.
* ci: prevent needrestart hang and add timeout to CSS Selectors workflow
Set NEEDRESTART_MODE=a / NEEDRESTART_SUSPEND=1 so `playwright install
--with-deps` no longer hangs on the needrestart prompt on Ubuntu 24.04,
and add timeout-minutes: 15 so any future hang fails fast instead of
squatting a runner. Closes #127.
* ci: upgrade @playwright/test to 1.61.0 to fix browser-install hang
@playwright/test 1.57.0 is affected by a regression (Playwright
1.55.1 to <1.60.0) where `playwright install` downloads Chromium then
hangs indefinitely on system-deps, stalling the CSS Selectors workflow
until the runner times out. Upgrade to 1.61.0, which includes the fix.
Ref: microsoft/playwright#40998
1 parent 36d6639 commit a4c74b7
22 files changed
Lines changed: 746 additions & 158 deletions
File tree
- .github/workflows
- src
- assets/patches
- components
- buttons
- extension
- icons
- settings
- entrypoints
- popup
- lib
- config
- state
- utils
- tests
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments