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

Fix custom baseline MTR charts #631

Merged
merged 1 commit into from
Aug 2, 2023

Fix #631

6b859a8
Select commit
Loading
Failed to load commit list.
Merged

Fix custom baseline MTR charts #631

Fix #631
6b859a8
Select commit
Loading
Failed to load commit list.
Deleted GitHub App / Copilot for PRs succeeded Aug 2, 2023 in 27s

Analysis complete

Summary

Updated MarginalTaxRatesChart to use policy data from usePolicyEngine hook. This enables the chart to show how the baseline policy affects marginal tax rates.

Walkthrough

  • Pass baseline policy data to MarginalTaxRatesChart component as a prop (link)
  • Remove empty line for code readability (link)

Poem

We use the usePolicyEngine hook
To unleash the power of the policy prop
We calculate the marginal tax rates
And chart the doom of the wealthy fates

Emoji

🎣📊📋

Include these descriptions in your pull request description by including the following marker tags:

  • copilot:all: all the content, in one go
  • copilot:summary: a one paragraph summary of the code changes
  • copilot:walkthrough: a step by step walkthrough of the code changes
  • copilot:poem: a poem about the code changes!
  • copilot:emoji: three emoji that capture the changes

Feedback is welcome. Simply add a comment to this PR of the form /copilot feedback [your comments here].

Details

Copilot for PRs is a limited technical preview from GitHub Next.

It's aim is to make it easier to write pull request descriptions by providing automatically generated suggestions based on the code changes.

To find out more go to https://githubnext.com/projects/copilot-for-pull-requests or come and chat with us on Discord

Progress:

File Status Duration
Summary & Walkthrough ✅ Finished 18.3 seconds
src/pages/household/output/MarginalTaxRates.jsx ✅ Finished 10.4 seconds