-
Notifications
You must be signed in to change notification settings - Fork 158
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
Move actions to sidebar #4255
Move actions to sidebar #4255
Conversation
This comment has been minimized.
This comment has been minimized.
f033c89
to
07201a0
Compare
1656373
to
1565df9
Compare
Skipping the failing scenario because it's actually an issue in master as well #4310 tested both locally and on ocis.owncloud.works. Not sure at all how the test could pass in other PRs then 🤷 |
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.
The code itself looks good and the consistency of having everything in the right sidebar is super nice now.
Unfortunately I found some beef on this PR while trying it out again locally.
"shared with me" page:
- There is a "download" action for folders
- "mark as favorite" doesn't work
- if status of share = pending -> we shouldn't allow anything! maybe we can just hide the accordion entirely and display a "please accept or decline this share" message?
- "rename" action should only be available if the sharing role permits it
"shared with others" page:
- file details (top row above the accordion) looks different: missing favorites-star, missing file details
- folders have a "Download" action. Should not be available.
"deleted files" page:
- actions accordion item is not collapsible. Stays open on click.
Also, we wanted to re-activate a test scenario that was disabled in a previous PR (issue with scrolling in actions dropdown). Added a checkbox to the PR description for this.
I added a commit that does two tiny things (see screenshot). Please revert the commit if you don't agree. But we should at least find an icon for the actions accordion item, so that all the accordion items have one. |
Pushed a new commit yesterday which tackles those bugs @kulmann Some notes though:
Removed this action from shared lists since we do not have
Rename should be always available. Renaming shared resource shouldn't rename the original one but only the local one for the user.
Was happening everywhere because sometimes the opened accordion was set to |
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.
Awesome, thanks for adjusting!
More small things that I found:
1: "shared with others" and "shared with me" pages
- when you select multiple files, there should only be the
Delete
batch action. Please remove theCopy
andMove
batch actions there.
2: "shared with others" page
- I can't reproduce it, but I had an issue navigating into a folder from the ride sidebar of this page.
3: "shared with me" page
- when I open the right sidebar for a folder that was shared with me without reshare permissions, I still see the "Add people" button in the right sidebar. Same for creating public links. The backend fails correctly, so I get an error message upon sharing. The "All files" page shows a "You don't have permission to share this folder." message instead of the button. We should do the same on the "shared with me" page if possible.
4: we wanted to re-enable a test that was disabled in a recent PR. about scrolling issues when the actions dropdown contained too many actions - in the right sidebar we have scrolling, so that should work again now.
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.
Yeeeees, awesome! 🚀 👍 🥇
Description
Moving resource actions from file list into the sidebar.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Open tasks:
- [ ] Improve styles of buttons- [ ] Adjust testsfolder-open
icon from fontawesome for thenavigate
actionactions
accordion item