-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Port Files navigation to vue #35772
Port Files navigation to vue #35772
Conversation
fbff70e
to
4a0b9c4
Compare
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.
Psalm found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
4a0b9c4
to
8c87ea0
Compare
"@cypress/browserify-preprocessor": "^3.0.2", | ||
"@nextcloud/babel-config": "^1.0.0", | ||
"@nextcloud/cypress": "^1.0.0-beta.1", | ||
"@nextcloud/eslint-config": "^8.0.0", | ||
"@nextcloud/stylelint-config": "^2.1.2", | ||
"@nextcloud/webpack-vue-config": "github:nextcloud/webpack-vue-config#master", |
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.
no be replaced with newly released webpack-vue-config
when released
8c87ea0
to
c9a366e
Compare
@@ -88,7 +89,8 @@ | |||
$c->get(IPreview::class), | |||
$c->get(IShareManager::class), | |||
$c->get(IConfig::class), | |||
$server->getUserFolder() | |||
$server->getUserFolder(), |
Check notice
Code scanning / Psalm
DeprecatedMethod
public function showHiddenFiles(bool $show): Response { | ||
$this->config->setUserValue($this->userSession->getUser()->getUID(), 'files', 'show_hidden', $show ? '1' : '0'); | ||
public function showHiddenFiles(bool $value): Response { | ||
$this->config->setUserValue($this->userSession->getUser()->getUID(), 'files', 'show_hidden', $value ? '1' : '0'); |
Check notice
Code scanning / Psalm
PossiblyNullReference
public function cropImagePreviews(bool $crop): Response { | ||
$this->config->setUserValue($this->userSession->getUser()->getUID(), 'files', 'crop_image_previews', $crop ? '1' : '0'); | ||
public function cropImagePreviews(bool $value): Response { | ||
$this->config->setUserValue($this->userSession->getUser()->getUID(), 'files', 'crop_image_previews', $value ? '1' : '0'); |
Check notice
Code scanning / Psalm
PossiblyNullReference
$response->setStatus(Http::STATUS_FORBIDDEN); | ||
return $response; | ||
|
||
$userId = $this->userSession->getUser()->getUID(); |
Check notice
Code scanning / Psalm
PossiblyNullReference
@@ -205,11 +194,11 @@ | |||
// FIXME: Make non static | |||
$storageInfo = $this->getStorageInfo(); | |||
|
|||
$user = $this->userSession->getUser()->getUID(); | |||
$userId = $this->userSession->getUser()->getUID(); |
Check notice
Code scanning / Psalm
PossiblyNullReference
e087bd5
to
8524f6b
Compare
a9403ba
to
f8f06c0
Compare
4259dad
to
10a0c81
Compare
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.
Works very well in my testing (apart from the small things that Vincent mentioned) but didnt review the code.
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.
👍 no critical issues
the only one that annoys me is the left sidebar behavior but needs handling separately (nextcloud-vue)
@skjnldsv please tick the checkboxes and link to tickets for the follow ups to move forward I did some testing and apart from my above comments I didn't find anything, it works nicely. Great job! 🎉 |
1233ead
to
c172ef3
Compare
c172ef3
to
a254b72
Compare
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
a254b72
to
6249732
Compare
Come on! This time it's the one! Final rebase (™) |
🎉 |
🎉🎉🎉🎉🎉 |
Fix later
Follow-ups