sunrisemvmtnyc / legislation-tracker

Easy, intuitive legislation tracker made by the Sunrise Digital Tools team
0 stars 1 forks source link

Feature/connect legislator + bill status filters to bills fetch #32

Closed derekmiranda closed 4 months ago

derekmiranda commented 5 months ago

have a rough implementation of applying the elasticsearch term to the bills API call

though could use help in refining how to format the term since the search either returns every bill as if there were no filters, or no bills

derekmiranda commented 5 months ago

though could use help in refining how to format the term since the search either returns every bill as if there were no filters, or no bills

"legislator name" works out-of-the-box for me, and I made a suggested change to fix "bill status"

Some addtl requests:

The filter background should be darker if option is selected. It's hard to tell if multiple are selected - we can ask for design, or you can do.

Can you install prettier so this is formatted like everything else?

In my workspace settings:

    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true,
    },

@elliott-king i've got the selected MenuItem darkened in another PR comin up so just wanted to check if this PR is good to go