stacker.news/pages
ekzyis 3a7c3f7af2
Add setting to send diagnostics back to SN (#463)
* Add diagnostics settings & endpoint

Stackers can now help us to identify and fix bugs by enabling diagnostics.

This will send anonymized data to us.

For now, this is only used to send events around push notifications.

* Send diagnostics to slack

* Detect OS

* Diagnostics data is only pseudonymous, not anonymous

It's only pseudonymous since with additional knowledge (which stacker uses which fancy name), we could trace the events back to individual stackers.

Data is only anonymous if this is not possible - it must be irreversible.

* Check if window.navigator is defined

* Use Slack SDK

* Catch errors of slack requests

---------

Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-09-18 18:00:16 -05:00
..
[name] fix closure stacker bug 2023-08-30 19:03:05 -05:00
api Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
auth upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
invites fix conditional nextFetchPolicy overriding cache-only on SSR and suppress time hydration warnings 2023-07-31 14:54:30 -05:00
invoices Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
items/[id] redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
referrals redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
rewards allow viewing reward ranges 2023-08-29 19:13:21 -05:00
stackers redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
withdrawals Singular/Plural "Sats" labels (#380) 2023-08-08 16:04:06 -05:00
~ Add search hints to initial search page (#497) 2023-09-18 17:50:41 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
_document.js Make the web manifest dynamic to incorporate preferred color scheme (#398) 2023-08-15 12:58:27 -05:00
_error.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
email.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
live.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
login.js show errors on settings during auth linking 2023-07-30 15:39:18 -05:00
notifications.js remove stray log statement 2023-08-30 20:08:38 -05:00
offline.js improve service worker asset precaching and offline page 2023-07-28 10:57:12 -05:00
satistics.js redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
settings.js Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
wallet.js Hide wallet balance (#481) 2023-09-12 12:19:26 -05:00