PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
37 stars 99 forks source link

Add hovercard to policy parameter history chart with reference #174

Open MaxGhenis opened 1 year ago

MaxGhenis commented 1 year ago

For example, let's show where this $750 is from

image

https://policyengine.org/us/policy?focus=gov.hhs.medicaid.eligibility.categories.senior_or_disabled.income.limit.individual.CO&region=us&timePeriod=2023&baseline=2

MaxGhenis commented 1 year ago

This would also be a good opportunity to use our new hovercard style for the parameter one. e.g. this could have the reference with a link per the metadata:

image

like this does:

image

cc @zhiyanz

anth-volk commented 8 months ago

@MaxGhenis Could you provide more detail with regards to what you were looking for here?

MaxGhenis commented 8 months ago

parameters have reference metadata with titles and hrefs that we can surface

anth-volk commented 8 months ago

What I mean to say is, when you say "let's show where this $750 is from," do you mean the relevant piece of legislation, something variable-related, or something else?

MaxGhenis commented 8 months ago

What do you mean by variable-related? To start let's add the first reference in the parameter file.

anth-volk commented 8 months ago

I meant perhaps something computation-related, but I get what you're looking for now.