cherrypick/packages/frontend
anatawa12 a631b976c9
Refine fanout timeline (#12507)
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb

* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し

* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装

* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list

* style: fix lint error

* chore: split logic to multiple functions

* chore: implement redis fallback

* chore: 成功率を上げる

* fix: db fallback not working

* feat: allowPartial

* chore(frontend): set allowPartial

* chore(backend): remove fallbackIfEmpty

HTL will never be purged so it's no longer required

* fix: missing allowPartial in channel timeline

* fix: type of timelineConfig in hybrid-timeline

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
..
.storybook
.vscode
@types
assets enhance(frontend): リアクション選択時に音を流せるように (#12441) 2023-11-26 13:04:44 +09:00
lib chore: remove unimplemented excludeNsfw (#12520) 2023-12-02 12:05:53 +09:00
public
src Refine fanout timeline (#12507) 2023-12-02 18:25:07 +09:00
test Add mocks for Web Audio API (#12457) 2023-11-26 09:54:24 +09:00
.eslintrc.cjs
.gitignore
package.json update deps 2023-11-27 21:05:20 +09:00
tsconfig.json
vite.config.ts Update the Vitest configuration (#12493) 2023-11-29 10:41:11 +09:00
vite.json5.ts