-
Notifications
You must be signed in to change notification settings - Fork 159
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
Handle processing items #9561
Handle processing items #9561
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
@@ -99,7 +98,7 @@ export function buildResource(resource): Resource { | |||
webDavPath: resource.name, | |||
type: isFolder ? 'folder' : resource.type, | |||
isFolder, | |||
processing: resource.processing || false, | |||
processing: resource.type === 'file', |
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.
mock stuff
|
nice one! |
done |
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.
Nice, IMO you fulfilled the ACs here. Small annotations from my side:
- When a file list only consists of disabled items, the top-left checkbox is being checked
- I find the checkboxes for disabled resources in the tiles view irritating. In the table that's not an issue, probably because a row is easily identified as disabled. That's not the case with tiles. Especially in dark mode there is nearly no difference. We could solve that by increasing the contrast, but it may be hard because it always depends on the preview image. Maybe hiding the checkbox and the 3-dots-menu is an option?
- Right clicking disabled resources in the table shows the "whitespace context menu", while right clicking disabled resources in the tiles view shows the browser context menu. No hard feelings, but I'd vote for going the tiles-way by not showing the "whitespace context menu" in such case.
Add mechanism to favorites / shared with views?
Show processing state in search preview / hide?
In general yes, although both APIs don't return the processing state for now. But I guess it will in the future, so it would be nice to have that implemented already.
All done besides point 2. Needs decision by @tbsbdr |
741ef40
to
8887ac0
Compare
@@ -168,7 +168,8 @@ export function buildSharedResource( | |||
indicators: [], | |||
tags: [], | |||
path: undefined, | |||
webDavPath: undefined | |||
webDavPath: undefined, | |||
processing: !isFolder |
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.
mock
@@ -99,7 +98,7 @@ export function buildResource(resource): Resource { | |||
webDavPath: resource.name, | |||
type: isFolder ? 'folder' : resource.type, | |||
isFolder, | |||
processing: resource.processing || false, | |||
processing: resource.type === 'file', |
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.
mock
Keyboard actions broken on search -,.- |
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.
two small things, other than this looks good 👍🏼
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.
Linter fails, other than that LGTM 👍🏼
if (disabled) { | ||
if (!Array.isArray(disabled)) { | ||
disabled = [disabled] | ||
} | ||
|
||
return disabled | ||
} |
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.
coerce into array structure
packages/web-app-files/src/components/FilesList/ResourceTable.vue
Outdated
Show resolved
Hide resolved
44b9441
to
f7816c2
Compare
SonarCloud Quality Gate failed. 0 Bugs 32.2% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: