Skip to content

fix(frontend): allow date-only note search ranges - #17739

Draft
VIUK-XV wants to merge 1 commit into
misskey-dev:developfrom
VIUK-XV:fix/note-search-date-range
Draft

fix(frontend): allow date-only note search ranges#17739
VIUK-XV wants to merge 1 commit into
misskey-dev:developfrom
VIUK-XV:fix/note-search-date-range

Conversation

@VIUK-XV

@VIUK-XV VIUK-XV commented Jul 18, 2026

Copy link
Copy Markdown

What

ノート検索の投稿日時範囲を日付と任意の時刻に分けて入力できるようにしました。

時刻を省略した場合、開始日時はその日の 00:00:00.000、終了日時は 23:59:59.999 として補完します。

Why

datetime-local では日付だけを選んだ状態が検索条件に反映されず、日時範囲が API に渡らないためです。

Fixes #17560

Additional info (optional)

  • 日付のみの開始・終了、時刻指定、空入力、不正な日付を単体テストで確認しました。
  • frontend の typecheck と変更ファイルの ESLint、i18n の typecheck / verify を実行しました。

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

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 26f84688-532b-4819-999b-d498a190b3f6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added packages/frontend Client side specific issue/PR packages/frontend:test labels Jul 18, 2026
@kakkokari-gtyih

Copy link
Copy Markdown
Member

こちらなにか残作業ありますでしょうか?

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.02%. Comparing base (fca7859) to head (e90f069).
⚠️ Report is 101 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #17739       +/-   ##
============================================
- Coverage    26.08%   14.02%   -12.07%     
============================================
  Files         1181      249      -932     
  Lines        40105    12008    -28097     
  Branches     11099     4046     -7053     
============================================
- Hits         10461     1684     -8777     
+ Misses       23769     8074    -15695     
+ Partials      5875     2250     -3625     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages/frontend:test packages/frontend Client side specific issue/PR

Projects

Development

Successfully merging this pull request may close these issues.

検索の投稿日時範囲指定で時刻を省略した場合、自動で補完されるようにしてほしい

2 participants