Commit graph

35 commits

Author SHA1 Message Date
Paul Frazee
869f6c4e0e Initial pass at push notifications + some fixes to the session management (#91)
* Fix: test the session during resume to ensure it's valid

* Don't delete sessions for now

* Add notifee and request notif permissions on first login

* Set unread notifications badge on app icon

* Trigger a notifee card on new notifications

* Experimental: use react-native-background-fetch to check for notifications

* Add missing mocks

* Fix to resumeSession()
2023-01-24 19:32:24 -06:00
Aryan Goharzad
06e41167d0 Lints some errors and warnings (#76) 2023-01-20 13:43:28 -06:00
Paul Frazee
d4b9ef3b0a Only use cursors supplied by the server (ref #59) 2023-01-20 10:39:00 -06:00
Paul Frazee
90ac2fe1fc Group together notifications more aggressively 2023-01-17 16:25:10 -06:00
Paul Frazee
bf1092ad86 Remove scenes (#36)
* Remove scenes from the main menu

* Remove scenes from the profile view

* Remove 'scenes explainer' from onboarding flow

* Remove scene-related modals

* Remove member/membership code

* Remove all scenes-related items from notifications

* Remove scene-related code from posts feed

* Remove scene-related API helpers

* Update tests
2023-01-17 10:11:30 -06:00
Paul Frazee
b9b0965000 Implement validation and proper type detection 2023-01-03 13:08:56 -06:00
Paul Frazee
4eabc2d65a Improve error logging 2023-01-02 21:39:15 -06:00
Paul Frazee
f6a0e634d7 Implement logging system 2023-01-02 17:38:13 -06:00
Paul Frazee
4913a07e33 Unvendor the api and switch to @atproto/api 2022-12-22 09:17:07 -06:00
Paul Frazee
ac97667206 Fix: avoid duplicate key names in notifications 2022-12-13 15:35:11 -06:00
Paul Frazee
e4ee6e5bb6 Fix: show avatars in all notifications 2022-12-13 14:53:00 -06:00
Paul Frazee
539bf5d350 Add avatar images and fix some type signatures 2022-12-08 13:45:23 -06:00
Paul Frazee
ae522c86fe Fix mention-creation and implement mentions in notifications 2022-12-06 13:47:52 -06:00
Paul Frazee
65e5f2ac86 Fix: never attempt update on 0 items 2022-12-05 13:36:13 -06:00
Paul Frazee
9051aecdcb Use a persistent notifications model to improve load times of the notifications view 2022-11-28 14:19:49 -06:00
Paul Frazee
6ec33dd89f Batch notification loads to avoid layout reflows due to async 2022-11-28 13:45:49 -06:00
Paul Frazee
c86ff23757 Set a page-size on notifications 2022-11-28 10:22:52 -06:00
Paul Frazee
c2a39d7c1f Refactor: create src/lib to reflect actual sharing of that code 2022-11-22 12:02:31 -06:00
Paul Frazee
39058cd36a Dont group notifications that are an hour apart 2022-11-18 15:38:20 -06:00
Paul Frazee
e02b39bf84 Fix data loss on notifications-view update 2022-11-18 14:17:26 -06:00
Paul Frazee
bd1a4b198e Clear notifications count optimistically 2022-11-16 14:36:16 -06:00
Paul Frazee
e9102bcbac Reduce jank in refreshes 2022-11-16 13:18:53 -06:00
Paul Frazee
fb3a43c216 Improve error messages 2022-11-15 10:46:12 -06:00
Paul Frazee
ef071c0915 Fix issue causing double-loads of notifications 2022-11-14 15:02:42 -06:00
Paul Frazee
d3707f30e3 Implement scene invitation and membership controls 2022-11-10 16:30:14 -06:00
Paul Frazee
1fbc4cf1f2 Finish the upvote/downvote implementation 2022-11-08 12:14:51 -06:00
Paul Frazee
f333a90fab Update to the latest APIs 2022-11-04 17:39:54 -05:00
Paul Frazee
1983512fef Update to latest APIs 2022-10-26 14:34:47 -05:00
Paul Frazee
0c0c9eb05c Update api nsids 2022-10-12 15:18:46 -05:00
Paul Frazee
bf39791f01 Implement a couple missing bits 2022-10-04 10:53:08 -05:00
Paul Frazee
c7d7e152a0 Implement notifications 2022-10-03 10:53:36 -05:00
Paul Frazee
b05a334dcb Remove debug time delays 2022-09-30 11:30:18 -05:00
Paul Frazee
2e352f383e A few client fixes 2022-09-26 13:38:37 -05:00
Paul Frazee
aabde2b401 Replace mock-api with real api 2022-09-22 19:28:25 -05:00
Paul Frazee
d1470bad66 Add notifications view 2022-07-26 15:45:46 -05:00