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

feat(frontend): allow cropping images on drive #11092

Merged
merged 4 commits into from
Jul 5, 2023
Merged

feat(frontend): allow cropping images on drive #11092

merged 4 commits into from
Jul 5, 2023

Conversation

saschanaz
Copy link
Member

What

Closes #11074

Why

OSでのクロップが不便な場合とかすでにアップロードされた映像をクロップしたい場合に使えるように

Additional info (optional)

テスト書きたかったですができませんでした😭

Cypressではなんとかできるかも?

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 the packages/frontend Client side specific issue/PR label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #11092 (cea7dcd) into develop (92d9946) will increase coverage by 0.02%.
The diff coverage is 92.00%.

@@             Coverage Diff             @@
##           develop   #11092      +/-   ##
===========================================
+ Coverage    77.37%   77.39%   +0.02%     
===========================================
  Files          908      909       +1     
  Lines        91675    91793     +118     
  Branches      7550     7552       +2     
===========================================
+ Hits         70937    71047     +110     
- Misses       20738    20746       +8     
Impacted Files Coverage Δ
packages/frontend/src/os.ts 16.96% <0.00%> (-0.06%) ⬇️
packages/frontend/src/components/MkPostForm.vue 100.00% <100.00%> (ø)
...ges/frontend/src/components/MkPostFormAttaches.vue 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

@tamaina
Copy link
Contributor

tamaina commented Jul 5, 2023

ファイル名が継承された方が良さそう

@tamaina
Copy link
Contributor

tamaina commented Jul 5, 2023

untitledになるのはMkCropperDialogの仕様なんだ…

@tamaina tamaina merged commit ac4245d into develop Jul 5, 2023
@tamaina tamaina deleted the drive-crop branch July 5, 2023 04:54
@tamaina
Copy link
Contributor

tamaina commented Jul 5, 2023

👍

slofp pushed a commit to Secineralyr/misskey.dream that referenced this pull request Jul 21, 2023
* feat(frontend): allow cropping images on drive

* nanka iroiro

* folder

---------

Co-authored-by: tamaina <[email protected]>
GrapeApple0 pushed a commit to GrapeApple0/misskey that referenced this pull request Jul 22, 2023
* feat(frontend): allow cropping images on drive

* nanka iroiro

* folder

---------

Co-authored-by: tamaina <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow cropping photos before/after uploading
2 participants