-
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
Ease use of disabled in OcTable & show status icon for processing items #9585
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. |
v-if="isExpirationDateSet" | ||
class="oc-ml-s" |
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
@@ -98,7 +98,7 @@ export function buildResource(resource): Resource { | |||
webDavPath: resource.name, | |||
type: isFolder ? 'folder' : resource.type, | |||
isFolder, | |||
processing: resource.processing || false, | |||
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
@@ -210,6 +210,28 @@ export default defineComponent({ | |||
|
|||
thumbnail() { | |||
return this.resource.thumbnail | |||
}, | |||
|
|||
showStatusIcon() { |
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.
@lookacat service function :) <3
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.
Seeing it now I'm asking myself: did we gain anything by using full resources instead of ids? 🤔 It adds quite a bit of complexity, especially since we already have a full list of resources in OcTable. Now we additionally pass a subset of them to the same component.
IMHO it's more handy, developers can just use a subset of the original array and don't need to map those additionally. I don't see more complexity |
I mean lines like these are more complex than before: |
Well I don't get it, Do you want me to revert it? |
Nono not completely, but I thought we keep working id based and make the |
Got it 👍 |
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.
Noice! 👍
Kudos, SonarCloud Quality Gate passed! |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: