Uh oh!
There was an error while loading. Please reload this page.
Bump @nextcloud/vue to 6.0.0-beta.4 and related - #33516
Conversation
PVince81
commented
Aug 12, 2022
Issue: Broken action menusSteps to reproduce
Expected:Menus still working. Actual:Menus not opening any more, no errors in console. Notes:When opening any other menu and picking an action, like rename files, it doesn't break the other menus. The other sharing actions that change the checkbox don't cause trouble. |
PVince81
commented
Aug 12, 2022
it's likely a logic issue of sorts. |
PVince81
commented
Aug 12, 2022
the menu item closes the actions popup by setting if I comment it out the dropdown still closes and the bug persists, so there's something else at play |
PVince81
commented
Aug 12, 2022
even the "new" menu for creating folders doesn't open any more after that aha, and tabbing also doesn't work any more, so perhaps it's the focus trap that is not disabled properly ?! @vinicius73 |
I've compared with master where we are on nextcloud-vue 5.4.0 and the problem doesn't appear, probably because we don't have the focus trap so:
|
raimund-schluessler
commented
Aug 12, 2022
I don't know enough about the server code to answer this really, but |
PVince81
commented
Aug 12, 2022
the focus trap is supposed to deactivated when the popover's "isShown" property becomes false: https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/Popover/Popover.vue#L138 maybe that specific dropdown is bypassing this somehow, will need to dig into the sharing code to find out |
vinicius73
commented
Aug 12, 2022
Probably yes |
|
ChristophWurst
commented
Aug 22, 2022
Then this PR will fix #33637 |
|
another challenge:
ERROR in ./node_modules/@nextcloud/calendar-availability-vue/lib/index.esm.js 1:0-75 |
PVince81
commented
Aug 22, 2022
weird, even with |
raimund-schluessler
commented
Aug 22, 2022
PVince81
commented
Aug 22, 2022
yeah, I missed a thing... nextcloud/calendar-availability-vue#26 |
PVince81
commented
Aug 22, 2022
rebasing, re-updating, recompiling, etc etc etc... stay tuned |
793bbb9 to
f100b95ComparePVince81
commented
Aug 22, 2022
okay, pushed again. I haven't tested anything, we should retest again! |
f100b95 to
1732716ComparePVince81
commented
Aug 24, 2022
I fixed some XPaths, there might be more... |
9905889 to
6bf6e0bComparePVince81
commented
Aug 24, 2022
rebased to solve the conflict |
PVince81
commented
Aug 24, 2022
@ChristophWurst I found it: it seems the password dialog is an old style oc-dialog, which is why the focus trap is not moving: https://github.com/nextcloud/server/blob/update-nextcloud-vue-6.0.0-beta.2/core/src/OC/password-confirmation.js#L90 we'd need to port that dialog to Vue then to make it work, or have a way to manually pause the focus trap |
PVince81
commented
Aug 24, 2022
PVince81
commented
Aug 24, 2022
this means that if we have other flows where two dialogs appear and the first one is a nextcloud-vue Dialog and the second one an old style dialog, it might fail as well. @juliushaertl I suggest you test the file picker in the text app as this might be exactly this kind of scenario. |
PVince81
commented
Aug 24, 2022
seems I made it worse :-( |
6bf6e0b to
36e14bfComparePVince81
commented
Aug 24, 2022
ok, I made the test selector more generic and it worked for the "Recent" section, let's hope it works for everything now |
PVince81
commented
Aug 24, 2022
more stuff to fix...
|
5e4ba53 to
98d489fComparePVince81
commented
Aug 24, 2022
more selectors fixed... |
Update @nextcloud/vue to 6.0.0-beta.3 Update vue and vue-template-compiler to 2.7.8 Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
98d489f to
ede9ac2ComparePVince81
commented
Aug 25, 2022
more tests fixed ⛰️ |
PVince81
commented
Aug 25, 2022
failing tests unrelated, the acceptance one passes for me so it must be one of the random ones... merging |
Update @nextcloud/vue to 6.0.0-beta.3Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.