Skip to content

fix(frontend): ドライブへの画像アップロード時にファイル名の変更が無視される不具合を修正#17302

Merged
syuilo merged 6 commits intomisskey-dev:developfrom
FineArchs:upload-name
Apr 11, 2026
Merged

fix(frontend): ドライブへの画像アップロード時にファイル名の変更が無視される不具合を修正#17302
syuilo merged 6 commits intomisskey-dev:developfrom
FineArchs:upload-name

Conversation

@FineArchs
Copy link
Copy Markdown
Contributor

@FineArchs FineArchs commented Apr 11, 2026

What

ドライブに画像を上げる際、「ファイル名を変更」したにも関わらずアップロード後のファイル名が元のままになっていることがある不具合を修正します。
ついでにアップロード画面のファイル名表示の改善を行っています。

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

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 11, 2026
@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Apr 11, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.92%. Comparing base (3cb0033) to head (4081804).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
packages/frontend/src/composables/use-uploader.ts 0.00% 5 Missing and 1 partial ⚠️
...ckages/frontend/src/components/MkUploaderItems.vue 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #17302       +/-   ##
============================================
- Coverage    63.66%   14.92%   -48.74%     
============================================
  Files         1162      242      -920     
  Lines       116471    11866   -104605     
  Branches      8456     4019     -4437     
============================================
- Hits         74150     1771    -72379     
+ Misses       40117     7931    -32186     
+ Partials      2204     2164       -40     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Contributor

@kakkokari-gtyih kakkokari-gtyih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelogを追記してください

@syuilo
Copy link
Copy Markdown
Member

syuilo commented Apr 11, 2026

/preview

@kakkokari-gtyih kakkokari-gtyih changed the title ドライブへの画像アップロード時にファイル名の変更が無視される不具合を修正 fix(frontend): ドライブへの画像アップロード時にファイル名の変更が無視される不具合を修正 Apr 11, 2026
@syuilo
Copy link
Copy Markdown
Member

syuilo commented Apr 11, 2026

これは名前の拡張子部分を変更したり無くしたりしてアップロードすることは非対応という感じでしょうか?

@FineArchs
Copy link
Copy Markdown
Contributor Author

元ファイルの名前に付いている拡張子は消せるはずです。
ただ、圧縮で付与される.webpなどの追加拡張子はアップロード時には消せません。(従来と同じ仕様です)

@syuilo syuilo merged commit 68e3476 into misskey-dev:develop Apr 11, 2026
22 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in [実験中] 管理用 Apr 11, 2026
@syuilo
Copy link
Copy Markdown
Member

syuilo commented Apr 11, 2026

🙏🏻

@FineArchs FineArchs deleted the upload-name branch April 11, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages/frontend Client side specific issue/PR size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Development

Successfully merging this pull request may close these issues.

3 participants