Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

PIMS-1674: Snack Bar#2388

Merged
GrahamS-Quartech merged 6 commits intomainfrom
PIMS-1674-SnackBar
May 15, 2024
Merged

PIMS-1674: Snack Bar#2388
GrahamS-Quartech merged 6 commits intomainfrom
PIMS-1674-SnackBar

Conversation

@GrahamS-Quartech
Copy link
Contributor

🎯 Summary

PIMS-1674

Can't take too much credit for this, as it's largely borrowed from previous work @dbarkowsky did in the link from the Jira ticket. I've modified it lightly to a bit more generic and compatible with the usage in our project.

I've implemented some basic usage of this context in the user page only. I think that there should be a follow up task to this to improve on the general submission flow, giving us a way to consistently call PUT/POST requests that will expose a loading prop and set the snackbar context depending on the status returned by the response. We can get this snackbar popping up everywhere in that task.

🔰 Checklist

  • I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation where required.
  • I have tested my changes to the best of my ability.
  • My changes generate no new warnings.

@github-actions
Copy link

🚀 Deployment Information

The React APP Image has been built with the tag: 2388. Please make sure to utilize this specific tag when promoting these changes to the TEST and PROD environments during the APP deployment. For more updates please monitor Image Tags Page on Wiki.

Copy link
Collaborator

@dbarkowsky dbarkowsky left a comment

Choose a reason for hiding this comment

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

Working great. I made one change to centralize the styles in the context provider. Just want to keep it consistent when it gets used around the app.

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