Skip to content

Show a Web Push token on the examples' status card as its endpoint's host and tail - #83

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
examples/web-push-token-line
Oct 27, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
examples/web-push-token-line

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

The examples' status card cut every token line to its first and last 8 characters. For a Web Push subscription, that line is the serialised subscription JSON, so on Linux and the web the card read subscrip...v2M4g"}}, the start of the field name and the end of the auth key.

A Web Push token now shows as its endpoint's host and the last 8 characters of the endpoint's path, such as fcm.googleapis.com...12345678 or ntfy.sh...Xyz12345. The copy button and the logged subscription= line still carry the full subscription.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c873b67e-a98a-4e6a-84d8-c06b75889975
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (e1da1f7) to head (5a8a1d8).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files          45       45           
  Lines        5974     5974           
  Branches       63       63           
=======================================
  Hits         5645     5645           
  Misses        286      286           
  Partials       43       43           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LucaCappelletti94
LucaCappelletti94 merged commit 24067d9 into main Oct 27, 2026
68 of 69 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the examples/web-push-token-line branch October 27, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant