egirlskey/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 feat: Avatar decoration (#12096) 2023-10-21 18:38:07 +09:00
.vscode test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
@types refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
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 chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348) 2023-07-27 14:31:52 +09:00
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 cjs 2023-09-19 17:06:56 +09:00
.gitignore build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
package.json update deps 2023-11-27 21:05:20 +09:00
tsconfig.json refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
vite.config.ts Update the Vitest configuration (#12493) 2023-11-29 10:41:11 +09:00
vite.json5.ts Fix type errors from vite.json5.ts (#9936) 2023-02-15 17:14:47 +09:00