stacker.news/pages
ekzyis 2597eb56f3
Item mention notifications (#1208)
* Parse internal refs to links

* Item mention notifications

* Also parse item mentions as URLs

* Fix subType determined by referrer item instead of referee item

* Ignore subType

Considering if the item that was referred to was a post or comment made the code more complex than initially necessary.

For example, notifications for /notifications are deduplicated based on item id and the same item could refer to posts and comments, so to include "one of your posts" or "one of your comments" in the title would require splitting notifications based on the type of referred item.

I didn't want to do this but also wanted to have consistent notification titles between push and /notifications, so I use "items" in both places now, even though I think using "items" isn't ideal from a user perspective. I think it might be confusing.

* Fix rootText

* Replace full links to #<id> syntax in push notifications

* Refactor mention code into separate functions
2024-06-03 12:12:42 -05:00
..
[name] fix scroll on profile pages 2024-05-23 10:23:13 -05:00
api give lnurlp invoices longer expirations for tor channels 2024-05-06 10:08:28 -05:00
auth Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
invites Merge serializeInvoiceable with serialize without bug (#1051) 2024-04-09 19:49:20 -05:00
invoices Frontend payment UX cleanup (#1194) 2024-05-28 12:18:54 -05:00
items/[id] enhance navigation 2024-03-26 18:36:31 -05:00
referrals fix: custom calendar dark theme (#1123) 2024-05-11 20:32:44 -05:00
rewards Frontend payment UX cleanup (#1194) 2024-05-28 12:18:54 -05:00
satistics fix #1132 broken satistics links 2024-04-30 17:52:34 -05:00
settings Item mention notifications (#1208) 2024-06-03 12:12:42 -05:00
stackers chart skeletons 2024-03-25 15:35:32 -04:00
wallet add lnc attached wallet (#1104) 2024-04-26 21:22:30 -05:00
withdrawals Show preimage of confirmed withdrawals (#1106) 2024-04-25 19:33:24 -05:00
~ reintroduce daily rewards (#1134) 2024-05-01 09:30:36 -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 Frontend payment UX cleanup (#1194) 2024-05-28 12:18:54 -05:00
_document.js enhance navigation 2024-03-26 18:36:31 -05:00
_error.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
email.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
live.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
login.js add NEXT_PUBLIC_URL 2024-04-08 17:54:39 -05:00
notifications.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
offline.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
search.js search all territories by default + more intuitive search filters 2024-03-26 18:37:40 -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 enhance navigation 2024-03-26 18:36:31 -05:00
territory.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00