-
Notifications
You must be signed in to change notification settings - Fork 157
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
[full-ci] Simplify Files-AppBar #6662
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. |
74524d7
to
e5b9e8a
Compare
@@ -51,22 +51,6 @@ describe('User can navigate in files list using pagination', () => { | |||
Files: StoreFiles | |||
} | |||
}) | |||
const appBar = document.createElement('div') |
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.
Interestingly, we could get rid of this weird workaround here now 😅
@@ -37,12 +37,6 @@ describe('AppBar contains set of actions and informations', () => { | |||
render( | |||
AppBar, | |||
{ | |||
setup: () => { |
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.
Not sure how to proceed here, we'd have to either render a full view or provide breadcrumb prop items to complete the rendering and fulfill the test criteria
packages/web-app-files/tests/unit/components/Search/__snapshots__/List.spec.js.snap
Outdated
Show resolved
Hide resolved
SideBar | ||
}, | ||
mixins: [Mixins], | ||
data() { |
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 idea of these were actually necessary or long-forgotten leftovers?
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.
If they are not referenced in the template ... happy they go
Results for oCISFiles1 https://drone.owncloud.com/owncloud/web/24236/52/1 💥 The acceptance tests failed on retry. Please find the screenshots inside ...
webUICreateFilesFolders-createFile_feature-L13.pngwebUICreateFilesFolders-createFile_feature-L19.pngwebUICreateFilesFolders-createFile_feature-L25.pngwebUICreateFilesFolders-createFile_feature-L31.pngwebUIDeleteFilesFolders-deleteFilesFolders_feature-L253.pngwebUIDeleteFilesFolders-deleteFilesFolders_feature-L77.pngwebUIFilesCopy-copy_feature-L131.pngwebUIFilesCopy-copy_feature-L142.pngwebUIFilesCopy-copy_feature-L28.pngwebUIFilesCopy-copy_feature-L70.pngwebUIFilesCopy-copy_feature-L71.pngwebUIFilesCopy-copy_feature-L72.pngwebUIFilesCopy-copy_feature-L73.pngwebUIFilesCopy-copy_feature-L76.pngwebUIMarkdownEditor-markdownFile_feature-L13.pngwebUIMarkdownEditor-markdownFile_feature-L21.pngwebUIMarkdownEditor-markdownFile_feature-L29.pngwebUIMarkdownEditor-markdownFile_feature-L37.pngwebUIMarkdownEditor-markdownFile_feature-L44.pngwebUIMarkdownEditor-markdownFile_feature-L50.pngwebUIMarkdownEditor-markdownFile_feature-L56.pngwebUIMarkdownEditor-markdownFile_feature-L70.pngwebUIMarkdownEditor-markdownFile_feature-L71.pngwebUIMarkdownEditor-markdownFile_feature-L80.pngwebUIMarkdownEditor-markdownFile_feature-L81.pngwebUIMarkdownEditor-markdownFile_feature-L82.pngwebUIMarkdownEditor-markdownFile_feature-L83.pngwebUIMarkdownEditor-markdownFile_feature-L84.png |
a93fc89
to
63539d9
Compare
63539d9
to
49688aa
Compare
@@ -0,0 +1,6 @@ | |||
Bugfix: AppBar ViewOptions alignement |
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.
Bugfix: AppBar ViewOptions alignement | |
Bugfix: AppBar ViewOptions alignment |
SideBar | ||
}, | ||
mixins: [Mixins], | ||
data() { |
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.
If they are not referenced in the template ... happy they go
…ViewOptions in Spaces/Projects view
49688aa
to
30def9c
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.
LGTM if ci is happy 🚀
SonarCloud Quality Gate failed. |
Description
The idea is to simplify the
AppBar.vue
component, which currently is bloated with a lot of edgecases depending on the currently active view instead of rendering based on props.Even if it means some more duplication now (as tradeoff from a lot of conditional statements) it's a necessary step to eventually build a abstracted FilesList-layout (which would then definitely reduce duplication & complexity).
Done
EmptyTrashbin.vue
component for use in Trashbin/AppbarRelated Issues
Caveats
static
slot is not good => renamed tocontent