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

Add info button next to each benefit #2010

Merged
merged 24 commits into from
Oct 9, 2024

Conversation

rachel-lawrie
Copy link
Collaborator

@rachel-lawrie rachel-lawrie commented Sep 6, 2024

Description

Fixes #2009
Fixes #2076

These changes correspond with PolicyEngine/policyengine-api#1782 and must be merged alongside it due to a change in a back-end route.

Changes

Adds info button to each benefit.

Screenshots

Screenshot 2024-09-06 at 11 22 11 AM

Tests

Tested locally with various outputs for benefits and taxes.

@rachel-lawrie rachel-lawrie marked this pull request as draft September 6, 2024 18:20
className="explain-ai-button"
onClick={showModal} // Show modal when button is clicked
>
Explain with AI
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Explain with AI
Explain with AI

@anth-volk anth-volk marked this pull request as ready for review October 8, 2024 17:47
@anth-volk anth-volk merged commit 0c5bcc3 into PolicyEngine:master Oct 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
3 participants