hoogle_plus icon indicating copy to clipboard operation
hoogle_plus copied to clipboard

web todo: show tooltips for code

Open michaelbjames opened this issue 5 years ago • 2 comments

Currently I assume the candidate code will come as a string, but Zheng and I agreed we'll send some kind of AST with type annotation for creating tooltips. I need to make some kind of code component that, given an annotated AST (in JS of course), will produce a DOM node with code and type tooltip highlights.

This doesn't rely on Redux, it's just about using React.

michaelbjames avatar Feb 25 '20 07:02 michaelbjames

I should have something we can cannibalize for that lying around. I'll dig it up.

peleghila avatar Feb 25 '20 08:02 peleghila

Eh, good enough for now? https://github.com/davidmrdavid/hoogle_plus/pull/110

michaelbjames avatar Mar 23 '20 20:03 michaelbjames