Skip to content

Comments

ALCS-2455: Allow editing resolution numbers#2237

Merged
trslater merged 13 commits intodevelopfrom
feature/ALCS-2455
Mar 18, 2025
Merged

ALCS-2455: Allow editing resolution numbers#2237
trslater merged 13 commits intodevelopfrom
feature/ALCS-2455

Conversation

@trslater
Copy link
Collaborator

  • Had to update shared inline number component:
    • Add option to hide buttons, so component can be controlled by parent
    • Add option to disable thousands separator, since this doesn't make sense for resolution numbers
    • Add ability to set async validators
    • Use number type internally
      • The component used strings, but the internal Angular component used numbers, so the value was changing from string to number while typing
  • Make resolution number editable:
    • Add inline editing component
    • Modify the way decision/pos-decision observables work to avoid flashes of old value
    • Add buttons to control inline editing component
    • Hack to position error messages
    • Created a new backend/frontend services/controller for checking if a resolution number exists
    • Add an async validator to check for existing resolution numbers on change

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
53.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link
Contributor

@Abradat Abradat left a comment

Choose a reason for hiding this comment

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

LGTM!

@trslater trslater merged commit d731682 into develop Mar 18, 2025
7 of 8 checks passed
@trslater trslater deleted the feature/ALCS-2455 branch March 18, 2025 19:14
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.

2 participants