-
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
Bring new modal component #3378
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. |
a9ae7f5
to
0b53edb
Compare
0b53edb
to
dde11b0
Compare
I added merging the sidebar PR to the list of things to be done in your issue description. Hope you don't mind me editing there. |
Not at all, thank you! |
That is really weird. Happens even in the other dialogs e.g. create |
dde11b0
to
e84a21f
Compare
Should be fixed now. I didn't properly handle going back to default values in the state. |
Requires ODS update after merging owncloud/owncloud-design-system#768 and owncloud/owncloud-design-system#769 |
e84a21f
to
36b4d5c
Compare
Rebased and ODS updated. The cancel which triggered confirm is fixed now. |
36b4d5c
to
1956029
Compare
|
||
let isPopupVisible = false | ||
|
||
/* issue: https://github.com/owncloud/phoenix/issues/1728 |
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.
This issue should be fixed so there is no need for this workaround anymore.
1956029
to
80dfa52
Compare
80dfa52
to
eba6964
Compare
Hmm, there are still two failing tests. Both failing when comparing the content of a file which has been upload by overwriting the original one. Locally those tests pass though. I'll try some more digging in the morning. |
0834ff7
to
df0b004
Compare
df0b004
to
7f2933d
Compare
I cannot figure out why is it failing. The exact same scenario which fails here passes locally. Even tried logging the content of files and it is successfully overwritten. And watching it in VNC viewer also seems that everything is ok, the modal gets displayed and confirmed, the file gets uploaded... |
@individual-it Could maybe someone from your team take a look at why tests are passing locally but not in CI? I'm probably looking at this already too long and am overlooking something obvious 🤢 |
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.
One thing that I was thinking about, is, how we want to center the modal. At the moment it's centered in the viewport. It could be a good idea to center it in the extension content area (meaning, offset by the width of the left sidebar, if it is visible). Open for discussion, should not be part of this PR imo.
@@ -99,8 +70,7 @@ export default { | |||
fileName: '', | |||
selected: [], | |||
breadcrumbs: [], | |||
self: {}, | |||
renameDialogErrorMessage: null | |||
self: {} |
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.
Please also remove self
here. It is unused and should not be part of data
anyway.
? this.$gettext( | ||
'Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.' | ||
) | ||
: this.$gettext('Are you sure you want to delete all selected resources') |
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.
Message misses a question mark at the end
@LukasHirt I think the upload is not successful. see last line of browser log at https://drone.owncloud.com/owncloud/phoenix/9884/25/19
Server log at that timestamp:
PS: phoenix is setup in CI using bridge https://owncloud.github.io/ocis/bridge/, that might be the reason of different behavior in CI and local setup. |
4b31030
to
bcbf5c6
Compare
Related Issue
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Open tasks: