-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: CSP-safe password toggle icon visibility #17
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,8 +19,9 @@ public function testTemplateContainsGracefulIconFallback(): void | |
| $this->assertStringContainsString('icons_available', $content); | ||
| $this->assertStringNotContainsString('ux_icon is defined', $content); | ||
| $this->assertStringNotContainsString('d-none', $content); | ||
| $this->assertStringContainsString('iconHidden.style.display', $content); | ||
| $this->assertStringContainsString("style: 'display: none'", $content); | ||
| $this->assertStringNotContainsString('style.display', $content); | ||
| $this->assertStringNotContainsString("style: 'display: none'", $content); | ||
|
Comment on lines
+22
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Reject all inline The test only excludes the exact Twig string As per path instructions, PHPUnit tests for this package must add or update tests for new behaviour and avoid trivial assertions. 🤖 Prompt for AI AgentsSource: Path instructions |
||
| $this->assertStringContainsString('is-password-visible', $content); | ||
| $this->assertStringContainsString('password-toggle-icon-missing', $content); | ||
| } | ||
| } | ||
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.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Keep a single
Unreleasedsection.docs/UPGRADING.mdalready has another## Unreleasedheading at Line 109. The new section at Line 5 splits current guidance into two locations and makes the upgrade order ambiguous. Merge these bullets into one section or rename the existing future-release section without inventing a version.As per path instructions, preserve document structure and tone, and keep CHANGELOG and UPGRADING aligned.
🤖 Prompt for AI Agents
Source: Path instructions