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

pra disclosure #216

Merged
merged 4 commits into from
Nov 28, 2023
Merged

pra disclosure #216

merged 4 commits into from
Nov 28, 2023

Conversation

daniel-belcher
Copy link
Collaborator

@daniel-belcher daniel-belcher commented Nov 24, 2023

Purpose

Adds the PRA disclosure and button layout to the bottom of all generated forms. Needs to be confirmed with HDC for verbiage.

Linked Issues to Close

Ticket oy2-26378

Copy link
Collaborator

@benjaminpaige benjaminpaige left a comment

Choose a reason for hiding this comment

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

just a couple comments, ill make a ticket for the "back" button.

<div className="flex justify-between">
<Button variant="link">Save Draft</Button>
<div className="flex flex-row gap-4">
<Button variant="outline">Back</Button>
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is great. we should prob talk to hcd about if they want "back" and if so what it should do

@@ -0,0 +1,36 @@
export const PraDisclosure = () => {
return (
<div className="flex flex-col gap-2 my-6 text-sm text-slate-500">
Copy link
Collaborator

Choose a reason for hiding this comment

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

its kind of a footer, maybe we should make it one?

Copy link
Collaborator Author

@daniel-belcher daniel-belcher Nov 24, 2023

Choose a reason for hiding this comment

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

If we change it to "footer", do you want to move the buttons into it as well?

Or keep those separate to leave possible space for other comps or alerts between the buttons and footer?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm thinking just footer for the semantics and leave the buttons in its own element as it could change

Copy link
Collaborator

@jdinh8124 jdinh8124 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@daniel-belcher daniel-belcher merged commit acd0936 into webforms Nov 28, 2023
3 checks passed
@daniel-belcher daniel-belcher deleted the oy2-26378 branch November 28, 2023 18:51
Copy link
Contributor

🎉 This PR is included in version 1.5.0-val.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants