unisonweb / elm-browser

A Unison Github repo explorer in Elm
MIT License
34 stars 4 forks source link

Track which term the user is hovering over #23

Closed nicklawls closed 4 years ago

nicklawls commented 4 years ago

This just adds the necessary UI state and messages to update it, and leaves a stub in the view where you'll dig through the codebase to get the actual names. That last step seemed rather involved, I figured one of you could do it way faster than I could.

nicklawls commented 4 years ago

Also couldn't resist some refactoring :)

Adding a new state field to the UI was breaking those update function branches, so I switched them to record update syntax to avoid that problem in the future