Skip to content

Conversation

@dlpx-akashpandey
Copy link

Login Screen Changes after Swagger UI usability fixes done under https://delphix.atlassian.net/browse/DLPX-83733

Problem:

The Query selector for API Key input was written in a generic way. It was picking the username filed in the new implementation. As a result, API Key was submitted as the username on the new screen.

Solution:

Added the required qualifier to pick the exact input box.

Testing

  • Checkout branch locally and Upload "extension/chrome" directory.
  • Open a new swagger-ui screen [available on 6.0/stage branch]
  • Try out the login functionality

Copy link
Collaborator

@anilkumar-delphix anilkumar-delphix left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this issue.


var authSuccess = function(data) {
var api_key_input = document.getElementsByTagName('input')[0];
var api_key_input = document.querySelector('input[name="value"]');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please upgrade the version and update the version information in README.md file? So that 6.0.16 can use the current version and 6.0.17+ will use your changes.

You can take a reference from https://github.com/delphix/Delphix-Masking-API-Client-Extension/pull/3/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants