Skip to content

IS-11067 Improve curity-ui.js#71

Merged
luisgoncalves merged 1 commit intodevfrom
feature/IS-11067-improve-curity-ui-js
Mar 4, 2026
Merged

IS-11067 Improve curity-ui.js#71
luisgoncalves merged 1 commit intodevfrom
feature/IS-11067-improve-curity-ui-js

Conversation

@luisgoncalves
Copy link
Copy Markdown
Contributor

  • Change varto constor let
  • Remove unused variables
  • Avoid nested functions
  • Fix global $child variable
  • Other minor tweaks

With the help of Claude Code.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes and tidies the Identity Server UI helper script (curity-ui.js) by updating variable declarations, removing unused variables, and refactoring some logic to avoid nested functions and accidental globals.

Changes:

  • Replaced multiple var declarations with const/let and removed unused variables.
  • Refactored password strength calculation helpers into standalone functions and fixed a previously implicit global $child.
  • Simplified a few UI helpers (eg. QR-related code) with minor cleanups.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@luisgoncalves luisgoncalves merged commit a5ce69e into dev Mar 4, 2026
4 checks passed
@luisgoncalves luisgoncalves deleted the feature/IS-11067-improve-curity-ui-js branch March 4, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants