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

manifest Floating Action Buttons (FAB) #664

Merged

Conversation

dpgraham4401
Copy link
Member

Description

This long standing branch updates the back end Manifest save method to update one-to-many related model instances (transporters and waste lines) and implements the UI logic to present the user with the appropriate buttons on the manifest form, namely in the form of a floating action button. There also some various polishing and UI fixes for the demo I gave today.

Issue ticket number and link

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

…ious components

ManifestCancelBtn, ManifestEditBtn, and ManifestSaveBtn
A new component that presents a floating action button (generally following the guidelines in the Material Design 3's specs). The component is flexible enough that it can accept another button component and turns it into a floating action button (the button to be passed must implement/extend the interface used by react-bootstrap's Button component)
…r updating

a draft manifest, add updateManifest (patch) method to RTK query builder
…-to-many models (instead of just create) such as waste lines and transporters
…ding...

use TrakBaseSerializer for removing null fields before sending to RCRAInfo for additional Info serializer

Add a new Group called Org Admin that has permission to see all haztrak specific model instances

sidebar html structure fixes

misc aria fixes

update HtSpinner props to allow for automatic centering

adjust logic for manifest Floating Action Buttons
@github-actions github-actions bot added client Related to front end workings (React/Redux) database changes that require modification to the database schema server Related to backend workings (Django/Rest API) test Unit tests are, or need to be, included labels Dec 15, 2023
@dpgraham4401 dpgraham4401 merged commit 8e168ba into USEPA:main Dec 15, 2023
7 checks passed
@dpgraham4401 dpgraham4401 deleted the update_manifest_ui_implementation branch December 15, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Related to front end workings (React/Redux) database changes that require modification to the database schema server Related to backend workings (Django/Rest API) test Unit tests are, or need to be, included
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant