Skip to content

OBPIH-7551 prevent multiple submits on record stock#5578

Merged
alannadolny merged 1 commit intodevelopfrom
bug/OBPIH-7551-prevent-rs-double-click
Oct 30, 2025
Merged

OBPIH-7551 prevent multiple submits on record stock#5578
alannadolny merged 1 commit intodevelopfrom
bug/OBPIH-7551-prevent-rs-double-click

Conversation

@ewaterman
Copy link
Member

✨ Description of Change

Link to GitHub issue or Jira ticket: https://pihemr.atlassian.net/browse/OBPIH-7551

Description: Disable the submit button on record stock once it has been clicked once so that we don't send multiple requests. We should probably handle this on the backend as well, but that's much more complicated and we're trying to wrap up the next release so this is fine for now.

@ewaterman ewaterman self-assigned this Oct 29, 2025
@github-actions github-actions bot added type: bug Addresses unintended behaviours of the app domain: frontend Changes or discussions relating to the frontend UI labels Oct 29, 2025
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 8.53%. Comparing base (1bb7314) to head (1a3f3bf).
⚠️ Report is 168 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##             develop   #5578      +/-   ##
============================================
- Coverage       9.12%   8.53%   -0.60%     
+ Complexity      1170    1115      -55     
============================================
  Files            701     707       +6     
  Lines          45281   45448     +167     
  Branches       10851   10885      +34     
============================================
- Hits            4131    3877     -254     
- Misses         40497   40993     +496     
+ Partials         653     578      -75     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alannadolny alannadolny merged commit 61020ea into develop Oct 30, 2025
7 checks passed
@alannadolny alannadolny deleted the bug/OBPIH-7551-prevent-rs-double-click branch October 30, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI type: bug Addresses unintended behaviours of the app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants