FixMyBerlin / rsv-dossier

FixMyCity's information website about planning and building cycle highways in Germany
https://radschnellverbindungen.info/
MIT License
4 stars 0 forks source link

Filter nach Bundesland bei RSV liste #92

Closed rush42 closed 1 year ago

rush42 commented 1 year ago

Diese PR ermoeglicht das filtern nach Bundesland. Siehe https://deploy-preview-92--fixmyrsv.netlify.app/steckbriefe/ .

netlify[bot] commented 1 year ago

Deploy Preview for fixmyrsv ready!

Name Link
Latest commit b55e64839ba78ea10e37b0efdd7417212dcc7abc
Latest deploy log https://app.netlify.com/sites/fixmyrsv/deploys/63931aa872de7200090b74e2
Deploy Preview https://deploy-preview-92--fixmyrsv.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

ohrie commented 1 year ago

@rush42 Wie ist der Stand hier? Kann das gemerged werden?

rush42 commented 1 year ago

Sieht sehr gut aus @tordans ! Habe noch zwei kleinigkeiten geaendert:

Eine Kleinigkeit die noch fehlt: wenn man im Filter das ausgewaehlte Bundeslandes erneut klickt, sollte sich die Liste schliessen

rush42 commented 1 year ago

zweite Kleinigkeit: wenn man mit dem cursor nicht genau auf den text klickt, dann passiert nichts

rush42 commented 1 year ago

Update: I could resolve both issues above. Instead of using the <Link> component inside the <Listbox.Option> we now use the Gatsby function navigate inside the onChange callback of the <Listbox> component. This also enables selecting via keyboard which was not working before either.