Skip to content

Update remove hr row behaviour#209

Merged
Kariamos merged 2 commits into
developfrom
update-remove-hr-row-behaviour
Dec 10, 2025
Merged

Update remove hr row behaviour#209
Kariamos merged 2 commits into
developfrom
update-remove-hr-row-behaviour

Conversation

@Kariamos
Copy link
Copy Markdown
Contributor

This pull request introduces changes to the Human Resources section of the campaign quote flow, specifically to improve how new, unsaved items are handled in the UI. The main focus is on tracking whether an item has been saved and updating the removal logic for these items.

Handling of unsaved items:

  • Added a notSaved property to both the form item type in FormProvider.tsx and the RateOption type in index.tsx, allowing the UI to distinguish between saved and unsaved items. [1] [2]

User interaction improvements:

  • Updated the logic for the delete button so that clicking it immediately removes unsaved items, while saved items prompt a confirmation before removal.
  • Modified the "Add" button to ensure new items are marked as unsaved by default, improving clarity and consistency in user experience.

@Kariamos Kariamos merged commit 7b43842 into develop Dec 10, 2025
3 of 4 checks passed
@Kariamos Kariamos deleted the update-remove-hr-row-behaviour branch December 11, 2025 09:09
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