-
Notifications
You must be signed in to change notification settings - Fork 65
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
Conversation
cballevre
commented
Dec 5, 2023
928090e
to
86283a0
Compare
BundleMonFiles updated (1)
Unchanged files (18)
Total files change +286B +0.01% Groups updated (1)
Unchanged groups (7)
Final result: ✅ View report in BundleMon website ➡️ |
@@ -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 () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
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 () => { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
86283a0
to
faa7e86
Compare