andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

ui/Tooltip - basic implementation of tooltip overlay #247

Open Goondrious opened 3 years ago

Goondrious commented 3 years ago

I did a basic implementation for #224 and tried to keep it flexible, since there hadn't been a design discussion yet. I quickly looked at some existing packages, but they didn't seem compatible with the Hoverable/Button implementation.

I'm pretty new to typescript, react native and this project, so I'd be happy to refactor to conform to any standards that I missed.

Screen Shot 2021-11-08 at 5 26 31 PM Screen Shot 2021-11-08 at 5 27 02 PM Screen Shot 2021-11-08 at 5 26 55 PM Screen Shot 2021-11-08 at 5 26 45 PM

Immediate TODOs or improvements would be:

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

andymatuschak commented 3 years ago

(I'm out of town this week but will get back to you next week—thank you!)

Goondrious commented 2 years ago

No worries @andymatuschak , thanks for the response.

My TypeScript experience has just been in passing, though now I've used it more in personal projects. I feel bad that you went through and did some of the basic tidying up, which I had purposefully left assuming that much would change through any design discussion. Sorry if it caused unnecessary effort/stress on your part. Thank you! I'll review your changes, as I'm sure it'll be a good learning experience. I was actually anticipating a blanket, "please fix type/lint errors".

Hoping to go through more specific comments later this week.

Goondrious commented 2 years ago

Apologies, I got caught up with some other work and holidays. Hopefully back to this soon.

Goondrious commented 2 years ago

@andymatuschak base checks pass. Can sort out styling, configurability and anything else. I'm also around for the next few weeks if there are other tasks you'd like help with.