Skip to content
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

Move the cancel button to the right in facility inventory add page! #6623

Merged
merged 4 commits into from
Nov 21, 2023

Conversation

AshrafMd-1
Copy link
Contributor

@AshrafMd-1 AshrafMd-1 commented Nov 15, 2023

WHAT

🤖 Generated by Copilot at 3ae62fc

This pull request improves the functionality and appearance of the AddInventoryForm component. It uses the useFacility hook to get the current facility id and adjusts the button layout to match the design.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at 3ae62fc

  • Import the useFacility hook to access the selected facility state and dispatch actions (link)
  • Add a new state variable facilityId and assign it the value of the selected facility id from the useFacility hook (link)
  • Modify the CSS class of the div that contains the cancel and submit buttons to align them to the end of the flex container in AddInventoryForm.tsx (link)

@AshrafMd-1 AshrafMd-1 requested a review from a team November 15, 2023 09:22
@AshrafMd-1 AshrafMd-1 requested a review from a team as a code owner November 15, 2023 09:22
Copy link

vercel bot commented Nov 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2023 2:23pm

Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 15da527
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/655625cb0c8c260008d4277d
😎 Deploy Preview https://deploy-preview-6623--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 92208a1 into coronasafe:develop Nov 21, 2023
34 of 36 checks passed
@AshrafMd-1 AshrafMd-1 deleted the Fix-#6613 branch November 21, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the cancel button to the right in facility inventory add page
4 participants