Skip to content

Conversation

mprins
Copy link
Contributor

@mprins mprins commented Oct 3, 2025

HTM-1651 Powered by Pull Request Badge

requires Tailormap/tailormap-api#1373 (so the link won't show up until that is merged)

@mprins mprins self-assigned this Oct 3, 2025
@mprins mprins added the enhancement New feature or request label Oct 3, 2025
@mprins mprins changed the title HTM-1651: handle the enablePasswordReset from the API HTM-1651: handle the enablePasswordReset option from the API Oct 3, 2025
Copy link

github-actions bot commented Oct 3, 2025

Test Results

  1 files  ±0  210 suites  ±0   8m 38s ⏱️ -5s
526 tests ±0  526 ✅ ±0  0 💤 ±0  0 ❌ ±0 
610 runs  ±0  610 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 98f1d50. ± Comparison against base commit e33fadb.

♻️ This comment has been updated with latest results.

@mprins mprins force-pushed the HTM-1651_option_to_disable_password_reset branch from 0df13e8 to 4fd584b Compare October 3, 2025 15:16
@mprins mprins marked this pull request as ready for review October 3, 2025 15:26
@mprins mprins requested a review from Copilot October 3, 2025 15:27
Copy link
Contributor

@Copilot 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 implements support for the enablePasswordReset option from the API to conditionally show a "Forgot your password?" link in the login form. The implementation adds the necessary configuration handling, UI components, and internationalization support.

  • Added enablePasswordReset property to the login configuration model and component
  • Implemented conditional display of password reset link in the login form
  • Added internationalization support for the "Forgot your password?" text in English, Dutch, and German

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
projects/api/src/lib/models/login-configuration.model.ts Added enablePasswordReset boolean property to the login configuration interface
projects/api/src/lib/mock-data/tailormap-api.mock-data.ts Updated mock data to include default enablePasswordReset: true
projects/core/src/lib/pages/login/login-form/login-form.component.ts Added property handling and placeholder method for password reset functionality
projects/core/src/lib/pages/login/login-form/login-form.component.html Added conditional password reset link display and improved boolean check
projects/core/src/lib/pages/login/login-form/login-form.component.css Added styling for password reset link container
projects/shared/assets/locale/messages.shared.*.xlf Added translations for "Forgot your password?" in English, Dutch, and German

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mprins mprins force-pushed the HTM-1651_option_to_disable_password_reset branch from 4fd584b to 98f1d50 Compare October 3, 2025 15:38
@mprins mprins merged commit 2432103 into main Oct 6, 2025
13 checks passed
@mprins mprins deleted the HTM-1651_option_to_disable_password_reset branch October 6, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant