stacker.news/api/typeDefs
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
..
admin.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
blockHeight.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
growth.js add average comments per post to items analytics 2023-08-14 15:36:54 -05:00
index.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
invite.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
item.js made Item.depth nullable (#493) 2023-09-18 13:57:44 -05:00
itemForward.js multiple forwards on a post (#403) 2023-08-23 17:44:17 -05:00
lnurl.js remove slashtags temporarily 2023-08-16 19:49:00 -05:00
message.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
notifications.js Notifications for when you are forwarded sats from a post (#467) 2023-09-12 10:31:46 -05:00
price.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
referrals.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
rewards.js allow viewing reward ranges 2023-08-29 19:13:21 -05:00
sub.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
upload.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
user.js Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
wallet.js Use HODL invoices (#432) 2023-08-30 21:48:49 -05:00