diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 58a8d11..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - - package-ecosystem: npm - directory: / - schedule: - interval: monthly - groups: - dev-dependencies: - patterns: ["*"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fabe746..c0a1a96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,15 @@ jobs: - name: Smoke test run: npm run test:smoke + - name: Feature tests + run: npm run test:e2e -- --screenshots screenshots + + - uses: actions/upload-artifact@v5 + if: always() + with: + name: feature-screenshots + path: screenshots/ + - uses: actions/upload-artifact@v5 with: name: packages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50e257a..529c413 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: run: git diff --exit-code -- userscript.js return-youtube-subscribers.user.js store/listings - name: Smoke test - run: npx playwright install --with-deps chromium firefox webkit && npm run test:smoke + run: npx playwright install --with-deps chromium firefox webkit && npm run test:smoke && npm run test:e2e - name: Release notes run: node scripts/release-notes.mjs > dist/release-notes.md diff --git a/.gitignore b/.gitignore index 84ef352..73e275d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ build/ .DS_Store *.xpi .web-extension-id +screenshots/ diff --git a/CHANGELOG.md b/CHANGELOG.md index cae18d6..37ff4c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ tagged version into the GitHub release and the Firefox Add-ons version notes. ## 4.4.0 +- Sort channel search results by exact subscriber count. +- Exact counts on featured channels and other channel lists. +- Live streams refresh the count every 10 seconds, and digits roll when a count changes. +- New full-screen live counter with race mode (two channels and the gap between them) and a "Save image" button for sharing. +- On your own channel: next milestone, subscribers to go, recent daily growth and a projected milestone date. +- New toolbar popup: channels you've viewed ranked by growth, a race picker, and a choice of exact or compact (452.3M) numbers. +- Hover any count to see that it's an estimate, where it came from and when it was updated. +- Everything the extension adds follows YouTube's light, dark and ambient themes. - New logo and icons, redrawn for every size from 16px up. - Firefox now uses Manifest V3, the same manifest as every other browser. Requires Firefox 140 or newer. - One build now produces the Chrome, Edge, Opera, Firefox and Safari packages and the userscript, so every browser gets the same version at the same time. diff --git a/README.md b/README.md index d0b896d..b8b21bb 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ npm run lint ``` ```bash -npm run test:smoke +npm run test:smoke && npm run test:e2e ``` Releasing, store credentials and the Safari setup are in [docs/RELEASING.md](docs/RELEASING.md). diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 23ef73a..d2f13ab 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -190,7 +190,6 @@ hand: store's credentials at once. - **Each store fails alone.** Stores publish in separate jobs, so a Chrome review problem doesn't block Firefox, and each can be gated behind its own approval. -- **Dependabot** keeps the actions and npm tools updated monthly. What still has to be done by hand: listing text and images on the Chrome, Edge and Opera dashboards (their APIs only accept packages), Opera uploads, and pressing **Submit for Review** diff --git a/index.html b/index.html index 026cd3a..8175739 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@ - +