Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 実装されていなかったタイムラインの includeMyRenotes includeRenotedMyNotes includeLocalRenotes オプションを削除 #13725

Conversation

anatawa12
Copy link
Member

What

FFTで実装されていない includeMyRenotes includeRenotedMyNotes includeLocalRenotes オプションを削除しました

Why

動かないオプションが有るとアプリ開発者が混乱するだけだと思われる

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions github-actions bot added packages/backend Server side specific issue/PR packages/misskey-js labels Apr 17, 2024
Copy link
Contributor

このPRによるapi.jsonの差分

差分はこちら
--- base
+++ head
@@ -54925,18 +54925,6 @@
                     "type": "boolean",
                     "default": false
                   },
-                  "includeMyRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeRenotedMyNotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeLocalRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
                   "withFiles": {
                     "type": "boolean",
                     "default": false
@@ -58038,18 +58026,6 @@
                     "type": "boolean",
                     "default": false
                   },
-                  "includeMyRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeRenotedMyNotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeLocalRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
                   "withFiles": {
                     "type": "boolean",
                     "default": false
@@ -58617,18 +58593,6 @@
                     "type": "boolean",
                     "default": false
                   },
-                  "includeMyRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeRenotedMyNotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
-                  "includeLocalRenotes": {
-                    "type": "boolean",
-                    "default": true
-                  },
                   "withRenotes": {
                     "type": "boolean",
                     "default": true

Get diff files from Workflow Page

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 66.46%. Comparing base (977e2d2) to head (8e52f06).

Files Patch % Lines
...backend/src/server/api/endpoints/notes/timeline.ts 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #13725       +/-   ##
============================================
- Coverage    77.91%   66.46%   -11.46%     
============================================
  Files          185      988      +803     
  Lines        25516   116179    +90663     
  Branches       487     5275     +4788     
============================================
+ Hits         19882    77214    +57332     
- Misses        5627    38934    +33307     
- Partials         7       31       +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syuilo
Copy link
Member

syuilo commented Apr 17, 2024

FTT無効の場合は動作するから消すと問題がありそう

@samunohito
Copy link
Member

includeMyRenotes
includeRenotedMyNotes
includeLocalRenotes

フロント側で設定いなさそうです。全体を検索してヒットするのはバックエンド配下のソースのみでした。
(misskey-jsにもありますが、エンドポイントのmetaに書かれてるので)

@syuilo
Copy link
Member

syuilo commented Apr 17, 2024

サードパーティアプリは使ってることがありそう

@anatawa12
Copy link
Member Author

逆にFFTで実装する方で考えたほうがいい?

@syuilo
Copy link
Member

syuilo commented Apr 17, 2024

そうねーけど難しいかも

@kakkokari-gtyih
Copy link
Contributor

逆にFFTで実装する方で考えたほうがいい?

そうねーけど難しいかも

こちらで行くならPR閉じといたほうがわかりやすいかも

@anatawa12
Copy link
Member Author

そうですね

@anatawa12 anatawa12 closed this Apr 23, 2024
@anatawa12 anatawa12 deleted the remove-uminplemented-include-renotes-options branch April 23, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend Server side specific issue/PR packages/misskey-js
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants