Skip to content

Conversation

@Pytal
Copy link
Member

@Pytal Pytal commented Sep 13, 2022

Without this the focus would remain on the previously opened modal and prevent confirmation of your password

Also improves accessibility

Steps

  1. Open user management page
  2. Create a new user with the modal
  3. Confirm your password

The appendChild console error can be ignored and is fixed upstream in nextcloud-libraries/nextcloud-vue#3219

@Pytal Pytal added this to the Nextcloud 25 milestone Sep 13, 2022
@Pytal Pytal requested review from a team, CarlSchwan, ChristophWurst and PVince81 September 13, 2022 02:44
@Pytal Pytal self-assigned this Sep 13, 2022
@Pytal Pytal mentioned this pull request Sep 13, 2022
@Pytal Pytal changed the title Fix unresponsive legacy password confirmation dialog when another modal is open with dialog in Vue Fix unresponsive legacy password confirmation dialog when another modal is open with new dialog in Vue Sep 13, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81
Copy link
Member

error    Unable to resolve path to module '@nextcloud/password-confirmation/style.css'

@PVince81
Copy link
Member

I'll investigate the issue

@PVince81
Copy link
Member

very strange, compilation actually works and the dialog also works
it's only eslint that doesn't seem to be able to load the password-confirmation lib

@PVince81
Copy link
Member

possibly https://stackoverflow.com/q/67648680

I also didn't find any other place where we'd be importing css modules from a non-local module.
Not sure if we should change it to require() now or something else.

@Pytal
Copy link
Member Author

Pytal commented Sep 13, 2022

Analysis and upstream fix in nextcloud-libraries/nextcloud-password-confirmation#393

Pending next package release to resolve all errors

@Pytal Pytal added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 13, 2022
@Pytal Pytal force-pushed the fix/password-confirmation branch from 8e8ebfc to 26535e4 Compare September 14, 2022 17:23
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Sep 14, 2022
@Pytal Pytal merged commit bd03c79 into master Sep 14, 2022
@Pytal Pytal deleted the fix/password-confirmation branch September 14, 2022 19:54
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish accessibility bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants