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(move): Allow moving files only shared by link into shared folder #3022

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

cballevre
Copy link
Contributor

### ✨ Features

* Allow moving files only shared by link into shared folder

@cballevre cballevre requested a review from zatteo as a code owner December 5, 2023 15:38
@cballevre cballevre force-pushed the feat/moving-only-shared-by-link branch from 928090e to 86283a0 Compare December 5, 2023 16:03
Copy link

bundlemon bot commented Dec 5, 2023

BundleMon

Files updated (1)
Status Path Size Limits
drive/app/drive.(hash).js
278.78KB (+285B +0.1%) 280KB
Unchanged files (18)
Status Path Size Limits
drive/public/drive.(hash).js
1.55MB 1.65MB
drive/vendors/drive.(hash).js
1.31MB 1.6MB
drive/public/pdf.worker.entry.(hash).worker.j
s
343.37KB 345KB
drive/services/dacc/drive.js
257.22KB 500KB
drive/services/qualificationMigration/drive.j
s
251.81KB 500KB
drive/intents/drive.(hash).js
172.78KB 175KB
drive/public/cozy-client-js.js
158.97KB 160KB
drive/public/drive.(hash).min.css
92.4KB 100KB
drive/app-drive.(hash).min.css
55.52KB 56KB
drive/intents-drive.(hash).min.css
36.92KB 40KB
drive/onlyOffice/slide.pptx
24.82KB 25KB
drive/onlyOffice/text.docx
5.84KB 6KB
drive/onlyOffice/spreadsheet.xlsx
5.01KB 6KB
drive/manifest.webapp
1.89KB 2KB
drive/index.html
531B 1KB
drive/intents/index.html
515B 1KB
drive/img/app-icon.(hash).svg
419B 1KB
drive/manifest.json
184B 1KB

Total files change +286B +0.01%

Groups updated (1)
Status Path Size Limits
drive/app/**
278.78KB (+285B +0.1%) +10%
Unchanged groups (7)
Status Path Size Limits
drive/public/**
2.14MB +7%
drive/screenshots/**
2.13MB +0.4%
drive/vendors/**
1.31MB +6%
drive/services/**
509.03KB +1%
drive/intents/**
173.28KB +6%
drive/onlyOffice/**
35.68KB +0.4%
drive/img/**
419B +0.4%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@cballevre cballevre requested a review from Crash-- December 6, 2023 15:38
@@ -229,6 +229,32 @@ describe('MoveModal component', () => {
})

describe('move shared folder inside another', () => {
it('should move the shared folder inside another if its by ling', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:

Suggested change
it('should move the shared folder inside another if its by ling', async () => {
it('should move the shared folder inside another if its by link', async () => {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fix 👍

/**
* Returns whether one of the entries that is shared not only by link
* @param {object[]} entries
* @param {object} byDocId
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can't you be more specific than that? entries is an array of IoCozyFiles?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added the type from cozy-client to be more specific

@cballevre cballevre force-pushed the feat/moving-only-shared-by-link branch from 86283a0 to faa7e86 Compare December 7, 2023 10:58
@cballevre cballevre merged commit 2019786 into master Dec 7, 2023
3 checks passed
@cballevre cballevre deleted the feat/moving-only-shared-by-link branch December 7, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants