Lex refactor fixes (#368)

* Fix: handle validation failures correctly in feed-view

* Fix: convert the off-spec feed view to lex objects

* Fix to fetching all follows during init

* Bump @atproto/api@0.2.1

* Fix: properly group together like notifications

* 1.12
This commit is contained in:
Paul Frazee 2023-04-02 14:20:19 -05:00 committed by GitHub
parent 14965d4d97
commit cc7b2a246e
9 changed files with 28 additions and 11 deletions

View file

@ -13,7 +13,7 @@ import {RootStoreModel} from './root-store'
import {PostThreadViewModel} from './post-thread-view'
import {cleanError} from 'lib/strings/errors'
const GROUPABLE_REASONS = ['vote', 'repost', 'follow']
const GROUPABLE_REASONS = ['like', 'repost', 'follow']
const PAGE_SIZE = 30
const MS_1HR = 1e3 * 60 * 60
const MS_2DAY = MS_1HR * 48